I am trying to embed a html tag from a external webpage,by that i mean a object tag.
I tried using iframe
<iframe srcdoc="<h1>Welcome to Twitter.</h1>" src="https://twitter.com">
but when i tried to use srdoc to embed a object it didnt work.
i also found this
<script>
$("#siteloader")
.html('<object data="https://twitter.com"/>');
</script>
and
<div>
<object type="text/html" data="https://twitter.com" width="800px" height="600px" style="overflow:auto;border:5px ridge blue">
</object></div>`
but i dont know how to get it to only embed an element
what i am trying to embed is this object
<object type="application/x-shockwave-flash" name="GrindPlayer" data="teststreaming/GrindPlayer.swf" width="640" height="480" id="GrindPlayer" style="visibility: visible;"><param name="allowFullScreen" value="true"><param name="flashvars" value="src=http://ift.tt/1IwOvoH"></object>
any solutions?
Thank you
Aucun commentaire:
Enregistrer un commentaire