Configure your Media Server to Allow CORS

Your server/CDN hosting the media content must have a CORS configuration that allows the domain from which your player is loaded to access the domain of the stream’s content (if they are different). This is a requirement for any HTML5 playback . Not a Teltoo specific requirement.  Therefore, you would typically have this configuration already in place. However, for reference, if you have an origin server and a CDN, you will need to make sure both support the right CORS headers.

For wide open CORS:

Access-Control-Allow-Origin: *

To open CORS only open to your player domain (e.g., ):

Access-Control-Allow-Origin: <your_player_domain>

Browsers accept only one CORS domain, so if your server returns this line several times, the browser’s AJAX requests will fail.

Nonetheless, CORS is nothing particular to Teltoo; it is the specification used to load resources from different domains asynchronously. For more information about how JavaScript/html5 accesses resources across multiple domains, see CORS’ website here .

Help and Feedback

Please contact us at for additional feedback or assistance.

Copied to Clipboard