Page 1 of 1

VLC URL Scheme callback

Posted: 26 Jul 2014 15:00
by cdhknetz
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.

Re: VLC URL Scheme callback

Posted: 29 Jul 2014 22:06
by fkuehne
Patches welcome. I have no idea how to implement such a thing in a correct way.

Re: VLC URL Scheme callback

Posted: 31 Jul 2014 06:59
by cdhknetz
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/

Re: VLC URL Scheme callback

Posted: 31 Jul 2014 09:47
by fkuehne
Good point, thanks for the reminder. I'll check that!

Re: VLC URL Scheme callback

Posted: 05 Oct 2014 18:20
by fkuehne
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 :)

Re: VLC URL Scheme callback

Posted: 11 Oct 2014 01:04
by cdhknetz
Good news!

I am waiting for that...

could you kindly tell us when the upgrade should happen?

thanks for your effort!!

Re: VLC URL Scheme callback

Posted: 13 Oct 2014 19:31
by fkuehne
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.

Re: VLC URL Scheme callback

Posted: 15 Oct 2014 21:50
by yairmarx
Felix-

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

Re: VLC URL Scheme callback

Posted: 04 Nov 2014 23:26
by cdhknetz
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

Re: VLC URL Scheme callback

Posted: 06 Nov 2014 17:16
by fkuehne
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;

Re: VLC URL Scheme callback

Posted: 19 Nov 2014 07:02
by brownox
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.

Re: VLC URL Scheme callback

Posted: 25 Nov 2014 15:56
by fkuehne
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.

Re: VLC URL Scheme callback

Posted: 01 Mar 2015 01:46
by cdhknetz
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

Re: VLC URL Scheme callback

Posted: 01 Mar 2015 22:35
by fkuehne
Do you correctly escape your success URL?

Re: VLC URL Scheme callback

Posted: 02 Mar 2015 02:48
by cdhknetz
Ofcourse, i have already used the same callback URL in other apps.

Re: VLC URL Scheme callback

Posted: 02 Mar 2015 10:01
by fkuehne
Please send me your full URL in a private message so I can try to reproduce your issue.

Re: VLC URL Scheme callback

Posted: 05 Mar 2015 08:54
by cdhknetz
hello

the message has been sent to you.

thanks in advance

Re: VLC URL Scheme callback

Posted: 06 Mar 2015 12:09
by fkuehne
Thanks!

Re: VLC URL Scheme callback

Posted: 12 Apr 2015 15:21
by cdhknetz
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.

Re: VLC URL Scheme callback

Posted: 31 Aug 2016 16:09
by emohex
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