linked linked linkedin whatsapp remove
Feedback

HTML 5 Quiz HTML 5

Which of the following will detect when an HTML5 video has finished playing?

var video = document.getElementsByTagName('video')[0]; video.onended = function(e) { }

var video = document.getElementsByTagName('video')[0]; video.onPlayend = function(e) { }

var video = document.getElementsByTagName('video')[0]; video.onPlayFinish = function(e) { }

var video = document.getElementsByTagName('video')[0]; video.onPlayBackended = function(e) { }

Answer:
var video = document.getElementsByTagName('video')[0]; video.onended = function(e) { }

Note: This Question is unanswered, help us to find answer for this one

Related HTML 5 Questions and Answers:

QUIZACK

Evaluate your skill level in just 10 minutes with QUIZACK smart test system.

Copyright © 2021 Quizack . © 2021 All rights reserved