WordPress.org

Ready to get started?Download WordPress

Forums

swfObject Reloaded
[resolved] Not working on Mozilla Firefox 16.01 (11 posts)

  1. mascatu
    Member
    Posted 1 year ago #

    Hello!

    Sorry but, for me the plugin doesn't working on Mozilla Firefox 16.01.
    Tested both versions of plugin: 1.5 and 1.6.
    Has anyone experienced the same?

    Thanks!

    http://wordpress.org/extend/plugins/swfobject-reloaded/

  2. CodeAndReload
    Member
    Plugin Author

    Posted 1 year ago #

    Can you be more specific in what isn't working?

    Do you mean the swf isn't appearing and there is a message? Can you inspect the page in firebug, and take a screenshot of the script, and the div embed object?

    You don't have a plugin enquing a different version of swfobject do you?

    Also are you getting any errors in the Javascript console?

  3. mascatu
    Member
    Posted 1 year ago #

    Hello!

    I must understand that you have tested the plugin in FF16.01 and works?
    Well, the problem is the swf area is blank with no error message, but the sound of the swf is working. Weird, I know. Now, here is the source code:

    <object id="swf-329-1" width="640" height="480" type="application/x-shockwave-flash" data="http://www.mysite.com/wp-content/uploads/2012/08/someflash.swf" style="visibility: visible;">
    <script type="text/javascript">
    swfobject.embedSWF("http://www.mysite.com/wp-content/uploads/2012/08/someflash.swf", "swf-329-1", "640", "480", "9.0.0", {}, {base:"http://www.mysite.com/wp-content/uploads/2012/08"});
    </script>

    and here is the script showing in firebug console:

    <div class="swf-background">
    <center><span id='swf-329-1'></span></center>
    <script type="text/javascript">swfobject.embedSWF("http://www.mysite.com/wp-content/uploads/2012/08/someflash.swf", "swf-329-1", "640", "480", "9.0.0", {}, {base:"http://www.mysite.com/wp-content/uploads/2012/08"});</script>
    </div>

    Note that I'am not use any other plugin that will may conflict with yours, except some common javascript. For now, I use your plugin directly included in my custom theme, but I tested your latest version from the official WordPress repository, using the Add Plugin WordPress option from admin area, but no success.
    I also tested the plugin on previous version of Firefox (15.0.1) and everything's fine.
    No error in Javascript console (there is some other errors like facebook or gplus, but nothing regarding to swf).

    Thank you and once again, congratulations for your generosity to creating this plugin for free and the time spent to keep this plugin updated and working!

  4. CodeAndReload
    Member
    Plugin Author

    Posted 1 year ago #

    That is strange.

    You don't have an old version of the plugin somehow active do you?

    There is supposed to be an argument between the swf-version and the flashvars that isn't there.

    I just checked the trunk and tag for 1.6 and it should be outputting that argument.

    Line 275 of wp_swf_shortcode.php should be printing that argument.

    $sw .= ', "" ';

    Try deleting any older versions you have installed and 1.6 and reinstall 1.6 .

  5. mascatu
    Member
    Posted 1 year ago #

    Actually, I use the 1.5 version of the plugin, working on Firefox 15.01 but not working on Firefox 16.01.
    Anyway here is the whole code that I use it directly included in my custom theme. I just change the mc to tigu. I would be grateful if you could identify what is wrong here:

    [ Code moderated, that's just way too much. For that many lines of code please use pastebin.com instead. ]

    Thank you!

  6. CodeAndReload
    Member
    Plugin Author

    Posted 1 year ago #

    I just change the mc to tigu. I would be grateful if you could identify what is wrong here:

    I think it would be alot easier to do that again with 1.6.

    With your code defined and swfobject installed (if both are installed), I'm not going to try to predict if the editor is adding [flashgame] shortcodes or [swfobject] shortcodes.

    The express-install issue is one I explicitly, changed from 1.5 to 1.6 along with proper support for flashvars.

    I strongly recommend against including it in a theme like that, for this very reason, that your code will become out of date very quickly.

  7. mascatu
    Member
    Posted 1 year ago #

    The editor is adding [flashgame] shortcode.

    The express-install issue is one I explicitly, changed from 1.5 to 1.6 along with proper support for flashvars.

    Then, how do you explain that the old version of the plugin(1.5) and the current version(1.6) works properly on the old version of Firefox(15.01) but not working on Firefox 16.01 ?
    I'll try to fix it myself! Thanks anyway!

  8. mascatu
    Member
    Posted 1 year ago #

    I forgot to mention that the both versions of plugin works in Internet Explorer, Opera, Chrome, etc ...

  9. mascatu
    Member
    Posted 1 year ago #

    Robert, was my mistake! After 2 terrible hours, I finally found the fix.
    Believe it or not, all the problems came from style.css:
    Removing transform: translate3d(0,0,0); code from the css file, fix the problem instantly!

    I apologize that I thought it was a problem with your plugin. Actually it works perfectly!

    Best Regards and thank you for your time!

  10. CodeAndReload
    Member
    Plugin Author

    Posted 1 year ago #

    Glad you got it working!

    The editor is adding [flashgame] shortcode.

    If you're using that shortcode ([flashgame]), you are using the version from your theme (1.5), so you probably haven't actually rendered any output from 1.6 and 1.6's functions never fire.

    As for why it works in Firefox with that missing argument (if it does), I'm not sure. I assume that the browser is being more flexible that it currently is.

    Upgrading to 1.6 still wouldn't hurt, especially if you intend to use flashvars.

  11. mascatu
    Member
    Posted 1 year ago #

    Yes, you're right!
    I used that code in css(transform: translate3d...) because in the previous version of firefox, using parameter background-attachment:fixed makes certain portions of the site to disappear on scrolling. Now, with the latest more flexible version of FF, that parameter is no longer necessary. And surely, I will use the latest version of the swfObject Reloaded whether I will use it directly included in my theme, or not.
    BTW, what flashvars is, what is used for? My flash knowledges is limited..

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.