MY PARTNER AND I wrote a script so that me to begin a video when a good image is clicked. It works great for html5 video however is not embedded video (VLC+Webm). How to make my script recognize the embedded video
Examining this in FF3. SOME and FF4b9.
Code:
< head>
< style>
#movie
#img
< /style>
< /head>
< body>
< upload type=" application/x-vlc-plugin" name=" VLC" target=" mymovie. webm" id=" movie" > < /embed>
< img src=myimage. jpg" id=" img" />
< script>
var v = insurance plan. getElementById(" movie" );
var i = document. getElementById(" img" );
i. onclick = function()
v. play();
;
< /script>
< /body>
.