youtube_player_flutter icon indicating copy to clipboard operation
youtube_player_flutter copied to clipboard

Youtube Live URl issue

Open srinivasii opened this issue 4 years ago • 4 comments

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

srinivasii avatar Mar 04 '20 02:03 srinivasii

I think one way, if it is channel live URL we can directly put iframe instead of div inside raw_youtube player ?

https://github.com/sarbagyastha/youtube_player_flutter/blob/ea392c7612abe1b56a86d28d1dc12f4de2d0f669/lib/src/player/raw_youtube_player.dart#L275

ex: html:

js: var player = new YT.Player('player', {});

https://stackoverflow.com/questions/47241553/youtube-iframe-api-for-live-videos?rq=1

arulselvan avatar Apr 10 '20 08:04 arulselvan

Is there any way to solve this?

iamabhiee avatar Nov 30 '20 04:11 iamabhiee

did anyone solve this issue?

Suroor-Ahmmad avatar Jun 14 '21 11:06 Suroor-Ahmmad

also need to know this.

UNIcodeX avatar Apr 21 '22 18:04 UNIcodeX