I am trying to play jwplayer videos in my react project, and as documentation suggested I am adding the below code in my public index.html file:
<script
src="http://localhost:3000/jwplayer/jwplayer.js"
type="text/jsx"
></script>
<script type="text/javascript">
jwplayer.key =
"+1bANyiZkLQznP2yV8ky+2NgQqiQmMg3/Sc0tJdhWUPtP51/8zGnxqqw=";
</script>
But getting the above refernce error. Is there any way i can resolve this issue or if any one has integrated the Self-hosted jwplayer in their react js projects.