简体   繁体   English

Shadowbox.js和Dailymotion视频

[英]Shadowbox.js and dailymotion videos

I have a site set up with some thumbs and links to videos hosted on vimeo. 我的网站设置了一些经验,并链接到vimeo上托管的视频。 I show them in a overlay using shadowbox.js. 我使用shadowbox.js在叠加层中显示它们。 This works perfect. 这完美。

Now I want to add a video hosted on dailymotion, but it doesn't work. 现在,我想添加一个以dailymotion托管的视频,但是它不起作用。

The working link to vimeo video: vimeo视频的工作链接:

<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: 无法连接到Dailymotion视频的链接:

<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. 将href粘贴到浏览器中时,两个链接都可以正常工作。 Both are played in a swf as far as I can see. 据我所知,两者都以瑞士法郎播放。 So I can't see why shadowbox won't show it. 所以我看不到为什么Shadowbox无法显示它。 Unless its a permission problem on the dailymotion video. 除非其在Dailymotion视频上存在许可问题。

Anyone know what I'm doing wrong? 有人知道我在做什么错吗?

Doh! h! For others having similar issues... Maybe you downloaded a custom shadowbox build that dont support the format you're trying to embed :P Try getting the full verion of shadowbox. 对于其他有类似问题的人...也许您下载了不支持您尝试嵌入的格式的自定义阴影框版本:P尝试获取完整版本的阴影框。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM