I am using a script to delay screensaver in xubuntu 12.04 while video playing.

However, the script can only detect flash player in Google Chrome. I want to add a new function to detect html5 video playing. I searched a lot but didn't find the shell command to detect html5 video process in Google Chrome.

Could anybody give me some suggestion about it? Thanks.


I had the same question on Ubuntu & Unix Stack Exchange site and I understood that:

The HTML 5 "player" doesn't have any corresponding plugin and the code for it is embedded directly into the browser. So you won't see a process getting forked from Chrome when it's dealing with this type of content.

Thanks to slm for this answer.

Related: How can I determine if HTML5 player is running in browser?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.