Thanks for advice, I will listen to fullscreenRequested from video_player.js and prevent entering into fullscreen if current file is video.