It looks like to be a rocket science to get embedded VLC to work in Windows7/IE8. What's wrong with the following code?
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Videos</title>
</head>
<body>
<object type="application/x-vlc-plugin"
id="vlcplayer"
width="720px"
height="540px"
classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921">
<param name="MRL" value="Video1.flv" />
<param name="volume" value="100" />
<param name="autoplay" value="false" />
<param name="loop" value="false" />
<param name="fullscreen" value="true" />
</object>
<ol>
<li><a href="javascript:;" onclick='player();'>Click a vid!</a></li>
</ol>
<script type="text/javascript" language="javascript">
function player() {
var vlc = document.getElementById("vlcplayer");
vlc.playlist.play();
}
</script>
</body>
</html>