matvp91 / indigo-player

Highly extensible, modern, JavaScript video player. Handles MPEG-Dash / HLS / MPEG-4 and is built on top of the HTML5 video element.
https://matvp91.github.io/indigo-player/
Apache License 2.0
1.25k stars 66 forks source link

crossorigin attribute configuration #106

Open moortezaa opened 2 years ago

moortezaa commented 2 years ago

Hello I'm trying to refrence a video from another host I have. so I want to set the cross origin attribute on the videos to credentials and some times there shouldn't be a crossorigin attribute at all.

Here is a solution I thought of set the attribute in the config object. and if we set it to false the video tag should not have crossorigin attribute at all

tanks in advance