ILC FLVBox will parse your post content looking for links to FLV videos. When found, it will add a player to play it inline or in a modal dialog.
The modal dialog is currently handled by ThickBox, which requires jQuery. Both Thickbox and jQuery are loaded from the versions included with WordPress using wp_enqueue_script.
The FLV players included are:
The player embedding uses SWFObject 1.5 (sometimes IE6 doesn’t get along nice with SWFObject 2.1 dynamic publishing, as soon as this is sorted out the SWFObject included will be upgraded).
http://code.google.com/p/swfobject/ (current 2.1 version)
This software is provided without warranty of any kind.
There’s an option page with an option to select an FLV Player. You can choose here your player, MiPlayWeb or OSFLV. If you select OSFLV more options are unfolded (background and foreground colors, initial volume level). Flowplayer player will be added later to the list of optional players.
When you check the box enabling ThickBox, a textarea is unfolded containing an CSS file that will allow you to set the style of the inline image. You can also edit this file independently on your editor of choice, by opening the flvbox.css file. If Thickbox is in use, the player is set to autoplay, so when you click on the image launching the player, the video will start inmediately.
The FLVBox dimensions option sets the size of the player (indirectly, the video, but not specifically). The ThickBox area is adjusted accordingly.
There’s one last field in case you need to rename the folder or change the path of ILC_FLVBox.
Both Thickbox and jQuery are loaded from the versions included with WordPress using wp_enqueue_script.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- You can access the options page via the Admin navigation or in the plugins list, using the Settings link.
- Edit a post/page, upload a video using the Add Video button and insert the link to the file into the post.
- If you wish to include a preview of the video upload a jpg image with the same name than the video. For example, if your video is “piano.flv” the jpg would be “piano.jpg”.
- I have changed ThickBox’s css and nothing happens
Make sure you don’t have other ThickBox loading. The wp_enqueue_script is the safe method for including script files into WordPress but some plugin developers are not using it. Ask who develops your plugin to modify it by using wp_enqueue_script and wp_enqueue_style.
- Which is the version of jQuery that this plugin uses?
The plugin enqueues the jQuery version included in WordPress. As of version 2.7 WP includes jQuery version 1.2.6. But WP 2.3.2 includes version 1.1.4 so it will probably be ok. I haven’t tested ThickBox with jQuery 1.3 yet. The version included with WordPress is safe to be used along with scriptaculous, mootools and other libraries.
There are no reviews for this plugin.
Contributors & Developers
“ILC FLVBox” is open source software. The following people have contributed to this plugin.Contributors
Translate “ILC FLVBox” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.