I am currently working on a project that requires monitoring video playback events and being able to print LOG logs. After some thought, I implemented this function using javascript. The code is as follows:
HTML:
Multi Source
JS:
Friends, just read the ideas of this article. I hope it will be helpful to everyone