Ionic 2 - Cordova MediaCapture - Video format


I’ve used MediaCapture.captureVideo with limit and duration as options. And play it using HTML5 video. My problem is, when I use only ‘limit’ option, all are working fine. But when I use both limit and duration. the size of the video file is greatly reduced BUT not playing using HTML5 video. Also I noticed that the video format is also changed to 3gpp though it’s remain as mp4 extension. Anyone got an idea how why this happens?