VLC Web Plugin and jQuery

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
lnsider
New Cone
New Cone
Posts: 1
Joined: 21 Jul 2014 10:49

VLC Web Plugin and jQuery

Postby lnsider » 21 Jul 2014 10:52

I have wrote an jQuery script for my VLC Plugin, that will hold the link from JSON formated code and past it in the plugin for the rtsp link. But I have a problem.

Code: Select all

$.ajax({ type: "GET", url: "/api/stream", processData: true, dataType: 'text', cache: false, success: function (data, textStatus, request) { stream = jQuery.parseJSON(data); var vlc = vlcEmb; var link = stream.rtsp; vlc.playlist.clear(); vlc.playlist.add(link); vlc.playlist.play(); } });


here the code, Mozilla Firefox Firebug show me:

uncaught exception: No such method or arguments mismatch.

How can I fix this?

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests