IOS devices does not display the embedded content.
So I have some js that inserts a webpage embed into a div, also adds whatever class I have on the div as a url extention :
function To_Insert_Functn() {
var codePage = document.getElementById("insert").className;
var url = 'thewebsiteurl goes here from external website';
document.getElementById("insert").innerHTML='<embed id="disPlayIt" type="text/html" src="">';
document.getElementById("disPlayIt").setAttribute("src", url + codePage);
}
Then some html to load function and create div to embed the page into :
<body onload="To_Insert_Functn()"></body>
<div id="insert" class="index.html"></div>
Does any know how to get the content to show? It display on pc and samsung devices so far, also works on google chrome and firefox, but Iphones and Ipads dont show any of the embedded content.