Why doesn't FireFox display my YouTube videos?
In the past, my website, thelakewaytutor.com , would display a You Tube video that I made. Now, FireFox will not display the video.
Chrome will display the video.
What type of update did I install that now prevents FireFox from displaying my video?
The support team can go to my website, look at the source code and see what the error is.
In the past, my website, thelakewaytutor.com , would display a You Tube video that I made.
Now, FireFox will not display the video.
Chrome will display the video.
What type of update did I install that now prevents FireFox from displaying my video?
The support team can go to my website, look at the source code and see what the error is.
Valitud lahendus
I can see the video, however it's old, outdated code of embedding it with flash.
Instead
<object width="425" height="349"> <param name="movie" value="http://www.youtube.com/v/9jhOkRgApO0?version=2&hl=en_US&rel=0"></param> <param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param> <embed src="http://www.youtube.com/v/9jhOkRgApO0?version=2&hl=en_US&rel=0" type="application/x-shockwave-flash" width="425" height="349" allowscriptaccess="always" allowfullscreen="true"></embed> </object>
you should use:
<iframe width="425" height="349" src="https://www.youtube.com/embed/9jhOkRgApO0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>Loe vastust kontekstis 👍 0
All Replies (1)
Valitud lahendus
I can see the video, however it's old, outdated code of embedding it with flash.
Instead
<object width="425" height="349"> <param name="movie" value="http://www.youtube.com/v/9jhOkRgApO0?version=2&hl=en_US&rel=0"></param> <param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param> <embed src="http://www.youtube.com/v/9jhOkRgApO0?version=2&hl=en_US&rel=0" type="application/x-shockwave-flash" width="425" height="349" allowscriptaccess="always" allowfullscreen="true"></embed> </object>
you should use:
<iframe width="425" height="349" src="https://www.youtube.com/embed/9jhOkRgApO0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>