Embedded YouTube Videos Not working on Mobile
-
Hi,
I have recently been told that all my embeded videos don’t work on mobiles. After double checking it appears to be true. I have used a plugin for ages to embed videos cleanly but after browsing the world wide web I’ve found a range of people with the same problem but the fixes I’ve attempted do not work.I’ve tried the following:
Using standard youtube embed code – FAIL!
Embedded with different code.. = FAIL!
<object width=”560″ height=”315″>
<param name=”movie” value=”https://www.youtube.com/embed/lw43w6aQL3g”/>
<param name=”allowFullScreen” value=”true”/>
<param name=”allowscriptaccess” value=”always”/>
<embed width=”560″ height=”315″ src=”https://www.youtube.com/embed/lw43w6aQL3g” class=”youtube-player” type=”text/html” allowscriptaccess=”always” allowfullscreen=”true”/>
</object>Added .videocontainter code to styles.css and embedded as follows:
<div class=”video-container”>
<iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/lw43w6aQL3g” frameborder=”0″ allowfullscreen></iframe>
</div> = FAIL!So i’ve tried multiple ways and can’t get a fix, is anyone else having the same issue? Or managed to resolve?
PLEASE HELP
- The topic ‘Embedded YouTube Videos Not working on Mobile’ is closed to new replies.