Black Friday Sale! Save up to 50% off!

Audio player not working

paul25622
8 Posts
paul25622 posted this 04 May 2024
Ask a Question

Hi,

I refer to previous question where you suggested to use your audioplayer.

We have replied 4 days ago but not heard from you, so guess you have lost that ticket.

We have tried your audio player but cannot get it to work at all.

Please see this test page:
https://givealltheheart.nicepage.io/Contactold.html

The track is at the lower end of the screen.

We use this URL to the song:
https://www.givealltheheart.org/Music/Songs/I_Give_My_Heart/I%20Give%20My%20Heart.mp3

(Upload will not work as most songs are too large, so we need to use URL.)

It only works in preview in desktop version, but not in preview at online version - and not at a published page.

Please see also attached picture.

Screenshoot-2024-04-30-14-49-33.png

Do you have a solution?

Have a nice day.

Kind Regards
Emanuel

Hi, I refer to previous question where you suggested to use your audioplayer. We have replied 4 days ago but not heard from you, so guess you have lost that ticket. We have tried your audio player but cannot get it to work at all. Please see this test page: https://givealltheheart.nicepage.io/Contactold.html The track is at the lower end of the screen. We use this URL to the song: https://www.givealltheheart.org/Music/Songs/I_Give_My_Heart/I%20Give%20My%20Heart.mp3 (Upload will not work as most songs are too large, so we need to use URL.) It only works in preview in desktop version, but not in preview at online version - and not at a published page. Please see also attached picture. !Screenshoot-2024-04-30-14-49-33.png! Do you have a solution? Have a nice day. Kind Regards Emanuel

Last edited 04 May 2024 by paul25622

Vote to pay developers attention to this features or issue.
4 Replies
Order By: Standard | Newest
paul25622
8 Posts
paul25622 posted this 06 May 2024

Anyone there?

Anyone there?
Support Team
Support Team posted this 06 May 2024

Hello,

We use this URL to the song:
https://www.givealltheheart.org/Music/Songs/I_Give_My_Heart/I%20Give%20My%20Heart.mp3

Access to this audio has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. It means that you cannot load it this way in the Nicepage Audio element on the website on a different domain/hosting. You should either correct the headers on the original source where the audio file is located or upload it to a different server.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello, We use this URL to the song: https://www.givealltheheart.org/Music/Songs/I_Give_My_Heart/I%20Give%20My%20Heart.mp3 Access to this audio has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. It means that you cannot load it this way in the Nicepage Audio element on the website on a different domain/hosting. You should either correct the headers on the original source where the audio file is located or upload it to a different server. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
paul25622
8 Posts
paul25622 posted this 06 May 2024

Hi Oliva,

Thanks.

Adding this to .htaccess worked:
Header set Access-Control-Allow-Origin ""*

Have a nice day.

Kind Regards
Emanuel

Hi Oliva, Thanks. Adding this to .htaccess worked: *Header set Access-Control-Allow-Origin "*"* Have a nice day. Kind Regards Emanuel
Support Team
Support Team posted this 06 May 2024

Hi Emanuel,

Great!
Please let us know if you need our further assistance.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Emanuel, Great! Please let us know if you need our further assistance. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments