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

Refresh page with video content #203

Open
royatkup opened this issue Nov 14, 2024 · 0 comments
Open

Refresh page with video content #203

royatkup opened this issue Nov 14, 2024 · 0 comments

Comments

@royatkup
Copy link

I use the kiosk mode to render a video file (.mp4)
as well index.html as also the .mp4 file are stored local on the RPI

In the crontab I refer to a script which downloads a few times a day (in case it's updated) the mp4 file, this works great.
It also refreshes the website with the command:

DISPLAY=:0 xdotool key ctrl+R

Problem is, when we use the command like mentioned above, it keeps showing the same video.
Only after a reboot, or manual restart the chromium-browser it will show the new video.

I assume because the video is stored somewhere in the cache of the browser.
To resolve that, I have tried the following commands instead:

DISPLAY=:0 xdotool key ctrl+shift+R

and

DISPLAY=:0 xdotool key F5

With both commands you see the page is reloading, but it does not load the new video file.

Anybody have an idea?

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

1 participant