Search found 5 matches

Go to advanced search

by andre85
07 Jun 2018 11:44
Forum: Web and scripting
Topic: Web VLC Plugin Can not re-connect when power cycle
Replies: 9
Views: 2923

Re: Web VLC Plugin Can not re-connect when power cycle

Maybe VLC doesn't dedect an error. Does the MediaPlayerEncounteredError event firing? You can test it with this code: function handle_MediaPlayerEncounteredError(){ alert("Error dedected!"); setTimeout(restartPlayer, 3000); //wait for 3 seconds } It should appear an window with the text &...
by andre85
06 Jun 2018 10:03
Forum: Web and scripting
Topic: Web VLC Plugin Can not re-connect when power cycle
Replies: 9
Views: 2923

Re: Web VLC Plugin Can not re-connect when power cycle

Yes, I forgot that vlc.playlist.stop() is needed before restarting is possible. The following script should work. I have also added a workaround for Internet Explorer 11. CUT Thanks again, i've tried your code as it is but don't work, i see the player but no video start.. Using this code instead: <...
by andre85
01 Jun 2018 17:34
Forum: Web and scripting
Topic: Web VLC Plugin Can not re-connect when power cycle
Replies: 9
Views: 2923

Re: Web VLC Plugin Can not re-connect when power cycle

Hi, i'm also looking for a method to reconnect on connection loss, can you please provide more information about this event? This event fires if the player stops the playback because an error was encountered. For example, this can be an network error. How to say "wait for a while and try to st...
by andre85
28 May 2018 11:02
Forum: Web and scripting
Topic: Web VLC Plugin Can not re-connect when power cycle
Replies: 9
Views: 2923

Re: Web VLC Plugin Can not re-connect when power cycle

You could listen to the MediaPlayerEncounteredError event. If this event fires, wait for a while and try to start the playback again automatically. Here is a sample how you can use events: https://wiki.videolan.org/Documentation:WebPlugin#Example_2 Hi, i'm also looking for a method to reconnect on ...
by andre85
28 May 2018 10:40
Forum: Web and scripting
Topic: Howto reconnect if connection loss with webplayer?
Replies: 1
Views: 1861

Howto reconnect if connection loss with webplayer?

Hi all, i'm using the vlc webplayer to show a video from an hd encoder in our digital signage system. Here is my code: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body leftmargin="0" topmargin="0"...

Go to advanced search