html
<html>
<head>
<style type="text/css"> body { background-color: transparent; color: white; }
</style>
</head>
<body style="margin:0">
<embed id="yt" src="http://www.youtube.com/v/6eK-W32IME0?fs=1&hl=en_US&enablejsapi=1" type="application/x-shockwave-flash" width="330" height="200"></embed>
</body>
</html>
The code I'm running to try to play the video is
var yt = document.getElementById("yt");
yt.playVideo();
The JS error I get is
TypeError: Object #<HTMLEmbedElement> has no method 'playVideo'
But it seems like this is how everyone else does it. What's the deal?
** EDIT **
** EDIT **
The current JSFiddle now works fine on a pc/mac, but not on an iPad.