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:
Thanks to slm for this answer.
Related: How can I determine if HTML5 player is running in browser?