How to turn off the bevel effect over the controls on the embed player

Max

Administrator
Staff member
Good day.
Embed Player uses a standard HTML5 video controls. If you want to customize it, disable the standard controls
Code:
function playStream(session) {
    let playWidth = 0;
    let platHeight = 0;
    let options = {
        name: streamName,
        display: remoteVideo,
        useControls: false
    };
    ...
    playingStream = session.createStream(options).on(STREAM_STATUS.PENDING, function (stream) {
        ...
    });
    playingStream.play();
}
and implement a custom controls as described in this article for instance.
 
Top