0
我有兩個要求:如何創建BrightCove視頻的彈出窗口?
- 我需要的是點擊桌面設備上的圖像時,彈出一個視頻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 -->
在此先感謝