VLC for iOS url scheme

iOS, iPad, iPhone, tvOS specific usage questions
tomoji
New Cone
New Cone
Posts: 2
Joined: 19 Jul 2013 03:05

VLC for iOS url scheme

Postby tomoji » 19 Jul 2013 07:07

Installed VLC for iOS and wondering if I can use url schemes.
I'd like to control VLC via other apps with using url schemes like follows:
In order to open the content of "http://stream02.ouj.example.jp:80/1110411_01.wmv", tried following url scheme but in vain.

vlc://http://stream02.ouj.example.jp:80/1110411_01.wmv

Appreciate your help, thank you.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC for iOS url scheme

Postby Jean-Baptiste Kempf » 20 Jul 2013 21:40

Yes, starting next update. 2.0.2
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

tomoji
New Cone
New Cone
Posts: 2
Joined: 19 Jul 2013 03:05

Re: VLC for iOS url scheme

Postby tomoji » 21 Jul 2013 06:50

Thank you for your prompt reply.
I'm looking forward to having next update very soon.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC for iOS url scheme

Postby Jean-Baptiste Kempf » 21 Jul 2013 13:39

We do too.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

klaas
New Cone
New Cone
Posts: 1
Joined: 06 Dec 2013 15:25

Re: VLC for iOS url scheme

Postby klaas » 06 Dec 2013 15:32

Is there any documentation on this? I would like to play a file that is already present in the VLC app for iOS.

I tried to open it by using "vlc://MyVideo.mov" but had no success. VLC opens, but only displays "Playback failed".

Thanks in advance!!

fkuehne
Developer
Developer
Posts: 7183
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC for iOS url scheme

Postby fkuehne » 08 Dec 2013 15:31

The current vlc:// implementation doesn't work that way. It can be used to force-open external files or streams instead of playing them with other apps or system services. There is no way to access files stored within the VLC context from within other apps.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Mpittinger
New Cone
New Cone
Posts: 6
Joined: 25 Apr 2015 03:12

Re: VLC for iOS url scheme

Postby Mpittinger » 25 Apr 2015 03:16

Just curious as to whether the ability to launch a file stored on the device through the vlc:// scheme is now supported in the latest version of VLC for iOS?

fkuehne
Developer
Developer
Posts: 7183
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC for iOS url scheme

Postby fkuehne » 26 Apr 2015 12:23

No, we did not come around to that as there is still no way to get a list of currently stored files within the VLC context from the outside, so I'm not quite sure how this is supposed to work.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Mpittinger
New Cone
New Cone
Posts: 6
Joined: 25 Apr 2015 03:12

Re: VLC for iOS url scheme

Postby Mpittinger » 02 May 2015 15:41

What I was hoping for was the ability to call a specific method (perhaps "play"?) using the VLC URL callback scheme that would allow for a specific video file name to be passed as a parameter. If the file was present in the VLC Library, the file would play in VLC, and then return to the application that called the file. If the file was not present in the VLC Library, the method would return an error.

This type of deep linking would be very useful to build into workflow apps on a mobile device that run locally, and may not always have access to a consistent internet connection.

fkuehne
Developer
Developer
Posts: 7183
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC for iOS url scheme

Postby fkuehne » 02 May 2015 20:34

That's feasible and actually exactly the way how our x-callback-url support works for streams. However, how is the calling app supposed to know if there is even a chance to have a file of a given name store within VLC's app context?
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Mpittinger
New Cone
New Cone
Posts: 6
Joined: 25 Apr 2015 03:12

Re: VLC for iOS url scheme

Postby Mpittinger » 04 May 2015 21:40

I work in the public utility industry so we have many job aid documents that walk our employees through the unique nature of operating or maintaining specific facilities/assets.

Right now, we are posting video help files on YouTube so that our techs can access the correct document at the correct time in a guided workflow app. The workflow app is dynamically pointing to the correct URL based upon which asset is selected in the current form using a lookup table in the workflow app. Some of these video files can be quite large, and connectivity in the field can be an issue, so if we had the video files stored on the local device, we would simply point the URL scheme to use the correct local file instead of pointing to the web file (the workflow app will function off-line). Since these would be standard video files loaded over all of our mobile devices, in theory it would work quite well.

I've been struggling to find a video player that would support a URL Callback method to play locally stored files for this reason for some years. Anything that you could do would be greatly appreciated!

fkuehne
Developer
Developer
Posts: 7183
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC for iOS url scheme

Postby fkuehne » 04 May 2015 22:12

We can probably find a solution for that indeed.

btw. did you consider deploying our playback engine in your custom app itself? so you don't need to switch applications? Our API is about as simple as QuickTime's. You can find a basic introduction on my blog: http://feepk.net/2014/12/02/mobilevlcki ... it-part-1/
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Mpittinger
New Cone
New Cone
Posts: 6
Joined: 25 Apr 2015 03:12

Re: VLC for iOS url scheme

Postby Mpittinger » 04 May 2015 22:38

For us it would be ideal if it worked using the URL Callback method, because we are using a "drag and drop" mobile app building application (Flowfinity Actions, flowfinity.com). This application allows the "non-programmer" to build very robust mobile apps (that include URL deep linking), but it don't think that it would work well with the playback engine that you mentioned - although I very much appreciate the thought and suggestion!

Thanks for the quick replies and the consideration for the expanded functionality!

Mpittinger
New Cone
New Cone
Posts: 6
Joined: 25 Apr 2015 03:12

Re: VLC for iOS url scheme

Postby Mpittinger » 17 Jun 2015 22:45

Hello!

Just checking in to see if you may have a very rough timeframe in mind as to when this ability to invoke a specific video file stored on the mobile device through a URL scheme could be enabled in VLC?

I fully recognize that I'm begging with nothing of any value to offer in return; but I would sincerely appreciate any feedback that you may be able to provide.

Thanks!
Mike

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

Re: VLC for iOS url scheme

Postby dfuhrmann » 18 Jun 2015 07:41

to when this ability to invoke a specific video file stored on the mobile device through a URL scheme could be enabled in VLC?
Generally, this is not possible because Apple forbids it. So you should ask them about timeframes and such. :-)

Mpittinger
New Cone
New Cone
Posts: 6
Joined: 25 Apr 2015 03:12

Re: VLC for iOS url scheme

Postby Mpittinger » 18 Sep 2015 17:51

At the risk of being a pest, just checking to see if you have been able to make any progress in adding the functionality to call the playback of a local file on a mobile device using the VLC for iOS URL scheme? If not, is this on your development roadmap? Please?????

fkuehne
Developer
Developer
Posts: 7183
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC for iOS url scheme

Postby fkuehne » 22 Sep 2015 09:49

Yes, this is ticket 10083, but nobody worked on this so far as we are still busy with moving to iOS 9 and watchOS 2.

If you would like to help us in getting this done soon, you are welcome to have a look at VLC's sources. Just PM me and I'll get you going. :)
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 2 guests