How to prevent a youtube iframe to redirect from Standalone App to Youtube App?

I have a web magazine developed in reveal js. Of course the user can decide to create a shortcut for his/her own smartphone or tablet, creating a standalone application, that’s not opened in the normal browser, with url bar, navigation commands, etc..

And to do this, I use this code

  • Inline YouTube video in Ionic/Cordova/PhoneGap app on iOS/iPhone
  • YouTube URL Scheme tvOS
  • Displaying YouTube Video ads with YouTube iFrame
  • How to add Youtube videos to a UITableView?
  • Youtube integration in iOS SDK
  • Play YouTube videos in iPhone app without using UIWebView?
  • <!-- CAPABLE FOR APPLE DEVICES -->
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="apple-mobile-web-app-title" content="">
    

    Everything works fine, except when I swipe to a page that has in its content a youtube iframe.
    In this scenario, what happens it’s a redirection from my standalone application browser to youtube application.
    And it does not happen in all the smartphones / tablet, but for example I noticed that on iPad 3 with not the last version of iOS (currently 8.3) I got this redirection, but with an iPad 3 with an older iOS version (7.0.2) the iframe of youtube is displayed inside my standalone application.

    Does somebody has an idea about this issue?