html - iframe does not work on iPhone when the webpage is saved to homepage -


I have a video player on the webpage using IFrame and Javascript (parts of the code shown below). With iOS 8, everything works on my laptop and Safari on the iPad. However, if I add a home page to the homescreen and open the webpage from the homescreen, the video will not load. I have created a quick JSBN with everything and this home screen. Works on iOS 8, so it should not be a problem with code. Is there something different that Safari does when the link from the homepage is opened?

  and iframe class = "youtube-player" type = "text / html" width = "320" height = "192" id = "YouTubePlayer" & Gt; & Lt; / Iframe & gt;  

javscript:

  url = 'http://www.youtube.com/embed/5JJ983bxFGU'; $ ('# YouTubePlayer') Attr ({src: url})  


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -