# Video flipped using $cordovaCapture

**URL:** <https://forum.ionicframework.com/t/video-flipped-using-cordovacapture/61996>\
**Category:** ionic-v1\
**Created:** [August 30, 2016, 7:38am UTC](https://forum.ionicframework.com/t/video-flipped-using-cordovacapture/61996 "2016-08-30T07:38:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kov\_lxrumba47](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@kov\_lxrumba47](https://forum.ionicframework.com/u/kov_lxrumba47)\
**Post date:** [August 30, 2016, 7:38am UTC](https://forum.ionicframework.com/t/video-flipped-using-cordovacapture/61996/1 "2016-08-30T07:38:17Z")

</div>

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??
