Display custom title opening VLC from firefox plugin

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
danielfb
New Cone
New Cone
Posts: 1
Joined: 24 Oct 2016 16:16

Display custom title opening VLC from firefox plugin

Postby danielfb » 24 Oct 2016 16:25

Hi all,

I have an application that opens different rstp urls depending on a selection made in a web page. These selection-buttons in the end trigger opening an url like: window.open("rstp://ip:port/live.sdp"); and this is opened in a new VLC. All works fine except that the title in this dialogue new window is the URL itself. Now the customer asks to show a custom title so he knows he is looking at camera 1 or camera 2.

I have tried any URL i could think of but none worked:
rstp://ip:port/live.sdp?title=Camera1
rstp://ip:port/live.sdp?text=Camera1

Is there a way to display a custom title in the opened window instead of the URL?

Thanks,
Dani.

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Display custom title opening VLC from firefox plugin

Postby da2424 » 05 Nov 2016 19:07

Do you mean the HTML document title? Then no, because of the same origin policy.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 8 guests