In the android version of my app, I use loadDataWithBaseURL to load the local HTML file and I use it to play youtube videos using youtube JS SDK.
loadDataWithBaseURL("https://www.youtube.com", htmlPageString, "text/html", "utf-8", null)
In flutter, I am able to load the local HTML file but I am not able to play youtube video as Youtube throws video not available error and I used to get same error while using loadData api insead of loadDataWithBaseURL in android.
In the android version of my app, I use
loadDataWithBaseURLto load the local HTML file and I use it to play youtube videos using youtube JS SDK.loadDataWithBaseURL("https://www.youtube.com", htmlPageString, "text/html", "utf-8", null)In flutter, I am able to load the local HTML file but I am not able to play youtube video as Youtube throws video not available error and I used to get same error while using
loadDataapi insead ofloadDataWithBaseURLin android.