+ 1

Can anyone tell me,how we can autoplay YouTube video in sololearn html ???

I am not able to autoplay YouTube video https://code.sololearn.com/Wl5fMF21222h/?ref=app

7th Jul 2022, 1:09 PM
Alok
Alok - avatar
13 Answers
+ 2
YouTuber's can choose to have their content accessible out side of the YouTube platform or not. You can try a different video and it should work if video is allowed. However as Programmer mentioned autoplay is not supported. Autoplay is disabled in some browsers to prevent unwanted video or audio from playing. Chrome announced changes to its autoplay policy that took effect back in December of 2018. Users must interact with a browser item before audio playback starts. However there is a "hack" (work around) Though the video will be muted. Works on browser. https://code.sololearn.com/WMihx0npmN23 Edit: does not work in app unfortunately. https://code.sololearn.com/WMihx0npmN23/?ref=app
9th Jul 2022, 4:16 PM
Chris Coder
Chris Coder - avatar
+ 2
Alok I stated that it does not work in app but does on web.
9th Jul 2022, 5:37 PM
Chris Coder
Chris Coder - avatar
+ 1
The video you are attempting display is unavailable.
7th Jul 2022, 6:18 PM
Chris Coder
Chris Coder - avatar
+ 1
@alok the video does not display in the playground
9th Jul 2022, 2:46 AM
Chris Coder
Chris Coder - avatar
+ 1
Chris Coder ooo🐣
9th Jul 2022, 5:45 PM
Alok
Alok - avatar
0
a Wolf it's not working😞 And it only works when video is stored/downloaded & I think it doesn't work in sololearn
7th Jul 2022, 1:43 PM
Alok
Alok - avatar
0
a Wolf meaning that autoplay is disabled 😟🥺😣
7th Jul 2022, 2:00 PM
Alok
Alok - avatar
0
a Wolf not working☹️😞
7th Jul 2022, 2:18 PM
Alok
Alok - avatar
0
Chris Coder what do you mean by "unavailable" 🙄??
8th Jul 2022, 9:58 AM
Alok
Alok - avatar
0
Chris Coder but why??
9th Jul 2022, 7:41 AM
Alok
Alok - avatar
0
In html 5 not support aoutoplay
9th Jul 2022, 8:25 AM
Nisha
Nisha - avatar
0
Programmer ☹️😞
9th Jul 2022, 8:25 AM
Alok
Alok - avatar
0
Chris Coder but not working autoplay in yours too
9th Jul 2022, 5:26 PM
Alok
Alok - avatar