How to launch app (Mx Player, or another video player)?


#1

Hi.

I have a problem, I want to launch MxPlayer(or another player) and play one video.

Example:

<ion-view view-title="Mirrors">
  <script type="text/javascript">

  </script>
  <ion-content class="padding">

    <a class="button button-block button-positive" ng-repeat="item in mirrors" ng-click=" here ">Mirror {{$index}}</a>
  
  </ion-content>

</ion-view>

Controller:

.controller('mirrorServ', function($scope, $http, $state) {
  $http.get('js/mirrors.json').success(function(data){
    $scope.mirrors = data;
  });
})

JSON File:

['https://mirror.com/video1.mp4', 'https://mirror.com/video2.mp4', 'https://mirror.com/video3.mp4' ]

I need to click the button to load the video with MxPlayer (or another player).

Someone knows some solution possible?

Thanks!