Following the https://experienceleague.adobe.com/en/docs/dynamic-media-developer-resources/library/viewers-aem-ass... documentation I was able to create video viewer and load the video which works fine.
I want to disable share icon, fullscreen, progressbar all those things, is there any OOTB param available to do so. I tried by adding uicontrol param but it didn't worked.
var videoPlayer = new s7sdk.video.VideoPlayer({
containerId: "videoContainer",
params: {
asset: "sample/earth",
serverurl: "<<DMURL>>/is/image/",
videoserverurl: "<<DMURL>>/is/content/",
uiControl: "playpause,fullscreen"
},
handlers: {
initComplete: function () {
console.log("Video player initialized");
}
}
});
videoPlayer.init();