How to display video in mobile

Hi i want to display the video on overlay in mobile devices. if i used videojs it dispaly the video on full screen instead of display it on overlay but in broswer it play on overlay. how to play video on small screen. any one give solution to this.

i want to play the video like web broswer. instead of display it on full screen

Unfortunately, I think it’s the device’s native default to play a video fullscreen.

Has the video been reformatted to play on multiple devices? This rendering process needs to occur if it can be streamed properly.