i’m perhaps the LEAST qualified person in this forum to “lecture” ppl about their “tone” :D, because i come across wrong all the time, so take with a grain of salt, but… let’s go easy on the guy. i can easily break out of your eagle goggle’s video into full youtube, by just clicking the overlaid youtube logo before playing. maybe it’s o/s- or browser-specific, but it took me literally NO TIME to “defeat” your sandbox. (my kids taught me this trick :D)
If you set your video to auto play (in my example it was deemed inappropriate so it is disabled - not my decision blame management) then that is circumvented. Simply setting auto play = true fixes this. My point was once the video is playing you can’t escape it easily.
My point was the OP can achieve his aim without tripping Apples draconian rules.
I appreciate both your responses and to be honest @SphereGames, I DID look extensively through all the google docs on this AND I checked your page, regardless of setting auto play to true or not - the point is on the google embedded YouTube player running in a uiwebview there is no wa to prevent the player from dropping back to YouTube, all you have to do is touch the white semi transparent YouTube logo, regardless of whether or not you intended the behaviour it just is… Apple know this and therefore ANY app that plays YouTube content in this way potentially allows for unrestricted access to YouTube. The only way around this I can think of is to use some magic to extract the actual raw link to the MP4 file (there are libraries that supposedly do this) but its obviously against YouTube’s T’s & C’s and is subject to breaking if Google ever update their player. And I’ll happily give $100 via PayPal if you can provide me a script that doesn’t allow the main site to be accessed!
Hmm it would seem that since I left the company my code has been altered and that was a bad example (I really should of checked) sorry my bad!
Does something like this work for you? It is just a functional test
@SphereGamesStudio - I’ve sent you a PM 