how to allow cors in react Player component

Viewed 99

I am trying to render a video that is unfortunately blocked by CORS. https://video-react.js.org/

I am using this component

Has anyone had this issue and solved it?

function SubjectView(props) {

    //let { id } = useParams();

    return (
        <Fragment>
            <div>
                <Player
                    playsInline
                    poster="../../../../assets/images/go.png"
                    src="https://iframe.dacast.com/vod/51363d8c-e7aa-7ed6-9766-6f059f2c22ef/a4f2b763-dc7f-3acc-c6a8-867d06775be6"
                />
            </div>
        </Fragment>

    );
}

export default SubjectView;
0 Answers
Related