Page 1 of 1

SOLVED: Raspbian, Firefox, VLC plugin

Posted: 10 Feb 2020 11:54
by the_majkl
Raspbian on Pi3B+, Firefox 52.9.0 ESR, vlc-plugin installed and enabled:
about:plugins
..
VLC Web Plugin
File: libvlcplugin.so
Path: /usr/lib/mozilla/plugins/libvlcplugin.so
Version:
State: Enabled
Version 3.0.8 Vetinari, copyright 1996-2012 VideoLAN and Authors http://www.videolan.org/vlc/

one of mime types handled by the plugin:
..
application/x-vlc-plugin VLC plug-in
..

I have TS stream with MIME type "application/x-vlc-plugin", but Firefox refuses to use vlc-plugin:
console:
HTTP “Content-Type” of “application/x-vlc-plugin” is not supported. Load of media resource http://10.200.100.79:8030/ failed.
Cannot play media. No decoders for requested formats: application/x-vlc-plugin

Why?

VLC player (on the Raspberry) itself can play the stream with no problems (ok, not very smoothly, but it works).

Thanks, Michal

Re: Raspbian, Firefox, VLC plugin

Posted: 10 Feb 2020 13:20
by the_majkl
Ok, it seems the problem is on html5 video tag I was using. When I embed vlc as application, it works, the stream is being played.

Re: SOLVED: Raspbian, Firefox, VLC plugin

Posted: 10 Feb 2020 18:12
by Rémi Denis-Courmont
Firefox dropped support for NPAPI plugins. It's not working "by design", at least from Mozilla's point of view.

Re: SOLVED: Raspbian, Firefox, VLC plugin

Posted: 11 Feb 2020 15:52
by the_majkl
FF ESR (52.9) + browser-plugin-vlc from Raspbian repository and it works with

<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org".
width="1200" height="576" volume=10 controls="no"
name="CT" autoplay="yes" loop="yes" target="http://source:port" />
<body onload="CT.audio.volume = 50;">