【发布时间】:2014-04-18 10:16:38
【问题描述】:
我有两个要求:
- 我需要在桌面设备上单击图像时弹出 BrightCove 视频。
- 对于移动设备或平板电脑设备,视频应该就地播放。
我查看了 BrightCove API,并没有看到关于弹出窗口的任何内容。 http://docs.brightcove.com/en/video-cloud/smart-player-api/index.html
这是我的代码:
<!-- Start of Brightcove Player -->
<div style="display:none">
</div>
<!--
By use of this code snippet, I agree to the Brightcove Publisher T and C
found at https://accounts.brightcove.com/en/terms-and-conditions/.
-->
<script language="JavaScript" type="text/javascript" src="http://admin.brightcove.com/js/BrightcoveExperiences.js"></script>
<object id="myExperience3331790840001" class="BrightcoveExperience">
<param name="bgcolor" value="#FFFFFF" />
<param name="width" value="252" />
<param name="height" value="142" />
<param name="playerID" value="3328690588001" />
<param name="playerKey" value="AQ~~,AAABNxejUIE~,NjBzL2O70MzT703vlLFres21zOmPd7t1" />
<param name="isVid" value="true" />
<param name="isUI" value="true" />
<param name="dynamicStreaming" value="true" />
<param name="@videoPlayer" value="3331790840001" />
</object>
<!--
This script tag will cause the Brightcove Players defined above it to be created as soon
as the line is read by the browser. If you wish to have the player instantiated only after
the rest of the HTML is processed and the page load is complete, remove the line.
-->
<script type="text/javascript">brightcove.createExperiences();</script>
<!-- End of Brightcove Player -->
提前致谢
【问题讨论】:
标签: javascript video brightcove