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

sql - Find last match with latest inserted name in table -

c# - XML serialize base class without knowing derived class -

ios - Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc? -