The youtube video is not loading in the my local webpage

≯℡__Kan透↙ 提交于 2019-12-14 03:17:44

问题


I have taken the following iframe code for the youtube video from the youtube itself.

<iframe width=”560? height=”315? src=”http://www.youtube.com/embed/V3oJR5IAMxM” frameborder=”0? allowfullscreen></iframe>

But when i try to embed this video on simple web-page inside a div element. I can see the you-tube player in the web page.But the video is not loading in my webpage. But the same video is playing for me in youtube.

Can someone tell what might be the problem,..

Is the problem with a code or with the browser, i am using mozilla 13.


回答1:


HiTbmBizz,

Try this instead,

<iframe width="640" height="360" src="http://www.youtube.com/embed/V3oJR5IAMxM?feature=player_embedded" frameborder="0" allowfullscreen></iframe>

Worked for me in HTMLSandbox if you want to test.

Let me know how it goes.



来源:https://stackoverflow.com/questions/11305441/the-youtube-video-is-not-loading-in-the-my-local-webpage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!