【发布时间】:2016-09-26 06:58:27
【问题描述】:
我正在尝试在我的视频脚本中激活 wmode。 我不知道怎么做。
下面是我的代码。
<script type="text/javascript">
TSC.playerConfiguration.setFlashPlayerSwf("demo_controller.swf");
TSC.playerConfiguration.setMediaSrc("demo.mp4");
TSC.playerConfiguration.setXMPSrc("demo_config.xml");
TSC.playerConfiguration.setAutoHideControls(true);
TSC.playerConfiguration.setBackgroundColor("#000000");
TSC.playerConfiguration.setCaptionsEnabled(false);
TSC.playerConfiguration.setSidebarEnabled(false);
TSC.playerConfiguration.setAutoPlayMedia(false);
TSC.playerConfiguration.setPosterImageSrc("demo_First_Frame.png");
TSC.playerConfiguration.setIsSearchable(true);
TSC.playerConfiguration.setEndActionType("stop");
TSC.playerConfiguration.setEndActionParam("true");
TSC.playerConfiguration.setAllowRewind(-1);
TSC.localizationStrings.setLanguage(TSC.languageCodes.ENGLISH);
$(document).ready(function (e) {
TSC.mediaPlayer.init("#tscVideoContent");
});
</script>
我试过这个 TSC.playerConfiguration.setEndActionParam("wmode":"transparent");
它不工作。 谢谢
【问题讨论】:
-
确定@Anant..
-
@Anant 感谢您的支持。
标签: php swfobject video-player