Home > front end >  How to have written to join questions in js video player? This video play out, for example, end auto
How to have written to join questions in js video player? This video play out, for example, end auto

Time:10-07

For bosses to reassure, just like the students to see the teaching video now, after reading the pop-up questions

CodePudding user response:

First put the question form in a hidden div,
Events at the end of the video playback (ended) let div displayed,
 
Video object. AddEventListener (" ended ", function () {
Document. The getElementById (" divID ") style. The display="block";
}, false);

CodePudding user response:

At the end of the var md=document. GetElementsByTagName (" video ") [0];
Md. AddEventListener (" ended ", function () {
After zha popup form?..
  • Related