How to copy embed link of YouTube video for web programming in this app? | SoloLearn: Learn to code for FREE!

+13

How to copy embed link of YouTube video for web programming in this app?

As I copied embed link from youtube video, the web program after execution says failed to connect. However, we can connect with Dropbox but I want to know how to do it with YouTube.

web

8/8/2020 4:11:09 AM

AMOGHA. A. K.

19 Answers

New Answer

+13

Divya Mohan The video that I have selected, when u click on that link it doesn't appear in a separate window. But what code u have given, it appears in a separate window. Why it is so? How should I make youtube video to be in a separate window?

+12

Divya Mohan Thanks

+12

Divya Mohan I don't want to upload video from imgur. The link provided by you is having imgur. I want to use youtube.

+11

Divya Mohan I did the same thing but still it's showing video unavailable ...... What else should I do????

+10

Divya Mohan It's not showing anything. The video is unavailable.

+9

I referred many previous threads but I didn't get proper solution for this.

+8

Divya Mohan When I am putting youtube video link id, it's showing video unavailable. * Why is it like that?

+8

Explain me how do you do it ???? However I have it's link but you take any example and tell me how do u do it.

+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

Check this https://code.sololearn.com/Wl5C3P469840/?ref=app

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