Kodular Youtube Player not working

youtube player not working up
Videos are not playing only Loding and loading
when i use with clock after that also not work great :frowning:

We don’t know how to help you without seeing your blocks.

/Boban

2 Likes

Show your blocks

38%20PM
With this i saw this in community does not work

24%20PM
this thing work but video is keep on loading please help me :slight_smile:

1 Like

Try using this block:

1 Like

thanks bro for reply
No bro does not work :frowning:

1 Like

Make sure that your video ID is correct.

1 Like

bro its correct in timmer one video is keep on loding when i go to another screen video start playing .

1 Like

Hii @princeghuman99 ,

The thing is that you can’t Load any video in YouTube Palyer Load block in Screen Initialize Block.
So, that’s why its working fine with a timer bcz its not loading along the Screen Initializing.

2 Likes

This code with build apk loads the video 5 times of 10


at least for me increasing the timer interval to 2000 solved the issue, perhaps for those with bad connection timer interval should be even higher.

/Boban

1 Like

no i am sorry to say nothing is working guys please check make this block and try in your device .

1 Like

Hi there, could you try this perhaps?

Youtube1

Hope this helps :slight_smile:

1 Like

Although with the code that I posted above works on my newer device, it doesn’t work on my older device with Android 4.3, even when increasing the timer interval to 4000-5000 it didn’t work well as it loaded the video only 3 times out of 10.

Android 4.3 Youtube still plays, even if my screen is turned off.

This block doesn’t work for me as I’m not receiving any response from it.
bild

@KodularCreator something to take a look at.

/Boban

2 Likes

if the video plays if the screen is close ou cannot upload your app to ggogle because of policy. And a video is only allowed torun if the user start the vieo. and if you change the screen or anythig else the video has to stopped ib the same moment or the app will be rejected from play store too.

2 Likes

what i can do now should i stop my work now
:frowning:

So use the custom chrome tab and open your video in direct youtube and its safe

If I were you I would avoid using Youtube component until it gets fixed.

/Boban