我设置了常规的Flash视频播放器,我可以成功播放一个视频。但是,我需要在这个视频播放器上按顺序播放3个不同的视频。
我无法弄清楚如何使用常规HTML(在HTML5中不是很难)?欢迎任何建议。
答案 0 :(得分:0)
如果您没有.fla源文件,那么您可能需要查看其他第三方解决方案,例如Flow Player或JWPlayer
编辑: According to the JWPlayer docs
repeat ( none )
What to do when the mediafile has ended. Has several options:
none: do nothing (stop playback) whever a file is completed.
list: play each file in the playlist once, stop at the end.
always: continously play the file (or all files in the playlist).
single: continously repeat the current file in the playlist.
因此,当您在javascript中对其进行初始化时,请将repeat arg添加到现有的.setup()
调用中:
jwplayer('mediaplayer').setup({
'flashplayer': 'player.swf',
...
'repeat': 'always',
...
'id': 'playerID',
...