.
I embed a Youtube video on a webpage (not a "APP" but a "WEBAPP")
using the standard embed-code as shown below Youtube videos.
When i open my page from a standard Safari-shortcut (homescreen) it all works fine and i do have audio When i open my page from a custom-icon shortcut (homescreen) it brings up the fullscreen "standalone" (webapp-style) then the video plays ok again but: NO AUDIO !
Since i used the standard embed-code by-the-book
and since it works in standard non-standalone:
This seems like a bug to me. (iPhone or Youtube)
I understand the Youtube API-forum was closed, while they mention i should ask here
so i hope any Youtube-Api-staff (hello...Jarek ?) will reply on suspected bugs.
My 1st post here...hope its a correct posting.
iPhone4s,iOs 6.0.1
.
---/ UPDATE /---
When we LINK to a video (not embed)
then it works in both modes. (standalone or safari)
like that we indeed have audio in both modes.
But it effectively means we cant embed videos for iPhone (and others)
ie: we cant play videos IN/ON the page.
After finding this you may think "not a big disaster since even when we embed it will still
open in the standalone player"...."so you could just as well simply link to it".
But that kills the standalone-mode (webapp) because:
- When we link to open in the same page there is no go back (to previous page) option.
- When we link to open in a new page same-thing...no go back.
- And in both cases the safari browser shows up !
(which we were exactly avoiding by using the custom-icon to make it act as a webapp).
also as a result our visitor gets lost cause he dont see how to go back to the homepage (site-index)
only way out is to close and load the page again from the iPhone´s homescreen (icons)
or by retyping the url which is to much hassle...hustle ? (sorry not a native english).
In addition when embedding we are forced to use a minimal height of 200 px
(minimal embed without controls-bar, ie: controls set to "0")
for a nice 16:9 embed without large black bars the width then needs to be 356 px,
which is to large to fit on a iPhone in no-resize mode.
it will use to much estate and now cover or partly
hide-below other content and buttons you will have on the (no-scroll) page.
Its a long chain of settings that we need to have (no-resize...etc) to make a mobile-site (webapp) look nice and work intuitively...changing one causes other unforseen problems.
In addition "playlists", they work in both modes...but they are useless !
i mean if you have 200 videos in a list..how would you expect a visitor
to go to video nr 56 that he likes ?,
that will taker forever !
cause there are no thumbnails (like on a fullsized desktop-page) to go there directly,
so now it`s: play nr1 wait till the (safari/Qt) player-controls show-up
click the next-button...
and do that 55 times until you get to the one you want ?
So anyway you look at it, usefull embedding (or linking) is not possible.
unless this is a bug(s) (that will be solved before iPhone 10 ?)
or if someone knows how to do this better ?
.
.