Support » Plugin: Flowplayer for WordPress » [Plugin: Flowplayer for WordPress] [Plugin: Flowplayer for WordPress] IE7 Fix

  • Hi,
    Just thought I’d post this (albeit rather hacky) fix for IE7.
    When you add a splash image, everything breaks because of a trailing comma in the inline JS that embeds the flash. Valid JS, but not for IE.
    Change line 441 of flowplayer.class.php from:
    $html .= '{url: \''.$item.'\', autoPlay: false},'."\n";
    to
    $html .= '{url: \''.$item.'\', autoPlay: false}'."\n";
    and fixed. Will break if you’re putting multiple videos in a single player I would have thought, but I’m not, so I don’t care 🙂

    Took me about 3 fucking hours to track that bug down, hence thought I’d post the solution here in the hopes it helps some other poor bastard!

    atb

    http://wordpress.org/extend/plugins/word-press-flow-player/

  • The topic ‘[Plugin: Flowplayer for WordPress] [Plugin: Flowplayer for WordPress] IE7 Fix’ is closed to new replies.