lightsOn icon indicating copy to clipboard operation
lightsOn copied to clipboard

Doesn't trigger on full screen HTML5 video

Open lgbaldoni opened this issue 11 years ago • 3 comments

Youtube is switching to webm when possible, it would be nice if the screensaver was disabled for it as well.

lgbaldoni avatar Aug 22 '14 14:08 lgbaldoni

I just came her to look because I had the same question. I saw there is a fork https://github.com/iye/lightsOn/pull/14/files which includes this case.

Add lines to lightsOn.sh firefox_html5_detection=1 and # Check if user want to detect HTML Video fullscreen on Firefox, modify variable #24
#firefox_html5_detection if you dont want Firefox detection

if [ $firefox_html5_detection == 1 ];then if [[ "$activ_win_title" = Firefox ]];then # Check if firefox process is actually running
firefox_process=pgrep -lfc "firefox" if [[ $firefox_process -ge 1 ]];then log "isAppRunning(): firefox html5 fullscreen detected" return 1 fi fi fi

FlorianKuehne avatar Jan 08 '15 14:01 FlorianKuehne

I just installed the kid fork of lightsOn. Did it solve the problem for you?

lgbaldoni avatar Jan 10 '15 09:01 lgbaldoni

Yes it worked fine. I just listed added the lines wich i had mentioned above because I changes my script a little bit. But the Fork seemes more advanced anyway, so I guess it should work out of the hood.

FlorianKuehne avatar Jan 10 '15 09:01 FlorianKuehne