Replies: 1 comment 2 replies
-
Hi @manosrh, thank you for reaching out! The logic to achieve this should be straightforward, in the websocket endpoint (which is connected in the template) you see the current property of the timer. That is equivalent to the value of the running timer (in milliseconds) You would only need to check if the value received triggers your flag and start the sound using a audio API. Quick reminder that this will change with v3 and I will make a new template once v3 is out |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm asking for some help on creating a custom viewer (using Ontime-viewer-template-v2 (https://github.com/cpvalente/Ontime-viewer-template-v2 maybe).
But I need to enhance a new feature:
--> I need the browser to play a sound when the countdown reaches one minute before finish.
The application is amazing! I understand that this feature is not in the team's priorities, but I think it will be useful for many people!
Is it possible to make it work with custom HTML, CSS and JS?
Beta Was this translation helpful? Give feedback.
All reactions