Running the following code, nothing works (ie I get the video waiting) and the controls trigger the error console message "document.video1.play is not a function"
If I change the autoplay to "yes", I get the video working fine but the controls still don't work.
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>VLC Plug-in Demo- Unicast from DVBViewer</title>
<body>
<h1>VLC RTSP</h1>
<embed type="application/x-vlc-plugin"
name="video1"
autoplay="no" loop="yes"
target="http://192.168.197.18:1234"/>
<br />
<input value="Play" onclick="document.video1.play();" type="button">
<input value="Pause" onclick="document.video1.pause();" type="button">
<input value="Stop" onclick="document.video1.stop();" type="button">
</head>
</body>
</html>
Any help/pointers would be just splendid 'cause I'm all out of ideas...
Nick