Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<object id="myObject" width="250" height="200" data="helloworld.swf" type="application/vnd.adobe.flash-movie"></object>
<p>Click the button to display the media type of the object.</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
<script>
function myFunction() {
  var x = document.getElementById("myObject").type;
  document.getElementById("demo").innerHTML = x;
}
</script>
</body>
</html>