How to play a sound file at different specific times of the day

I'm an amateur web designer tasked to create a small intranet site for our department. I need help in setting up an embedded sound file (wav or mp3) to play at specific times of the day using Javascript. This will serve as an alarm for us to perform tasks which are time-critical. Example would be to play the sound file a certain number of minutes before the intended time eg. 9:29AM, 5:58PM. Any help will be greatly appreciated. Thanks in advance.
Whilst this is a valid question, it's a horrible idea in my opinion! Playing sounds in JavaScript as a schedule/reminder system is the wrong tools for the wrong job!

以上就是How to play a sound file at different specific times of the day的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏