vlc activex调用

2023-11-11

 首先是在html页面调用:

第一种方式:下面直接给出的是调用函数

function doGo(targetURL, port)
{
 var options = new Array("vlc",
   ":input-repeat=1",
   ":aspect-ratio=704:480",
   "--no-drop-late-frames",
   "--no-overlay");
 document.vlc.playlistClear();
 document.vlc.addTarget(targetURL+":"+port+"/stream", options, 4+8, -666);       

};

第二种方式:vlc activex给出的范例页面

function doGo(targetURL)
{
    var vlc = document.getElementById("vlc");
    var options = new Array(":vout-filter=deinterlace", ":deinterlace-mode=linear");
    vlc.playlist.clear();
    //vlc.playlist.add(targetURL, null, options);
    vlc.playlist.add(targetURL);
    vlc.playlist.play();
    if( monitorTimerId == 0 )
    {
         monitor();

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

vlc activex调用 的相关文章