【发布时间】:2018-01-26 08:41:21
【问题描述】:
我正在尝试摆脱 JWPlayer 上的所有控件,但播放和进度条除外。
我这样做了:-
jwplayer("myvideo").setup({
autostart: true,
controlBarMode:'floating',
"controls": {
"enableFullscreen": false,
"enablePlay": false,
"enablePause": false,
"enableMute": true,
"enableVolume": true
},
flashplayer: "scripts/vendor/jwplayer/player.swf",
file: $scope.getCurrentSlide().video
});
if (!$scope.getCurrentSlide().video.length) {
$(".video").hide();
}
else {
$(".video").show();
}
});
但它只显示了所有这些。
【问题讨论】:
-
为了在 JW6 中执行此操作,您需要构建一个仅显示控制栏的自定义皮肤。我们的开发者网站上有一个皮肤 SDK - developer.longtailvideo.com/trac
-
你可以看到我的回答:stackoverflow.com/a/36430044/1386969 别忘了微笑 :)
标签: jwplayer