Recent Posts
Online Members

 No online members at the moment

Notifications
Clear all

Godaddy Control Allow Origin


azmanagedit
(@azmanagedit)
Member Admin
Joined: 10 months ago
Posts: 88
Topic starter  

How to enable Cross-Origin Resource Sharing (CORS)

godaddy Control-Allow-Origin

.htaccess

Header set Access-Control-Allow-Origin "*"

or

<IfModule mod_headers.c> 
Header set Access-Control-Allow-Origin *
</IfModule>

Error:
Access to audio at 'https://www.bensound.com/bensound-music/bensound-lesprisonnieres.mp3' from origin 'https://azmanagedit.net' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.Understand this errorAI
www.bensound.com/bensound-music/bensound-lesprisonnieres.mp3:1
GET https://www.bensound.com/bensound-music/bensound-lesprisonnieres.mp3 net::ERR_FAILEDUnderstand this errorAI
wp-audio-viz-02/:1 Uncaught (in promise) NotSupportedError: Failed to load because no supported source was found.

This topic was modified 3 months ago by azmanagedit

   
Quote
Share:

AZ Managed
IT Services llc

Contact us today to request a consultation and discover how our expert solutions can help your business thrive.