@kov_lxrumba47 wrote:
when recording the video in landscape, the video played by HTML5 video element is fine. However, when the video is recorded in portrait, the video played by HTML5 video element comes flipped. I am using cordova@6.3.0 and ionic@1.7.12.
Sample Code:
Controller
$scope.$on('$ionicView.beforeEnter', function(e) { var options = { limit: 1}; $cordovaCapture.captureVideo(options).then(function(videoData) { alert(JSON.stringify(videoData[0].fullPath)); $scope.clipSrc = $sce.trustAsResourceUrl(videoData[0].fullPath); //$scope.videoSrc = videoData[0].fullPath; }, function(err) { alert('Err: <br />'+ JSON.stringify(videoData)); });
HTML
<video id="myvideo" autoplay width="480" height="360" controls="controls" src="{{clipSrc}}" type="video/mp4"> </video>
Has anybody recently faced the same problem as mine??
Posts: 1
Participants: 1