开发者

embed youtube video + noscript?

开发者 https://www.devze.com 2023-02-20 08:52 出处:网络
I\'m trying to embed a YouTube video in a <noscript> section of my page. Basically, it\'s a video showing the user what he misses out on.

I'm trying to embed a YouTube video in a <noscript> section of my page. Basically, it's a video showing the user what he misses out on.

For some reason though it just doesn't wor开发者_如何学Pythonk. All I see is a black rectangle with nothing inside. This happens both in firefox and IE.

Another strange thing is that if I actually go to youtube.com, all videos seem to work just fine.

So why doesn't this work? Is there a way around it?


Solved - If you choose to use "Old embed code" than the embeded object doesn't use JavaScript.
It also uses the old style player, which kinda sucks.

0

精彩评论

暂无评论...
验证码 换一张
取 消