Grab this feed!

Posts Tagged ‘Fix’

FLVPlayer Plug-in Fix for FCKEditor 2.6.3

Wednesday, October 8th, 2008

I absolutely love the plug-in FLVPlayer for FCKEditor.  Inserting FLV into page or posts with the standard FCKEditor just doesn’t work.  This nice little plug-in is a champ.  Unfortunately, it has compatiblity issues with the new FCKEditor 2.6.3, so here is how to make this little plug-in work on FCKEditor 2.6.3

The problem I ran into was going to browse for media it would display a Page Not Found.  I’m guessing the method it was previously calling got depreciated.

Here’s where the error occurs:

flvplayer.js

function BrowseServer()
{
OpenServerBrowser(
‘flv’,
oEditor.FCKConfig.MediaBrowserURL,
oEditor.FCKConfig.MediaBrowserWindowWidth,
oEditor.FCKConfig.MediaBrowserWindowHeight ) ;
}

Replace that with the following:

flvplayer.js

function BrowseServer()
{
OpenServerBrowser(
‘flv’,
oEditor.FCKConfig.FlashBrowserURL,
oEditor.FCKConfig.FlashBrowserWindowWidth,
oEditor.FCKConfig.FlashBrowserWindowHeight ) ;
}

Voila!  This cleared everything up for me and I was off and running… :)

—update—

I see this update has already been add to the comments of the project on sourceforge, but it has not made it into the source code.  I wonder if the developer has abandoned it.

—end—

Another change that isn’t a bug that I made was automatically setting the width/height of the videos instead of having to enter that with every FLV file. (more…)

Categories