Cross-origin request

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
herf
New Cone
New Cone
Posts: 1
Joined: 13 Aug 2014 12:31

Cross-origin request

Postby herf » 13 Aug 2014 13:48

Hi all,

i am wondering whether its possible to access the VLC Web API from a different host?!
I want to write a VLC remote controll app for Firefox OS and want to directly communicate with the API (for example http://myhost:8080/requests/status.json).
Which fails due to the https://en.wikipedia.org/wiki/Same-origin_policy (The request is rejected by the VLC webserver...).

Any suggestions?
Thany you and greets!

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 31 guests