Answers for "html play video"

8

how to embed videos in html

<iframe src="example.mp4" width="100px" height="100px"></iframe>
Posted by: Guest on May-06-2020
10

html5 video player

<video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag. <!-- Text to be shown incase browser doesnt support html5 -->
</video>
Posted by: Guest on March-21-2020
0

video in html

<video width="200" height="150" controls>
<source src="vid.mp4" type="video/mp4">
<source src="vid.ogg" type="video/ogg">
No video support.
</video>
Posted by: Guest on August-05-2021
1

HTML Video

<video width="320" height="240" controls autoplay muted>

  <source src="movie.mp4" type="video/mp4">

  <source src="movie.ogg" type="video/ogg">

Your browser does not support the video tag.

</video>
Posted by: Guest on May-31-2021
0

html video play

var vid = document.getElementById("myVideo");

function playVid() {
    vid.play();
}

function pauseVid() {
    vid.pause();
}
Posted by: Guest on March-13-2021

Browse Popular Code Answers by Language