A plugin that can lauch video url with Mx Player and VLC player
Features
Getting started
if you want to launch video url with mxplayer or vlcplayer ,use it for more information plz check on github repo
Usage
//launch mx
ExternalVideoPlayerLauncher.launchMxPlayer(
videoMap["sources"][0], MIME.applicationMp4, {
"title": videoMap["title"],
});
//launch vlc
ExternalVideoPlayerLauncher.launchVlcPlayer(
videoMap["sources"][0], MIME.applicationXMpegURL, {
"title": videoMap["title"],
});
// launch with xplayer
ExternalVideoPlayerLauncher.launchXplayer(
videoMap["sources"][0], MIME.applicationXMpegURL, {
"title": videoMap["title"],
});
// launc onlinemediaplayer
ExternalVideoPlayerLauncher.launchOnlineMediaPlayer(
videoMap["title"], videoMap["sources"][0], true, "");
// open with avaliable player
ExternalVideoPlayerLauncher.launchOtherPlayer(
videoMap["sources"][0], MIME.applicationXMpegURL, {
"title": videoMap["title"],
});
Additional information
If you wan't to add other player feel free to add and submit pull request or you can add intent guide of player to issue