简体   繁体   English

声音通知直接推送给我的用户

[英]Sound notification push direct to my users

This question is not a 'do it for me question' I have spend ages and ages on google trying to find a solution or service 这个问题不是“我愿意为我做的问题”,我在Google上花费了很长时间,试图找到解决方案或服务

I am basically trying to create a notification on my website that I can push to the server and play to my users as and when I need to alert them, 我基本上是想在我的网站上创建一个通知,以便在需要提醒用户时可以推送到服务器并播放用户,

I have a website where my users will react when I have posted information and I need to alert them with sound increasing their reaction time. 我有一个网站,我的用户在发布信息时会做出反应,我需要用声音提醒他们,增加他们的反应时间。

Im using a Joomla 3.2.3 based website 我正在使用基于Joomla 3.2.3的网站

This is previously dicussed here and here 这是以前在这里这里讨论的

I think it is probably most viable to write an ajax-based module that query the server every X seconds, and pop up notifications if there are any. 我认为编写一个基于Ajax的模块每隔X秒查询一次服务器并弹出通知(如果有的话)可能是最可行的。 Using websockets is probably a lot more work, 使用websocket可能需要做更多的工作,

regards Jonas 问候乔纳斯

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM