Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49215

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

$
0
0

@Valkno wrote:

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!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>