I'm trying to get a UWP (Windows 10) app with a WebView to work with the IFrame / JS implementation of YouTube.
An example of HTML which I am trying to get to display can be found at this link : https://gist.github.com/Sonictrio/3066a56a36dbabd754adfd887470b184
It's straight forward IFrame / JS implementation which allows the video player communicate with the page and change the boarder colour depending on the players state.
This works if the WebView component loads the HTML as Source="ms-appx-web://.....html or in C# as webView1.Navigate("ms-appx-web:///.....html"); but not if provided by NavigateToString()
A lot of work goes on to construct the html template so we need to build the content and use NavigateToString(String).
Using NavigateToString() throws are Access errors thrown by the javascript which prevent the interaction desired. (image below)
Is there any way I can get this to work with NavigateToString()?
