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

  1. vonkanehoffen
    Posted 5 years ago #

    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";
    $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!



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