I am a total beginner at coding. Just have some basic knowledge of HTML and CSS.
I want to create an HTML that includes a local time (e.g. UTC 23:00:12), and I want to make this HTML to auto-play an mp3. file at a specific time (e.g. 23:00:15).
I’ve found a widget clock at the time.is at have embedded into my code at HTML. What I want to do is everyone who opens this HTML would follow the exact time provided by time.is so that the mp3. the file can be auto-played at an exact time (e.g. 23:00:15).
Please anyone would advise what should I do about this?
cheer
Here is the code of the widget from time.is:
<a href="https://time.is/Central,_Hong_Kong" id="time_is_link" rel="nofollow" style="font-size:36px">Time in Central:</a>
<span id="Central__Hong_Kong_z419" style="font-size:36px"></span>
<script src="//widget.time.is/t.js"></script>
<script>
time_is_widget.init({Central__Hong_Kong_z419:{}});
</script>