如何使用 Video.js 播放 Youtube 视频? [英] How to play Youtube videos using Video.js?
本文介绍了如何使用 Video.js 播放 Youtube 视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法使用 video.js 播放 Youtube 视频?我按照此处的步骤操作但似乎无法让它发挥作用.请帮忙!非常感谢!
Is there a way to play Youtube videos using video.js? I followed the steps here but can't seem to make it work. Please help! Thanks a lot!
推荐答案
你可以试试 https://github.com/eXon/videojs-youtube .在使用之前,我建议您阅读错误报告.特别是,不要按照建议将提供的 video.js 版本与脚本一起使用.它似乎包含一个漏洞.新版本的 video.js 运行良好.
You can try https://github.com/eXon/videojs-youtube . Before using, I recommend you to read trough the bug reports. In particular, do not follow the advice to use the provided video.js version with the script. It seems to contain a vulnerability. The new version of video.js works fine.
这篇关于如何使用 Video.js 播放 Youtube 视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文