Is anyone here able to trigger a Cloudflare Stream video via javascript to `player.play();` or `play

Is anyone here able to trigger a Cloudflare Stream video via javascript to player.play(); or player.pause();

I have a button on my webpage that will display an overlay with the video. All the javascript calls and flow are correct, but when calling play() or pause() they just do nothing.

I'm following the example documented here: https://developers.cloudflare.com/stream/viewing-videos/using-the-stream-player/using-the-player-api/

Anyone else figure this out? Am I missing something obvious here?
Was this page helpful?