Html5 video integration cors origin error

hi. i had implemented playback url in html 5 . i am getting this playback url in video assets api.
but i am getting error “playback url need access token”

Gumlet ;

Gumlet Insights SDK

<video id="my-video" width="640" height="264">
  <source src="https://video.gumlet.io/63319326f53e559435f64daf/6332db8861145c0f880be685/main.mp4" type="video/mp4" />
</video>


<script type="text/javascript">

  // Player configuration
  var playerOptions = {
    preload: false
  };

  // Create the Gumlet Configuration JSON
  var gumletConfig = {
    property_id: 'RwzUGf3_', // required:  please replace with correct property id.
  };

  var video = document.getElementById('my-video');
  
  var gumletInsights = gumlet.insights(gumletConfig);
  gumletInsights.registerHTML5Player(video);

</script>
"this is my code."

Hey, you are trying to play a DRM-protected video without passing the tokens to the player.

For the player to decrypt the video it needs tokens which you can generate on your backend server and pass to the front end via an Ajax request or on page load depending on your technology stack.

You can refer to this doc https://docs.gumlet.com/docs/drm which explains what DRM is and how you can implement it. It also has code snippets to make your integration faster and easier.

Do let me know if you need help.

Thanks