我是
HTML5的新手,我想尝试从HTML按钮(或类似的)调用.swf视频文件的简单示例.
到目前为止我已经获得了这段代码,但似乎没有用…
<!DOCTYPE html> <html> <head> </head> <body> <video src='test.swf' id='v' controls> Your browser does not support HTML5 video. </video> </br> <button onclick="document.getElementById('v').play()">Play</button> <button onclick="document.getElementById('v').pause()">Pause</button> </body> </html>
任何帮助,将不胜感激…