Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author CodeAndReload

    (@codeandreload)

    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?

    Thread Starter mascatu

    (@mascatu)

    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!

    Plugin Author CodeAndReload

    (@codeandreload)

    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 .

    Thread Starter mascatu

    (@mascatu)

    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!

    Plugin Author CodeAndReload

    (@codeandreload)

    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.

    Thread Starter mascatu

    (@mascatu)

    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!

    Thread Starter mascatu

    (@mascatu)

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

    Thread Starter mascatu

    (@mascatu)

    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!

    Plugin Author CodeAndReload

    (@codeandreload)

    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.

    Thread Starter mascatu

    (@mascatu)

    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!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: swfObject Reloaded] Not working on Mozilla Firefox 16.01’ is closed to new replies.