Search code examples
iframewindows-8.1winjs

Don't manage to get video displayed from win8.1 app store


I am trying to display a youtube video from an iframe in my application welcome page, however It does not work and I am getting the error : APPHOST9613: The app couldn’t navigate to https://www.youtube.com/watch?v=9Zlpzk2qspg because of this error: FORBIDFRAMING.

I try to display it using an x-ms-webview then I get the message : This video is unavailable.

The Adob Flash Player or an HTML5 supported browser is required Get the latest flash player Learn more about upgrading to an html5 browser

//However Adobe Flash player is already installed the link 'Learn more about upgrading to an html5 browser' shows that the app integrated browser does NOT integrate formats H.264/MSE &H.264/WebM VP8/MSE & WebM VP9 Do you have any idea how to get it fixed ?


Solution

  • I ve managed to get it work with :

    In HTML page >>

    <iframe width="640" height="360" src="https://www.youtube.com/embed/9Zlpzk2qspg" frameborder="0" allowfullscreen>
    

    In package.appxmanifest ContentURI >>

    https://www.youtube.com/*/*