我正在使用Brightcove托管视频,我正在尝试做两件事:
我很遗憾无法访问以下代码:
<object id="flashObj" width="480" height="270"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0">
<param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" />
<param name="bgcolor" value="#FFFFFF" />
<param name="flashVars" value="videoId=3492053615001&linkBaseURL=http%3A%2F%2Fh20621.www2.hp.com%2Fvideo-gallery%2Fus%2Fen%2Fproducts%2Fdesktop-and-all-in-one-computers%2Fprofessional%2F3492053615001%2Fhp-eliteone-800-all-in-one-extended-family-demo%2Fvideo%2F&playerID=1111577658001&playerKey=AQ~~,AAABAeI3VIE~,N0OfmZCPaxgxui0PhG4ilXrKUlL_O1tR&domain=embed&dynamicStreaming=true" />
<param name="base" value="http://admin.brightcove.com" />
<param name="seamlesstabbing" value="false" />
<param name="allowFullScreen" value="true" />
<param name="swLiveConnect" value="true" />
<param name="allowScriptAccess" value="always" />
<embed src="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1"
bgcolor="#FFFFFF"
flashVars="videoId=3492053615001&linkBaseURL=http%3A%2F%2Fh20621.www2.hp.com%2Fvideo-gallery%2Fus%2Fen%2Fproducts%2Fdesktop-and-all-in-one-computers%2Fprofessional%2F3492053615001%2Fhp-eliteone-800-all-in-one-extended-family-demo%2Fvideo%2F&playerID=1111577658001&playerKey=AQ~~,AAABAeI3VIE~,N0OfmZCPaxgxui0PhG4ilXrKUlL_O1tR&domain=embed&dynamicStreaming=true"
base="http://admin.brightcove.com"
name="flashObj" width="1190" height="800"
seamlesstabbing="false" type="application/x-shockwave-flash"
allowFullScreen="true" allowScriptAccess="always" swLiveConnect="true"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</embed>
</object>
非常感谢任何帮助!
答案 0 :(得分:1)
这是两个超级有用的GIST来实现这个目标......
https://gist.github.com/bcls/98670e871cc7a8ef521e
https://gist.github.com/bcls/7457328
......这些来自BrightCove。
答案 1 :(得分:0)
如果不访问API,则无法执行此操作。关键是如果你不拥有玩家,你就不应该控制它的行为方式。您可能希望从所有者请求API令牌,以便您可以访问。典型的Brightcove账户最多允许6个。
Here's the documentation使用API来循环播放视频。