Search found 2 matches

Go to advanced search

by scottw
02 Feb 2011 18:10
Forum: VLM
Topic: JSON web interface
Replies: 11
Views: 7874

browse.jsonp.html

There's an extra new-line (or something) being returned by file.date, which this version trims off in order to not break the JSONP response. You can try it out in your fav' browser with something like: http://127.0.0.1:8080/browse.jsonp.html?callback=jsonp&dir=c:/ - the jQuery usage would be sim...
by scottw
28 Jan 2011 23:45
Forum: VLM
Topic: JSON web interface
Replies: 11
Views: 7874

Re: JSON web interface

For jQuery and JSONP: $.getJSON('http://192.168.1.10:8080/vlc_cmd.jsonp.html?callback=?', { command: "status" }, function(status){ alert( 'Status: ' + status.stream_state ); } ); On the VLC http server - vlc_cmd.jsonp.html : <vlc id="if" param1="0"/> <!-- - - - - - - -...

Go to advanced search