Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

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?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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