document video vlc

tomeu

New member
Hi there

I have a simple action
document → open with VLC

and it's not working, but tried with uplayer and mxplayer, and they work, why is not working vlc ?

Thanks
 

Dm114

Well-known member
Hi there

I have a simple action
document → open with VLC

and it's not working, but tried with uplayer and mxplayer, and they work, why is not working vlc ?

Thanks
You're right: I never had to try this action before but it doesn't work with VLC on my device neither.

It must be something special with VLC. Let's ask @MacroDroidDev

Did you try using an intent instead?
 

tomeu

New member
You're right: I never had to try this action before but it doesn't work with VLC on my device neither.

It must be something special with VLC. Let's ask @MacroDroidDev

Did you try using an intent instead?
Thanks for testing.

How can I launch it with an intent ? I've never used an intent before.

Thanks
 

Dm114

Well-known member
Thanks for testing.

How can I launch it with an intent ? I've never used an intent before.

Thanks
Here is the syntax below.

The data field contains your video url (such as storage/emulated/0/your_path/your_filename).

Unfortunately when testing I get the following error message "The location « fd://75 » cannot be read", whatever the file url... Is it due to my device? Try it on your side.
 

Attachments

  • 20210831_052923.jpg
    20210831_052923.jpg
    254.4 KB · Views: 11
Last edited:

Dm114

Well-known member
the path must start with file://
and the mime type perhaps with a . (dot) , though I think this is not needed

see this official doc

and post here your experiments for all to know
To check the correct syntax I also used the VLC site but, in the data field of the MD intent action, the word file:// is not mandatory and /absolute_path_file/filename is enough.

It's the reason why it worked for @tomeu.
 
Top