1 <!-- NOTE: The ids in this file must be kept in sync with MultipleVideosTest.java -->
6 function playFirstVideo() {
7 document
.getElementById('firstVideo').play();
10 function playSecondVideo() {
11 document
.getElementById('secondVideo').play();
17 <button id=
"playFirstButton" style='padding:
10px
10px;'
onclick=
"playFirstVideo(); return false">Play first
</button>
18 <button id=
"playSecondButton" style='padding:
10px
10px;'
onclick=
"playSecondVideo(); return false">Play second
</button>
20 <video style='width:
10px; height:
10px;' id='firstVideo' controls
>
21 <source src=
"video.mp4" type=
"video/mp4">
24 <video style='width:
10px; height:
10px;' id='secondVideo' controls
>
25 <source src=
"video.mp4" type=
"video/mp4">