I'm embedding a <video>
tag in a WebView for an Android application for use on the 1st generation Kindle Fire. The video doesn't play when I do video.play()
, but my error callback doesn't get called either. I've tried setting it as an onerror
attribute on the video itself, and also added the event to the element afterwards. According to the spec, it should work, but it doesn't seem to. Any ideas?
video.addEventListener('error', function(err) { alert("error"); });