Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't trigger on full screen HTML5 video #22

Open
lgbaldoni opened this issue Aug 22, 2014 · 3 comments
Open

Doesn't trigger on full screen HTML5 video #22

lgbaldoni opened this issue Aug 22, 2014 · 3 comments

Comments

@lgbaldoni
Copy link

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

@FlorianKuehne
Copy link

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

@lgbaldoni
Copy link
Author

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

@FlorianKuehne
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants