Iframe question...

Discussion in 'iOS 9' started by Perenista, Oct 12, 2015.

  1. Perenista

    Perenista
    Expand Collapse
    iPF Novice

    Joined:
    Mar 12, 2013
    Messages:
    36
    Thanks Received:
    4
    Sorry if this is the wrong place to pose this question, anyway I appreciate your input on this...

    I uploaded a video to Google Drive;
    Created a blog in Blogspot;

    Then I inserted a code like this in one of my blog posts:

    Code:
    <iframe width="560" height="315" src="https://drive.google.com/file/d/846584654387634856344545/preview" frameborder="0" allowfullscreen="true"></iframe>
    1) When using my PC, I can go to fullscreen and select the video quality/subtitles (another button);

    2) When using Safari for iPAD, I can see the video quality/subtitles button, but can't go to fullscreen;

    3) >>>>> When using Mercury Browser for iPAD with user-agent "Safari (iPhone Mobile)", I can't see/use the video quality/subtitles button, but now I am able to go fullscreen;

    4) >>>>> Google Drive's app from Applestore can't use the video quality/subtitles button, but is also able to go fullscreen;

    5) >>>>>>> Puffin browser (app from Applestore) is able to use the video quality/subtitles button and go fullscreen. However I stopped using for good, for 2 reasons:

    - Video takes a lot of time to load. In Safari, it takes a couple of seconds. Using Puffin, over 10. Don't know why, but it looks like it's either my iPAD that is slow (4th gen, last iOS), or this is to be expected;

    - Even when the video is playing, it looks like playback is stuttering. I mean, not running smoothly, as the same browser does in the Youtube website. BTW, Puffin supports Flash, but until recently, this functionality was paid and lasted only a short time;

    **********

    My question is: why 2) is happening? Can it be fixed by using another CODE in my personal blog/website or I need to wait for future iOS updates? This is a major letdown.
     
    #1 Perenista, Oct 12, 2015
    Last edited: Oct 12, 2015
  2. hoben02

    hoben02
    Expand Collapse
    iPF Novice

    Joined:
    Mar 5, 2011
    Messages:
    30
    Thanks Received:
    3
  3. twerppoet

    twerppoet
    Expand Collapse
    iPad Legend II

    Joined:
    Jan 8, 2011
    Messages:
    20,286
    Thanks Received:
    5,822
    Since many sites can go full screen video in Safari on the iPad, I can only guess that it has something to do with Blogspot's video service. Not a help, I know; but you might find a better answer in their support forums. Perhaps a better chunk of code to use to insert videos.

    As for Puffin, it can be (and often is) slow because it routes websites through a browser on a remote server, then re-serves the content to your iPad. Besides the extra steps, if their servers are loaded down things get even slower.

    They do this because Puffin's primary feature is the ability to show Flash sites and content. There is no support for Flash on the iPad, so using a remote browser with Flash support is just about the only way to get around the limitation.

    For what they do, they are the best; but there are no 'excellent' Flash work arounds for iPads.
     
  4. Perenista

    Perenista
    Expand Collapse
    iPF Novice

    Joined:
    Mar 12, 2013
    Messages:
    36
    Thanks Received:
    4
    This is not happening due to Blogspot, I am glad you asked. I tried the same code in another server, this time a index.htm page, and failed again to go to fullscreen. I hosted in 000webhost.

    I know there is no support for Flash on iPAD, however this is a little more complicated than that. You can watch the video on Safari, so it's not using only FLASH, and you can adjust resolution and subtitles. However you can't go fullscreen.

    Here's the warning saying FULLSCREEN IS NOT SUPPORTED BY YOUR BROWSER (in portuguese: "seu navegador não tem suporte para tela-cheia"):
    http://postimg.org/image/4dnqss5l3/

    I took the above snapshot from Safari. If it were Flash only, Safari would have hidden the entire player from that page.

    I hope there's a workaround for this, maybe another CODE instead of this IFRAME one I posted. If not, this is really a sad development of things...
     
  5. twerppoet

    twerppoet
    Expand Collapse
    iPad Legend II

    Joined:
    Jan 8, 2011
    Messages:
    20,286
    Thanks Received:
    5,822
    I wasn't trying to imply that the problem was due to Flash; only explain why Puffin was so slow. While it was not your primary question, you did say you didn't know why it was so slow in Puffin. Puffin is slow because of the way it works, and it works that way because it supports Flash.

    I did understand that the problem was that the video was not playing in full screen. Since Safari does play full screen video from some sites, then the problem is that however you are embedding full screen (there is more than one way) is not supported in Safari. The first, logical, place to look was the site itself. Since that's not the problem then it must be something else.

    Looking closer, I see you are hosting the video from Google Drive. So my next guess is that whatever video streaming service Google Drive uses has compatibility problems with Safari. Remember this is a guess. I'm just following a chain of possibilities, hoping we'll eventually discover the culprit; and hopefully find a way around the issue along the way.

    I have Google Drive, so I'll do a little experimenting and see if I can stream video directly, and whether I can use full screen in the app, and/or in Safari from there. It will take a bit. First I need to find and upload a test video.
     
  6. Perenista

    Perenista
    Expand Collapse
    iPF Novice

    Joined:
    Mar 12, 2013
    Messages:
    36
    Thanks Received:
    4
    I suspected that was the case. Why they would resort to such a thing is beyond me, since this prevents you from loading the video in less than... 30s to a minute. Rendering this browser useless for that purpose. Besides the slowdown when playing any video, and I wasn't able to hide one small feature from this browser even while going fullscreen.

    Here's a short video I uploaded elsewhere, in case you or anyone wants to upload something to Google Drive and test it:
    MEGA

    Also available is a short SRT file, the text it contains doesn't make any sense, but you can add to this video and check if the subtitle button works with it.
     
  7. twerppoet

    twerppoet
    Expand Collapse
    iPad Legend II

    Joined:
    Jan 8, 2011
    Messages:
    20,286
    Thanks Received:
    5,822
    Ok. I tested it, and yes it seem to be a problem between Google Drive and Safari. Playing directly from the Google Drive app I can get full screen. Heck, it was full screen before I tapped the expand button. All the expand button did was change where the controls showed up. Weird.

    In Safari, going to the Google drive site, the video could not be expanded. I got the same error you did when attempting it. I then followed the Learn More link, which was mostly uninformative about Safari. It did say one interesting thing. It talked about 'enabling' full screen on your browser. There is no such permission or setting in mobile Safari, or most browsers. The only browser they mention by name is Firefox. Well, and Chrome (which also doesn't expand the video).

    It is highly unlikely that either Apple or Google is intentionally blocking the feature. Safari does full screen with many other sites. Google obviously wants you to be able to do full screen. So it's a bug. On who's end is hard to say. Google is always 'adjusting' it's services with new and innovative (and not always standard) features; and of course all OS's have bugs. Apple is no exception.

    You can send feedback to Apple here: Apple - iPad - Feedback Don't expect an individual response, but it may help in the long run.

    You could send feedback to Google as well, since there's no telling who's fault it is. It could easily be a bit of both.
     
  8. LannyC

    LannyC
    Expand Collapse
    iPad Ninja

    Joined:
    Jun 4, 2012
    Messages:
    1,576
    Thanks Received:
    966
    OP, have you tried hosting your video on YouTube rather than Google Drive?
     
  9. Perenista

    Perenista
    Expand Collapse
    iPF Novice

    Joined:
    Mar 12, 2013
    Messages:
    36
    Thanks Received:
    4
    That ceased to be an option when some were blocked by that obnoxious content ID thing.

    How Content ID works - YouTube Help

    In Google Drive as far as I know you may even post XXX stuff and don't fear it will be blocked... As long as you keep all contents to yourself and don't publicly advertise the videos or any other private links from stuff you have.
     
  10. Perenista

    Perenista
    Expand Collapse
    iPF Novice

    Joined:
    Mar 12, 2013
    Messages:
    36
    Thanks Received:
    4
    OK, for the record I tried using the embed code from Youtube on my blog and watching on iPAD. I used another IFRAME code, exactly that Youtube sends us.

    This is what happened:

    http://s4.postimg.org/qtskq4okd/image.png

    As you can see, fullscreen works, and we are able to change between subtitles, only when going fullscreen. However, we can't see the resolution button and that subtitle button when not fullscreen.

    I noticed this is how it looks like is going to work with the iPhone user-agent in the Mercury browser for iPAD, with the difference that the subtitle is not being displayed.

    So, sadly this confirms that the Safari browser does support fullscreen. It's just that GOOGLE is somehow preventing this browser from working as it should, when it comes to Google Drive IFRAME. Apple is not to blame on this matter, from what I understand.

    I hope Google fixes this issue.
     

Share This Page