WordPress.org

Forums

Flowplayer for WordPress
[resolved] [Plugin: Flowplayer for WordPress] IE7 Fix (1 post)

  1. vonkanehoffen
    Member
    Posted 4 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Flowplayer for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic