Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70752

YouTube logo link is taking over the app

$
0
0

@arlevi wrote:

Wanted to consult with others who are using the YouTube player as an iFrame in their apps.

Basically everything works fine. but my app got rejected by Apple because my app is considered “for kids” - and kids shouldn’t be redirected to other places w/o what Apple call “parental gateway”

“Parental gateway”: is capturing the “stepping out of the app before loading YouTube” event - show some “allow page” that only adults can understand, and if you click “yes” or answer some question - you are forwarded to YouTube.

App behavior: so current state, you’re loading my app, it has many YouTube videos, then you click on one of them.
After the click loads the video in an iFrame ( embed ) - there’s a small YouTube logo on the player/video itself.
When you click it - basically you’re not being forwarded to YouTube’s app ( like Ionic native YouTube does ) - it basically “taking over” my entire app, and then I have two problems:

  1. you can’t go back to my App, only if you click “Home” button twice - remove my app, and reload my app
  2. How can I capture that event - so I can implement the “Parental Gateway” that Apple wants

Any thoughts ?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>