Tags:
create new tag
view all tags

SID-01076: Bug with EmbedFlashPlugin

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Bug with EmbedFlashPlugin
SupportCategory EmbedFlashPlugin
TWiki version 4.1.1
Server OS Red Hat Enterprise Linux 5
Web server Apache 2.2.3
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2011-01-12 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.