feelinglucky/chrome-plugin-to-replace-fuck-flash-player — pull request #24 by cugfeng (2013-07-28 12:09:45+00:00)
Title: 实现优酷分段视频连续播放的功能

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.