Youtube embed live chat is not working on mobile (recently)

后端 未结 2 394
情歌与酒
情歌与酒 2021-01-21 03:26

I\'m working on a web app that depends on YouTube live streams and live chats (also from YouTube). Things went great, when suddently embeded chat refused to work on mobile devic

2条回答
  •  抹茶落季
    2021-01-21 03:36

    I believe that the only way of fixing it is to change mentioned earlier "User-Agent" header in HTTP request to a desktop one, like:

    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36

    Maybe the issue will be fixed from the YouTube side someday.

提交回复
热议问题