Playing Sounds in Your React App | Tutorial

Playing Sounds in Your React App | Tutorial

Niklas Ziermann

1 год назад

24,488 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Lucas Manoel
Lucas Manoel - 12.11.2023 19:27

Thank you, meu chapa!

Ответить
Gio Losaberidze
Gio Losaberidze - 04.11.2023 19:20

what if i want to play different sounds on different buttons, can u help?

Ответить
Diamondy
Diamondy - 17.10.2023 04:50

Hey there! I'm running into a bit of a hiccup and I hope someone can lend a hand. I'm trying to build my React app, but I keep getting this error message:
Module parse failed: Unexpected character '�' (1:5)
It seems to be related to the sound file (I'm using the same WAV file). Any advice on how to resolve this? Thanks in advance! 👍

Ответить
turgunov
turgunov - 09.06.2023 15:30

thanks man

Ответить
Johnathan Valorant
Johnathan Valorant - 23.05.2023 11:33

nice m8

Ответить
lucas marques
lucas marques - 28.02.2023 05:17

Straight to the point, thank you very much!

Ответить
kas1qqqq
kas1qqqq - 27.02.2023 12:45

how to stop ?

Ответить
Reise
Reise - 26.02.2023 15:53

(edit, added howler)
This worked thanks! But..

after a while I got a "distorted/corrupted" sound. Tried everything, the only fix that worked for me was using Howler library instead of the built in HTML audio player in the video.

$ `npm i howler`

Ответить
Gerenciamento de Bancas em Opções Binárias 🚀
Gerenciamento de Bancas em Opções Binárias 🚀 - 10.02.2023 03:11

TypeScript makes this so hard to accomplish that I just gave up after like 20 stackoverflow searchs with no solution

Ответить
Brandon McHugh
Brandon McHugh - 17.01.2023 02:58

Amazing. This is exactly what I was looking for. THanks!!!!!

Ответить
Nacho Balo
Nacho Balo - 15.01.2023 03:13

Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you.

Ответить
Uilton Santos
Uilton Santos - 04.01.2023 23:13

Hey buddy, I'm using this already in my project.
My question here is: I have some customers that is using the app on the mobile device, so when some new message comes, I dispatch a sound,
but when the device is locked, the sound is not emitted. Do you know any workaround about this?
Thanks in advance.

Ответить
János K.
János K. - 07.12.2022 01:06

Thank you so much <3

Ответить
HARSHIT SUYAL
HARSHIT SUYAL - 30.11.2022 16:43

Thankyou so much brother it’s very helpfull

Ответить
Seraphits Singh
Seraphits Singh - 29.11.2022 16:46

This is what I need. Thank you.

Ответить
bima sena anta
bima sena anta - 28.11.2022 03:47

how to make it play automatically after load

Ответить
Akmal Abid_FIP
Akmal Abid_FIP - 26.11.2022 20:42

thx so much, is there any way that the volume value can be controled with input range ?

Ответить
Chris Graham
Chris Graham - 24.11.2022 22:04

perfect man subbed, thanks a ton!

Ответить