-1
我們遇到了播放按鈕(videojs + videojs浩瀚插件)的問題。 如果沒有商業播放,大播放按鈕沒有功能,只有小播放按鈕。有沒有解決方法,大播放按鈕正在工作。Videojs VEST播放按鈕
例
// init first player
videojs('vid_673732', {
"controls": true,
"autoplay": true,
"preload": "auto"
}, function() {
var videoPlayer = this;
videoPlayer.muted(false);
videoPlayer.ads();
videoPlayer.vast({
url: "http://ad3.adfarm1.adition.com/banner?sid=3108095&wpt=X",
skip: "-1"
}); // VAST link always delivering a test ad
videoPlayer.ga();
videoPlayer.on("loadedmetadata", function() {
videoPlayer.play();
});
});
// init second player
videojs('vid_673662', {
"controls": true,
"autoplay": true,
"preload": "auto"
}, function() {
var videoPlayer = this;
videoPlayer.muted(false);
videoPlayer.ads();
videoPlayer.vast({
url: "http://ad3.adfarm1.adition.com/banner?sid=2721754&wpt=X",
skip: "-1"
}); // VAST link NOT always delivering ads
videoPlayer.ga();
videoPlayer.on("loadedmetadata", function() {
videoPlayer.play();
});
});
例子:hier (實例是自動播放,而不是一個大的播放按鈕)
感謝
托馬斯
我不明白的問題。自動播放後沒有大的播放按鈕。默認的大播放按鈕僅在播放前顯示。 – misterben 2015-04-02 20:04:51