Customize Play / Pause / Mute / Seek by own control rather default control

HI , I want to play , pause , seek or mute video by own buttons controls , so may i know how its possible ? also i want to hide the setting option button in video player tool

yes, check out this page https://developers.cloudflare.com/stream/viewing-videos/using-the-player-api for the information needed to remove the default buttons on the player and the javascript functions to call from your own buttons.

1 Like

Yes Thanks, its been working fine just need to declare const player = Stream(document.getElementById(‘stream-player’)) as global instead declaring inside of any element event (like click)