Video insert. in HTML/XHTML Posted January 14, 2021 Hi I am a newbie... Just trying to do the same here with a youtube video... but only shows me a black screen This is the code i used <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> <video controls width="620"> <source src="https://www.youtube.com/embed/7-OAyM_LNLc&t=13s?autoplay=1&controls=0" type="video/webm"> <source src="https://www.youtube.com/embed/7-OAyM_LNLc&t=13s?autoplay=1&controls=0" type="video/mp4"> <source src="https://www.youtube.com/embed/7-OAyM_LNLc&t=13s?autoplay=1&controls=0" type="video/ogg"> <source src="https://www.youtube.com/embed/7-OAyM_LNLc&t=13s?autoplay=1&controls=0" type="video/avi"> Sorry, your browser doesn't support embedded videos. </video> </body> </html> Really appreciate some help on this:) MT
Video insert.
in HTML/XHTML
Posted
Hi I am a newbie...
Just trying to do the same here with a youtube video... but only shows me a black screen
This is the code i used
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
<video controls width="620">
<source src="https://www.youtube.com/embed/7-OAyM_LNLc&t=13s?autoplay=1&controls=0"
type="video/webm">
<source src="https://www.youtube.com/embed/7-OAyM_LNLc&t=13s?autoplay=1&controls=0"
type="video/mp4">
<source src="https://www.youtube.com/embed/7-OAyM_LNLc&t=13s?autoplay=1&controls=0"
type="video/ogg">
<source src="https://www.youtube.com/embed/7-OAyM_LNLc&t=13s?autoplay=1&controls=0"
type="video/avi">
Sorry, your browser doesn't support embedded videos.
</video>
</body>
</html>
Really appreciate some help on this:)
MT