Home > Software engineering >  Can I show video on my website if I upload it to different hosting that I would own?
Can I show video on my website if I upload it to different hosting that I would own?

Time:04-07

we have website, name it X. We can't store video directly in it in order to load it with HTML5 tag. Is it possible to buy a new domain & hosting to store that video there and load into website X with code like this?

<video autoplay="" loop="" muted="" playsinline="" ><source src="https://www.newdomain. com/test.mp4" type="video/mp4" /></video>

Embed option doesn't suit as there are visible controls, no loop and autoplay.

CodePudding user response:

Yes, like images, which can be hosted elsewhere, you can embed videos that are hosted anywhere, provided that the URL is publicly accessible.

  • Related