Hi,
I created a page which works well with the 0.8.5 mozilla plugin. Meanwhile the 0.8.6 is released and this page crashes at some method calls. It seems that 0.8.6 plugin is not fully compatible with the old API. The new API is only usable if the "VideoLAN.VLCPlugin.2" is included in the embed tag, right?
So i want to rewrite my page to detect the version of the plugin and if it is the new one include the new API's method calls etc. but it should be working with the old plugin as well...
How to detect "officially" if it is the old or the new version of the plugin?
I tried a suggestion from the new API's topic:
if (typeof oVLC.VersionInfo == "undefined")
// do things for 0.8.5 and before
else if (oVLC.VersionInfo.indexOf("0.8.6") != -1 )
// do things for 0.8.6
...
but it doesn't work for me...