black screen on embedded video stream

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
mattgrimley
New Cone
New Cone
Posts: 7
Joined: 03 Oct 2014 12:47

black screen on embedded video stream

Postby mattgrimley » 03 Oct 2014 12:59

Hi everyone.. Serious apologies if this has been addressed elsewhere. I have looked, but can't see anything.
I have a tv stream using tvheadend with subtitles being picked up in a very simple webpage (nicked from another thread here).
This is ultimately being picked up by a display tv running xibo but my issue is replicable in internet explorer.

Basically, when the page loads, it's a 50/50 chance as to whether the video is displayed. The audio loads 100%, but half of the time, i don't see anything from the plugin, just a black box. Resizing the window, minimizing or maximising or manually refreshing will often make it appear.. The machines are windows 64bit but running the standard 32bit Internet Explorer with the 32bit plugin. The plugin is installed via the VLC 2.1.5 Rincewind installer (32bit). I can replicate on at least 3 different machine types.

The html i use to embed the video is below (note the script at the top is to enable subtitles - i've tried the same code with the script removed and it makes no difference. sometimes works, sometimes doesnt):

Code: Select all

<!DOCTYPE html> <html> <head> <title>VLC WebPlayer Start Subtitles and Mute Video on page load</title> <script type="text/javascript"> function subtitles() { var vlc = document.getElementById("vlc"); vlc.subtitle.track = '505'; } function start() { timeout = setTimeout(subtitles,2000); } </script> </head> <body bgcolor="#000000" onload=start()> <center> <object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="100%" id="vlc" > <param name="Src" value="http://username:password@internal_address:1234/playlist/channelid/33" /> <param name="AutoPlay" value="True" /> <param name="AutoLoop" value="False" /> <param name="Controls" value="False" /> <param name="ShowDisplay" value="False" /> </center> </object> </body> </html>
Anyone got any suggestions? I did see some discussion about debugging.. but i'm not clear on how to enable that within the code above..

Thanks in advance!
Matt

mattgrimley
New Cone
New Cone
Posts: 7
Joined: 03 Oct 2014 12:47

Re: black screen on embedded video stream

Postby mattgrimley » 08 Oct 2014 12:42

Or to put this another way.. Is there somewhere better i should be posting this? Can't find much in the way of bug reporting or troubleshooting.. and have gotten nowhere with debugging (it seems to have been deprecated)..

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: black screen on embedded video stream

Postby RSATom » 08 Oct 2014 14:36

try FBVLC, maybe it will be better...

mattgrimley
New Cone
New Cone
Posts: 7
Joined: 03 Oct 2014 12:47

Re: black screen on embedded video stream

Postby mattgrimley » 13 Oct 2014 11:57

Thanks for the suggestion RSATom. I had seen that and briefly tried it, but couldn't get the subtitles working.

I've now spent a little bit longer on it and got a html page displaying my feed with subs but i get similar issues. Often the embedded page just doesnt load the video stream though where the vlc plugin yielded just a blank screen, the fbvlc plugin shows the little traffic cone (could just be my html though).
It's frustrating.. I can play it consistently through VLC, but this plugin issue i can replicate on 6 pc's.

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: black screen on embedded video stream

Postby RSATom » 13 Oct 2014 12:02


mattgrimley
New Cone
New Cone
Posts: 7
Joined: 03 Oct 2014 12:47

Re: black screen on embedded video stream

Postby mattgrimley » 13 Oct 2014 22:27

Thanks man, i'll take a look :)


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 26 guests