怎么在网页上嵌入vlc播放器
悬赏分:0 - 离问题结束还有 14 天 19 小时
在网页中加入代码
<object classid="clsid:E23FE9C6-778E-49D4-B537-38FCDE4887D8" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab"
width="320" height="240" events="True" id="vlc2">
还有一个属性就是
<embed src="qtlogo.mov" qtsrc="rtsp://10.10.10.16/1_0_Motorola_1.sdp" width="176"
height="160" autoplay="true" controller="true" volume="0" loop="false" pluginspage='http://www.apple.com/quicktime/download/'>
其中pluginspage怎么设置才能嵌入vlc播放器呢?
希望大家多多指教!
------解决方案--------------------
<embed width="720" height="576" src="" autoplay="False" showdisplay="True" loop="False"/>
<SCRIPT LANGUAGE="JScript">
function volz()
{
document.vlc.volume = document.vlc.volume+10;
}
function volj()
{
document.vlc.volume =document.vlc.volume-10;
}
function doGo(rid)
{
//alert(targetURL);
//var options = new Array(":input-repeat=1");
//document.vlc.addTarget(targetURL, options, 4+8, -666);
// document.myform.action="index.asp?id="+rid;
// document.myform.submit();
//document.getElementById("helpor_net").innerHTML="go go "
//document.vlc1.addTarget(targetURL, options, 4+8, -666);
//doGo('udp://@:',)
};
function doGoplay(targetURL)
{
var options = new Array(":input-repeat=1");
document.vlc.addTarget(targetURL, options, 4+8, -666);
}
</script>
这是我在我们学校的用vcl的网页上取下来的,希望对你有用
------解决方案--------------------
用
<object classid="clsid:E23FE9C6-778E-49D4-B537-38FCDE4887D8" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab"
width="320" height="240" events="True" id="vlc2">
就行。
clsid要对,codebase路径正确就行