自动嵌入 YouTube 直播 [英] Embed YouTube Live Streaming Automatically
本文介绍了自动嵌入 YouTube 直播的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用 php 在网页中自动嵌入 YouTube 直播?
How to embed an YouTube live streaming automatically in an webpage using php?
类似于在 https://youtube.com/user/USERID/live 传输什么时候播出?
Something like querying the video at https://youtube.com/user/USERID/live when a transmission is on air?
推荐答案
您可以使用 search->list 方法通过设置 type=video 和 eventType=live
You can easily do it with using search->list method by setting type=video and eventType=live
这是另一个 PHP 搜索代码示例会让你开始.
Here is another PHP search code sample that will get you started.
这篇关于自动嵌入 YouTube 直播的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文