Open srinivasii opened 4 years ago
I think one way, if it is channel live URL we can directly put iframe instead of div inside raw_youtube player ?
ex: html:
js: var player = new YT.Player('player', {});
https://stackoverflow.com/questions/47241553/youtube-iframe-api-for-live-videos?rq=1
Is there any way to solve this?
did anyone solve this issue?
also need to know this.
Hi, I am trying to embed this live URL https://www.youtube.com/channel/UCJj-ntbpTWWvtubIK0Aww9w/live but how to get the vidio id for this. i tried using YoutubePlayer.convertUrlToId( "https://www.youtube.com/channel/UCJj-ntbpTWWvtubIK0Aww9w/live"); but its returning null. @sarbagyastha