VLC URL Scheme callback

iOS, iPad, iPhone, tvOS specific usage questions
cdhknetz
Blank Cone
Blank Cone
Posts: 15
Joined: 26 Jul 2014 14:56

VLC URL Scheme callback

Postby cdhknetz » 26 Jul 2014 15:00

Dear friend,

thanks for the good VLC player. I see the VLC has the URL Scheme which could be called by another APP or just Safari, so i want to "intergrate" it into my website, and now from my site to VLC goes well.

But I want to return back to my APP, so the URL does not support callback? Could you please complete it?

thanks in advance.

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

Re: VLC URL Scheme callback

Postby fkuehne » 29 Jul 2014 22:06

Patches welcome. I have no idea how to implement such a thing in a correct way.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

cdhknetz
Blank Cone
Blank Cone
Posts: 15
Joined: 26 Jul 2014 14:56

Re: VLC URL Scheme callback

Postby cdhknetz » 31 Jul 2014 06:59

Dear,

I have no ios dev-enviroment, but another friend give me the document for this purpose(contains also the sample codes), see below:

http://x-callback-url.com/

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

Re: VLC URL Scheme callback

Postby fkuehne » 31 Jul 2014 09:47

Good point, thanks for the reminder. I'll check that!
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

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

Re: VLC URL Scheme callback

Postby fkuehne » 05 Oct 2014 18:20

Just for your interest, the next version of VLC for iOS will add support for a proper URL scheme callback based on x-callback-url :)
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

cdhknetz
Blank Cone
Blank Cone
Posts: 15
Joined: 26 Jul 2014 14:56

Re: VLC URL Scheme callback

Postby cdhknetz » 11 Oct 2014 01:04

Good news!

I am waiting for that...

could you kindly tell us when the upgrade should happen?

thanks for your effort!!

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

Re: VLC URL Scheme callback

Postby fkuehne » 13 Oct 2014 19:31

As soon as VLC for iOS is back on the app store, this change will be in. Regrettably, I can't say when that will be.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

yairmarx
Blank Cone
Blank Cone
Posts: 34
Joined: 19 Jul 2013 19:21

Re: VLC URL Scheme callback

Postby yairmarx » 15 Oct 2014 21:50

Felix-

Was it pulled for compatibility reasons with ios 8 and the new big screen iphones? Or was there another reason it was pulled?

cdhknetz
Blank Cone
Blank Cone
Posts: 15
Joined: 26 Jul 2014 14:56

Re: VLC URL Scheme callback

Postby cdhknetz » 04 Nov 2014 23:26

As soon as VLC for iOS is back on the app store, this change will be in. Regrettably, I can't say when that will be.
Dear Felix Paul Kühne

i see the new version is published. Could u tell us the URL rules in details? how can we return to the source APPs?

thanks very much

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

Re: VLC URL Scheme callback

Postby fkuehne » 06 Nov 2014 17:16

There is no new app from us available on the app store. If you are referring to "VLC streamming player" or something like, it's a clone I'm taking down right now.

Details on the new callback scheme are detailed in https://git.videolan.org/?p=vlc-ports/i ... ob;f=NEWS;
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

brownox
New Cone
New Cone
Posts: 1
Joined: 18 Jul 2014 11:04

Re: VLC URL Scheme callback

Postby brownox » 19 Nov 2014 07:02

That is great news Felix Paul Kuehne. It scared me when VLC disappeared form the app store with no explanation. I know y'all don't get paid enough to issue press releases, but the lack of information regarding its absence was alarming. To be frank, if there is no VLC for iOS8, I will not be getting a iPhone 6.

Love you guys. Keep up the great work.

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

Re: VLC URL Scheme callback

Postby fkuehne » 25 Nov 2014 15:56

There will be a VLC for iOS 8. The code is done. I just can't tell yet when it will be out. And sorry for the lack of info on this matter. There are serious reasons why we are calm.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

cdhknetz
Blank Cone
Blank Cone
Posts: 15
Joined: 26 Jul 2014 14:56

Re: VLC URL Scheme callback

Postby cdhknetz » 01 Mar 2015 01:46

Dear,

today i see the new VLC version which supports the URL Scheme callback, and i test it, the result is:

My hyperlink is:
<a href="vlc-x-callback://x-callback-url/stream?url=rtsp://user:pass@111.222.1.2:554/h264/ch1/sub/av_stream&x-success=myapp://com.my.app?openurl=http://www.google.com">VLC2.4.1---</a>

the stream video can be opened successfully, can click "done" i can also return back. But the problem is when i return back, the link "http://www.google.com" can not be opened.

In my APP the "openurl=xxx"flag is used to open URL action when i return back, and if we use "openurl=" (leave blank URL) the back action should be the last opened page.

please check it,

thanks

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

Re: VLC URL Scheme callback

Postby fkuehne » 01 Mar 2015 22:35

Do you correctly escape your success URL?
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

cdhknetz
Blank Cone
Blank Cone
Posts: 15
Joined: 26 Jul 2014 14:56

Re: VLC URL Scheme callback

Postby cdhknetz » 02 Mar 2015 02:48

Ofcourse, i have already used the same callback URL in other apps.

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

Re: VLC URL Scheme callback

Postby fkuehne » 02 Mar 2015 10:01

Please send me your full URL in a private message so I can try to reproduce your issue.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

cdhknetz
Blank Cone
Blank Cone
Posts: 15
Joined: 26 Jul 2014 14:56

Re: VLC URL Scheme callback

Postby cdhknetz » 05 Mar 2015 08:54

hello

the message has been sent to you.

thanks in advance

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

Re: VLC URL Scheme callback

Postby fkuehne » 06 Mar 2015 12:09

Thanks!
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

cdhknetz
Blank Cone
Blank Cone
Posts: 15
Joined: 26 Jul 2014 14:56

Re: VLC URL Scheme callback

Postby cdhknetz » 12 Apr 2015 15:21

Hello,

did you test my URL callback?

I have used the newest version 2.5.0, but the callback url is not rightly worked. the x-success parameter can be used just open the other APP, but not the APP-website.

emohex
New Cone
New Cone
Posts: 1
Joined: 31 Aug 2016 15:58

Re: VLC URL Scheme callback

Postby emohex » 31 Aug 2016 16:09

hi...i need more insight into how to use the call backs..currently i want to stream media to mobile device through my website ..but this mobile devices cant view it through the vlc i embedded in my website ...how can i use callbacks to open vlc players in andriod windows and iphones ..so that this devices can view what am streaming

thank you


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

Who is online

Users browsing this forum: No registered users and 32 guests