![](https://secure.gravatar.com/avatar/64b110f4bb6a62c6a757bea75576c272?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Youtube Videos
Hello there,
For the past 4 days for some reason youtube videos will not play in mobile devices, on desktops everything is in order. The player loads the video correctly but the video wont start. After a while a message telling if the playback takes to long please reboot your devices comes up. Tested with minimum player setup configuration on Samsung galaxy devices and i phone. They strange thing is that despite the fact that the video is loaded on a mobile device if auto start is set to true the player tries to auto play the video. The code i use is this.
<div id="myElement">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: "https://youtu.be/YE7VzlLtp-4",
width: 640,
height: 360
});
</script>
Tested on a clean page with only the library call on the head and the above code in the body. I don’t know if it has something to do with the fact I am using an ssl certificate.