Safari pops up windows to set Vimeo cookies

's Avatar

jeremyschulz

13 Mar, 2012 04:17 PM

Hi Brett,

I love Marked, but I'm having an issue when I include Vimeo embeds in my Markdown files. Here's a sample embed:

 <iframe src="http://player.vimeo.com/video/7809605" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>

Vimeo apparently tries to set a cookie each time Marked renders its view, and each time it triggers a popup (or re-triggers the same popup) in Safari.

Can Marked get access to Safari's cookies? (My guess is no.)
Or can Marked be extended to handle cookies? (Sounds like a big feature.)

Any advice?

Thanks for your time,

—Jeremy Schulz
www.autoisevil.com

  1. 1 Posted by Jeremy Schulz on 13 Mar, 2012 04:20 PM

    Jeremy Schulz's Avatar

    Sorry, I'm not sure if my email address was entered correctly on the first post — Corrected here.

  2. Support Staff 2 Posted by Brett on 13 Mar, 2012 04:24 PM

    Brett's Avatar

    I believe this is fixed for the next version. If we're looking at the
    same problem, it's not so much about the cookie or the popup as it is
    about Marked handling external links. I've relaxed Marked's
    restrictions on external content for the next version, and have been
    able to load Vimeo issues on refresh without opening Safari. Hopefully
    that solves the issue, (and I'll do some more testing before release).
    If not, I'll look into allowing Marked to handle its own cookies while
    suppressing popups.

  3. 3 Posted by Jeremy Schulz on 13 Mar, 2012 04:28 PM

    Jeremy Schulz's Avatar

    Excellent news. Thanks again.

  4. Brett closed this discussion on 19 Mar, 2012 10:42 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac