0

我设置了一个常规的 Flash 视频播放器,并且能够成功播放一个视频。但是,我需要在这个视频播放器上按顺序播放 3 个不同的视频。

我无法弄清楚如何使用常规 HTML 来做到这一点(在 HTML5 中不是很难)?欢迎任何建议。

4

1 回答 1

0

如果您没有 .fla 源文件,那么您可能需要查看其他 3rd 方解决方案,例如Flow PlayerJWPlayer

编辑: 根据 JWPlayer 文档

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 中初始化它时,将重复 arg 添加到您现有的.setup()调用中:

jwplayer('mediaplayer').setup({
    'flashplayer': 'player.swf',
    ...
    'repeat': 'always',
    ...
    'id': 'playerID',
    ...
于 2012-06-25T19:24:53.090 回答