SID-01076: Bug with EmbedFlashPlugin
| Status: |
Answered |
TWiki version: |
4.1.1 |
Perl version: |
5.8.8 |
| Category: |
EmbedFlashPlugin |
Server OS: |
Red Hat Enterprise Linux 5 |
Last update: |
15 years ago |
We had an issue with this plugin where the OBJECT tag generated does not work in IE. The problem is that it's using the flashId instead of the flashFileName, so it fails when a URL is specified.
Here is a simple patch that fixed the problem for us...
--- EmbedFlashPlugin.pm 2008-12-12 04:25:48.000000000 -0600
+++ EmbedFlashPlugin.pm 2011-01-10 16:46:50.000000000 -0600
@@ -87,7 +87,7 @@
. '<param name="allowFullScreen" value="'
. $flashAllowFullScreen . '" />';
$objectEmbed .=
- $itemSeparator . '<param name="movie" value="' . $flashId . '" />';
+ $itemSeparator . '<param name="movie" value="' . $flashFileName . '" />';
$objectEmbed .=
$itemSeparator . '<param name="FlashVars" value="' . $flashVars . '" />'
if defined $flashVars;
Sorry, I tried to add this to
EmbedFlashPluginDev, but did not have permissions to do so.
--
BenEsacove - 2011-01-11
Discussion and Answer
Thanks Ben. Does this fix work for other browsers as well? I will update the plugin.
--
PeterThoeny - 2011-01-11
The fix isn't needed for Firefox/Opera/Chrome... those use the EMBED tag instead. They still seem to work after applying the patch.
--
BenEsacove - 2011-01-11
Thanks Ben!
This is now fixed. Plugin is updated in SVN and
Plugins.EmbedFlashPlugin.
--
PeterThoeny - 2011-01-12
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.