Shadowbox.js and dailymotion videos

Posted by Greenie on Stack Overflow See other posts from Stack Overflow or by Greenie
Published on 2010-05-10T11:59:40Z Indexed on 2010/05/10 12:04 UTC
Read the original article Hit count: 354

Hi there.

I have a site set up with some thumbs and links to videos hosted on vimeo. I show them in a overlay using shadowbox.js. This works perfect.

Now I want to add a video hosted on dailymotion, but it doesn't work.

The working link to vimeo video:

<a rel="shadowbox;height=636;width=956" href="http://vimeo.com/moogaloop.swf?clip_id=11377863&server=vimeo.com&show_title=1&show_byline=1&show_portrait=1&color=00ADEF&fullscreen=1" class="player_text">thumbnail here</a>

The non working link to dailymotion video:

<a rel="shadowbox;height=636;width=956" href="http://www.dailymotion.com/swf/xd6g8y?related=0&autoplay=1" class="player_text">thumbnail here</a>

When the href is pasted in a browser, both links work fine. Both are played in a swf as far as I can see. So I can't see why shadowbox won't show it. Unless its a permission problem on the dailymotion video.

Anyone know what I'm doing wrong?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about shadowbox