Source code
Revision control
Copy as Markdown
Other Tools
<!doctype html>
<script>
function openVideo() {
var w = window.open('', '', 'width = 640, height = 480, scrollbars=yes, menubar=no, toolbar=no, resizable=yes');
w.document.open();
w.document.write('<!DOCTYPE html><title>test popup</title><audio controls src="audio.ogg"></audio>');
w.document.close();
}
</script>
<button onclick="openVideo()">Open video</button>