Free webinar! How to Make Generative AI Work for You
Get my free ticket+ 2
Yaa...
Actually found the issue here. The videos that were displaying this on embed had "Copyrighted" music playing in the background. YouTube apparently does not play videos like this while embedded.
(Source :
https://support.google.com/youtube/thread/20562339?hl=en ).
This. Is the problem.
0
0
Can you just link your code here
0
See in js section of code I have posted above .
It has actaul youtube video link and link I have inserted in iframe tag are there.analysis it and try it.
0
Open youtube video.
Click on share button
Through your any app .it Wii paste that link in that app just cut and paste it where ever you want.
0
Please send your any custom code with such problem
0
Now check that above code I posted it has your video
0
or this might be one of the possible reason.
https://stackoverflow.com/questions/51969269/embedded-youtube-video-doesnt-work-on-local-server/56419165#56419165
0
As you can see Rohan's video is playing well so might be copywrith products in video may be the reasons to not play video in embedded mode.
0
Imgur???
0
<iframe height="150" width="300" src="https://www.youtube.com/embed/Q6_5InVJZ88" allowfullscreen frameborder="0"></iframe> u can use this for your code and ensure nothing has copyright