Doesn't trigger on full screen HTML5 video
Opened this issue · 3 comments
Youtube is switching to webm when possible, it would be nice if the screensaver was disabled for it as well.
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
I just installed the kid fork of lightsOn. Did it solve the problem for you?
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.