Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 6

how to embed video on website from youtube

Hi! Is there a way to imbed a video in the website from youtube ? I mean, other than just putting in the link to YouTube? im trying from 1 week it get error of plugin. and some time it not not play
If so, how would I do it?
Thank you?

5 Replies
Ground Controller Lvl 2
Message 2 of 6

Re: how to embed video on website from youtube

Hi, could you specify which language / framework / service / plugin are you using?

 

<iframe width="420" height="315"
	src="https://www.youtube.com/embed/tgbNymZ7vqY?	playlist=tgbNymZ7vqY&loop=1">
</iframe>
  • difficult solution is to download video to your apps file storage, write a code that detects not loading / lagging of video (on the client side) and load it from the file storage as an alternative

 

P.S. second solution might be a little legally tricky if you don't own the video

Ground Controller Lvl 1
Message 3 of 6

Re: how to embed video on website from youtube

Thanks For Sharing

My Problem Is Solved.

Highlighted
Ground Controller Lvl 1
Message 4 of 6

Re: how to embed video on website from youtube


@damir-bubanovic wrote:

Hi, could you specify which language / framework / service / plugin are you using?

 

<iframe width="420" height="315"
	src="https://www.youtube.com/embed/tgbNymZ7vqY?	playlist=tgbNymZ7vqY&loop=1">
</iframe>
  • difficult solution is to download video to your apps file storage, write a code that detects not loading / lagging of video (on the client side) and load it from the file storage as an alternative

 

P.S. second solution might be a little legally tricky if you don't own the video

 


 Lot of thanks for such a great solution. Earlier I tried to do it with few plugins but they didn't work as fine as this method of yours. I am happy. Thanks

Regards

Ground Controller Lvl 1
Message 5 of 6

Re: how to embed video on website from youtube

Thank you for share great information.

Ground Controller Lvl 2
Message 6 of 6

Re: how to embed video on website from youtube

Yes, I was also getting this error on a page of my website, Fixed it using the iframe method provided here.  The problem was with the theme and i updated the theme and worked well on the new theme. 

AudreHilda