@Matthijs:
It's perfectly ok with me to summarise like you do! However, I don't really understand (or agree with) your conclusions...
1. You seem to insist on considering the VLC browser plugin as
*A PART OF* the VLC Media Player. It is not. I'm not sure whether your installation (maybe on Windows) is bundling the two, therefore making the plugin seem like it's a library of the player itself, but for me (using Linux and aptitude package manager) it is two completely different pieces of software installed separately. (Obviously, there is a dependency from the plugin to have VLC player itself, but there is no dependency the other way around.) If a vulnerability is found in e.g. one of the codecs used by the VLC player, somebody (release responsible for that codec) is releasing a new version. In that case, any software using this topical codec also needs to pull in the new version (replace the old codec version), re-run their tests, possibly fix sxomething and finally compile their software package with the new codec and release the outcome with a new version number. The browser plugin *IS NOT* such a library -- it is not pulled in and causing a recompile of the VLC media player in a similar manner. Given that interfaces are not changed, the old plugin is still able to make the new version of VLC media player work within the browser frame. I don't have to upgrade the plugin, and all the distributors (e.g RedHat, Ubuntu/Canonical, Apple, ...) won't have to push a new plugin version to their users (similar to Windows update, if you are a Windows user).
2. Now you write this:
The browser, wanting to make sure their users use up-to-date and secure software with up-to-date and secure plugins. So when VLC released version 2.1.5 of the main program, it is in their best interest to alert their users to that fact and suggest they download the new version. The problem is, when asking the plugin for its version it receives the plugin version, 2.1.3. The plug-in itself wasn't insecure or outdated to begin with. That leaves the question of how Firefox is to know when they should alert their users.
Even though I think I understand your intent, I also think there are misundertandingings causing this discussion to go on, and really -- we need to get this straight so people (i.e. we, the users) can start bugging Mozilla rather than peppering VideoLAN's forums/support with these things!
The browser, wanting to make sure their users use up-to-date and secure software with up-to-date and secure plugins.
The browser should not care one single bit about other software I am running on my computer except for the browser itself and its plugins.
So when VLC released version 2.1.5 of the main program, it is in their best interest to alert their users to that fact and suggest they download the new version.
As long as you mean VideoLAN by "their best interest", yes. If you mean Firefox, absolutely not! Why on the earth should Firefox care about which version of VLC (or Libre Office or Adobe Acrobat or whatever) I am running on my computer? I have a system distributor for that (in my case Canonical, providing timely updates to any package I have installed via Ubuntu Software market)
*AND* this is the exact reason why VLC media player is checking for new versions at startup just like you point out yourself. I don't want Mozilla to start checking whatever runs on my computer, and I really don't think you do either.
And finally: How do they even know that VideoLAN released the new version 2.1.5 in your case? Certainly VideoLAN didn't tell them anything about any update to the browser plugin (which hasn't taken place), and I have no idea where they picked up the update to the media player. Furthermore, I don't understand why they make any assumption such as this (i.e. browser plugin being updated) without even checking with VideoLAN, who is the one and only authoritative source of version information for the VLC products. The only reason I can see for this is Mozilla's habit of synchronising the versioning of their products, but really -- they are among the few, and they should not expect others to do the same.
So what we want is for Firefox to see is "this is plugin version 2.1.3 using program version 2.1.5, so all is well".
No, I don't want or need Firefox to see this, and I don't understand why anyone else would want to use Firefox as their "version control agent". In my eyes, there is nothing to fix in NPAPI to support such a thing, but Mozilla needs to realise the architecture and the fact that they cannot control the entire computer of their users.
What I truly don't understand, even when VLC would be absolutely right in their position, is that it is in their best interest as well to have Firefox alert their users to the fact that a new version of VLC is released and that they should go and download it. Isn't that what you want too?
Nope again. (Well, I cannot speak for VideoLAN, obviously, but at least for myself as a user...and I would guess it's very likely to go on behalf of VideoLAN as well...) If a new version of the
*browser plugin* is released, however,
THAT is a different matter, and exactly the difference between those two things is what this entire thread is trying to explain. (Again: If a new version of the VLC player is released, the player would tell you upon startup, independent of Mozilla/Firefox and/or whether the plugin is used, and in my case, the new version would also get pushed by my system update feature, managed by the distributor.)
Currently, there is a lot of doubt about how secure VLC is, because Firefox says so, and while technically incorrect, it does affect user opinion.
Yes, and this is the reason I'm getting upset, writing a lot more than I should and also reporting this to Mozilla, as in my eyes it's plainly a bug on their side! Rather than arguing in this thread, we should all push on Mozilla to fix the problem asap, as both the VLC browser plugin and Firefox are very popular and widespread software packages used by a less tech savvy audience, who shouldn't be falsely scared like this!
Lastly, I do want to point out the difference between a software suite, with all software having the same version, and all of the software of the same vendor.
Sure, my comparison was maybe far fetched (or plainly stupid), sorry,
*BUT* you are now considering the "branding version" from Microsoft, and your assumption about "a software suite, with all software having the same version" is false. On my virtual Windows machine, I am running MS Office 2010. However, we all know that there are numerous "service packs" and fixes (many of them also security/vulneraility improvements) pushed through Windows update all the time, exactly like what is happening to the VLC media player. if you look at the real version numbers for the products inside the MS Office package, here's what I currently have:
- Outlook v14.0.7128.5000
- Excel v14.0.7140.5002
These are not the same. (Also, your example comparing Office 2016 to 2013 would be more equivalent to VLC player v1 to v2 (or v2 to future v3) -- this means Microsoft is shrinkwrapping a new top level version of the suite, which holds completely new versions of the products...at least a makeover, but commonly also feature additions. I think the difference between the version numbers I've included above for Outlook and Excel compares better to the 3rd level update from 2.1.3 to 2.1.5 discussed here; The diff between Outlook and Excel are at the 3rd level just like 2.1.3 vs. 2.1.5, the 3rd level updates are handled fairly similarly (Windows update vs. VLC update) and probably the updates are holding approximately the same amount/level of changes, I would guess.)
PS. What do you do when the plugin has a bug which is fixed? Does the VLC program (and suite) version remain the same? (download VLC version 2.1.5 now! again! because it's changed! really!)
Well, it's kind of funny that you end by asking this question, really, since this is exactly when Firefox
*should* tell you that your plugin is outdated and that you should upgrade...
As mentioned earlier: There is no need to relase the VLC media player again to fix something in the browser plugin (given that APIs are kept unchanged etc.). On my part, I will have the new version of the plugin pushed by my package system, and this is the exact moment that Mozilla should start caring. If this would happen, I assume that VideoLAN would inform Mozilla asap when a new version of their browser plugin is available.
On the contrary, when the player itself gets upgraded, and VideoLAN is
*NOT* releasing anything to the Firefox plugin market, why does Mozilla start assuming something??!
(If, in your Windows installation binary package aka the VLC-intall.exe, the plugin is bundled, it would simply ask to be upgraded after installation, I guess. This is more or less like Windows asks to have all service packs and fixes downloaded and installed if you reinstall your computer from a DVD or from a rescue partition. In my case, the browser plugin is not bundled with the player, and I have to admit I haven't bothered checking other versions for other platforms.)
You end off saying
[...] then VLC and Firefox should cooperate towards a solution.
I think we all agree, and the single thing VLC can really do is to report to Mozilla that Firefox' is currently creating a mess for both VideoLAN (whose poor people have to read all of this and answer the same questions over and over 52365 times) and for all the users.
What WE (the users) should do is moving to Mozilla's support forums and report the problem there. That's the only way to get the problem fixed, really, and it's also the correct audience for our expessions of unhappiness. (FYI: I also have problems with Adobe Flash plugin -- the effect is the same, i.e. Firefox constantly whining about a vulnerable version even though I have the very latest release, but in this case it's technically a slightly different reason.)
So everyone: Go file the problem with Mozilla!
Cheers