I am confused. The Youtube Iframe API with the standard example: https://developers.google.com/youtube/iframe_api_reference?hl=de always used to work for my mobile devices and does not work anymore now..
I´ve tried this fiddle: http://jsfiddle.net/77PJB/3/
<div id="player"></div> var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); var player; function onYouTubeIframeAPIReady() { player = new YT.Player('player', { height: '250', width: '444', videoId: 'M7lc1UVf-VE', events: { 'onReady': onPlayerReady } }); } function onPlayerReady(event) { event.target.playVideo(); } with the iPad,iPhone and Samsung galaxy nexus. The video does not play.. Did something change?
Thank you