Is there a way to play a video as an action?

Post your questions and help other users.

Moderator: Martin

Post Reply
jazoom
Posts: 14
Joined: 14 Sep 2014 11:56

Is there a way to play a video as an action?

Post by jazoom » 15 Sep 2014 08:17

I can see there is a way to play audio but I can't see a way to play video. Actually, I can't find any file browser-type functionality that would allow me to do that either.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Is there a way to play a video as an action?

Post by Martin » 15 Sep 2014 15:05

You can use action Start Activity to show a video in a media player app. Following settings should work:
Action: android.intent.action.VIEW
Data URI: file:///storage/emulated/0/video.mp4
Data MIME Type: video/*

You could also use option Explicit Component to request that a particular app opens the video.

jazoom
Posts: 14
Joined: 14 Sep 2014 11:56

Re: Is there a way to play a video as an action?

Post by jazoom » 16 Sep 2014 21:30

Thanks! That sounds like exactly what I want. I'll give it a shot.

jazoom
Posts: 14
Joined: 14 Sep 2014 11:56

Re: Is there a way to play a video as an action?

Post by jazoom » 17 Sep 2014 02:07

Worked perfectly!

Post Reply