Hi all,
I’m having an issue playing videos from YouTube - in some respects it’s working too well.
In my app I have lot’s of specially curated content from YouTube that we present and play in a normal webview using the standard iframe Youtube embed code.
My app currently has a 4+ content rating - however in the last upate a zealous Apple review rejected it due to the metadata. Basically their argument was that because we could show ANY youtube video we had to make the app 12+
Having investigated the content ratings - to get a 12+ certificate it requires me select at least one of the following.
Frequent / Intense cartoon or fantasy violence
Infrequent / mild realistic violence
Frequent / Intense Profanity or Crude humor
Infrequent / Mild Medical / Treatment Information
Infrequent / Mild Alcohol, Tobacco or Drug Use or Referernces
Infrequent / Mild Simulated Gambling
Infrequent / Mild Sexual Content or Nudity
Obviously not what I’d want on my previously family friendly app page.
It would appear that the reviewer was able to get the youtube player to open the main youtube site within the webview (and then access the normal search), by pressing the YouTube icon on the player itself - which if you have the YouTube app installed will jump to the app otherwise the main site opens in the webview (did not know that!).
Anyway I’ve trawled through the net trying to find some way to turn off the “feature” and it’s possible to remove the logo by adding modestbranding=1 to the url, but then that displays a share feature at the top which does exactly the same - one press and bang, Youtube open in a webview.
Does anyone know any way (other than hosting the videos myself - not practical with almost 400 videos) to be able to either remove the share links OR prevent the webview from navigating away from the page?
Any help will be much appreciated.

