<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>Media Engagement Test</title> | |
<video autoplay src="engagement_valid_video.webm" id="video"></video> | |
<script> | |
document.getElementById("video").play().then(function() { | |
window.document.title = "Allowed"; | |
}, function() { | |
window.document.title = "Denied"; | |
}); | |
</script> |