0

创建类似于 youtube 视频播放器的视频播放器的最佳方法是什么,因为在播放视频后,它会显示更多要观看的视频集合?

这些视频不在 youtube 上托管。

生成视频建议不是问题。问题是在视频播放完毕后将它们显示在播放器中,如果用户单击其中一个建议,则会打开并播放所选视频页面。

我可以在 html5 或 jquery 或 flash 或其他东西中执行此操作吗?

4

2 回答 2

0

Can be done in Flash. You could use the FLVPlayback Component to play the original video. Then use the Listener Class to listen for COMPLETE. You could then place thumbnails for each of the related videos on top of the FLVPlayback Component - these would then load the new video into the component and the process would continue.

Check this tutorial out for using the component and also the Listener Class for the component.

于 2013-03-04T22:02:13.550 回答
0

JWPlayer 是一款出色的 HTML5 视频播放器,具有 Flash 后备功能。它还有一个不错的 API 支持相关视频:http ://www.longtailvideo.com/support/addons/related-videos/22352/related-videos-reference-guide/ 。

还有一些许可选项:http ://www.longtailvideo.com/jw-player/pricing/

希望有帮助。

于 2013-03-04T14:16:42.870 回答