mingcheng / chrome-plugin-to-replace-fuck-flash-player

将中国大陆主流视频网站的 Flash 播放器替换为 HTML5 播放器
490 stars 111 forks source link

实现优酷分段视频连续播放的功能 #24

Closed cugfeng closed 11 years ago

cugfeng commented 11 years ago

Listen 'ended' event of HTML5 video. When playback finished, browser would send 'ended' event, webpage side could listen to this event to do something. In this case, play next video segment.

This solution is only tested on Youku. Known issue is if in full screen mode, play next video segment would exit full screen mode. I don't know how to call vjs requestFullScreen API in event listener callback function.

mingcheng commented 11 years ago

谢谢,最近有点忙还没时间折腾这个脚本,兄弟的 Patch 来得是时候 :)

cugfeng commented 11 years ago

不客气,这个扩展很有用,所以很高兴能为它做一点点贡献。