我遇到了一个问题,即在项目中使用Vimeo Player SDK,并且我不希望用户在播放前查看缩略图。我正在通过代码触发播放,并在视频实际播放后尝试显示。我正在听“播放”活动,并且一旦视频实际播放,它才能触发它。但是我仍然得到缩略图。我在这里错过了什么吗?
为了清楚起见,我正在听 player.on('Play',..)
事件,而不是 player.on('Play',..)
示例:
I'm having an issue where I'm using Vimeo Player SDK in a project and I don't want the user to see the thumbnail before playback. I'm triggering playback via code and attempting to display the video once it actually starts playing. I'm listening to the 'playing' event and would expect it to only trigger, once the video is actually playing. But I'm still getting the thumbnail. Am I missing something here?
For clarity, I'm listening to the player.on('playing', ..)
event, not player.on('play', ..)
Example: https://jsfiddle.net/avt_pj/hqgtram0/31/
发布评论
评论(1)
Vimeo回答了:
Vimeo replied with this: