Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- element.height = 200;
- element.width = 200;
- element.appendHtml("""<video width="400" controls>
- <source src="mov_bbb.mp4" type="video/mp4">
- <source src="mov_bbb.ogg" type="video/ogg">
- Your browser does not support HTML5 video.
- </video>
- """);
- element.querySelector('#video');
- element.play();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement