提示音新用户来了

发布于 2024-09-06 16:04:15 字数 88 浏览 2 评论 0原文

我正在做私人聊天概念。我想在新用户进来时发出蜂鸣声,该怎么做?当新用户进入时,我将显示所有内容,用户详细信息将出现在管理员端。但同时我想在新用户到来时发出蜂鸣声。

i am doing private chat concept. i want to alert beep sound when new user comes in. how to do? i am displaying every thing when new user comes in user details will comes at admin side. but at the same i want to alert beep sound when new user comes.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

梦纸 2024-09-13 16:04:16

您可以查看新的 标签为 html5,然后为非 html5 浏览器提供后备。

You could look into the new <audio /> tag for html5 and then provide a fallback for non-html5 browsers.

櫻之舞 2024-09-13 16:04:16

在 *unix 中,您可以在 shell 中运行一个简单的命令 < https://www.php.net/exec >像这样:

xmms file.mp3

或将某些文件重定向到 /dev/interface_of_sound

In *unix you can run an simple command in shell < https://www.php.net/exec > like this:

xmms file.mp3

or redirect some file to /dev/interface_of_sound

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文