0
我已將VLC播放器嵌入到網頁中,我想知道是否可以使用不同的圖像更改「錐形」徽標。我正在使用VLC播放多播流(僅音頻)。更改HTML頁面中嵌入的VLC播放器的徽標
我看着VLC webplugin文檔,發現這個:http://wiki.videolan.org/Documentation:WebPlugin#Logo_Object
我不知道它是如何工作的。這是我到現在爲止,但不起作用,標誌保持不變。
<html><head><title>Radio</title></head><body>
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
version="VideoLAN.VLCPlugin.2"
width="300px" height="300px" id="vlc" windowless="true" loop="yes" autoplay="no"
enablejavascript="true" allowfullscreen="false" target="rtp://@:port/" id="vlc">
</embed>
<script>
var vlc = document.getElementById("vlc");
vlc.video.logo.file("pic.png");
</script>
</body></html>
任何建議和幫助非常感謝。謝謝。