嵌入式YouTube直播停止运作

huangapple go评论66阅读模式
英文:

Embedded YouTube Livestream Stopped Functioning

问题

抱歉,我只翻译非代码部分。以下是您要翻译的内容:

"所以,我使用我在这里找到的建议(https://stackoverflow.com/questions/39275889/how-to-embed-new-youtubes-live-video-permanent-url/39582176#39582176)在我们的一个网页上嵌入了我们组织的永久直播流,几个月来一直运行良好,当前的直播流播放,然后下一个预定的直播流在结束后替换它。

这是我使用的代码:

<iframe width="100%" height="500" src="https://www.youtube.com/embed/live_stream?channel=<<CHANNEL_ID>>;autoplay=1" title="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

不幸的是,在过去几天的某个时候,它停止工作,显示“此视频不可用”的错误消息。

我检查了流设置为公开,嵌入视频框在设置中也已勾选。我可以单独嵌入预定的直播流视频,并链接到频道,但不能像以前那样链接到永久直播流。

基本上,我想知道是否有人可能有任何关于发生了什么事情的想法。YouTube是否进行了更改,或者是否有其他设置我应该检查?谢谢!"

英文:

So, I had my organization's permanent livestream embedded on one of our web pages using the advice I found here (https://stackoverflow.com/questions/39275889/how-to-embed-new-youtubes-live-video-permanent-url/39582176#39582176), and it was working great for a few months, with the current live stream playing, then the next scheduled one replacing that after that one ended.

Here is what I was using:

<iframe width="100%" height="500" src="https://www.youtube.com/embed/live_stream?channel=<<CHANNEL_ID>>;autoplay=1" title="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

Unfortunately, at some point in the last few days, it stopped working and the "This video is unavailable" error message.

I checked and the streams are set to public, and the embed video box is checked in the settings. I can embed the scheduled live stream videos individually, and link to the channel, but not to the permanent live stream like before.

Basically, I am wondering if anyone might have any ideas as to what is going on. Did YouTube change something or is there another setting I should check? Thanks!

答案1

得分: 2

我也遇到了相同的问题!我发现一个快速的解决办法是,您可以逐个嵌入预定的直播流,直到YouTube修复此问题。

英文:

I am experiencing the same issues too! One quick workaround I found is that you can embed scheduled live streams one at a time until YT gets this fixed.

huangapple
  • 本文由 发表于 2023年7月12日 23:33:06
  • 转载请务必保留本文链接:https://go.coder-hub.com/76672257.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定