What's new? | Help | Directory | Sign in
Google
farcry-jcfarcryflvplayer
FLV Player Plugin for FarCry Framework
  
  
  
  
    
Search
for
Updated Apr 10, 2008 by coughlinj
Labels: Featured
JcFarcryFlvPlayer_1_0_documentation_FC4  
Installing and usage examples of the jcFarcryFlvPlayer plugin (for FarCry 4.x)

Description

The jcFarcryFlvPlayer plugin for FarCry takes advantage of the JW FLV Media Player (a flash-based audio/video player) to offer your website/web-application users playback of your video and audio content (FLV, MP3, H264, SWF, JPG, PNG and GIF).

Currently there is one rule included in this plugin (for FLV playback), however it can be used for other format playback (either by extending the rules for more configurable options, or create a new rule (using the existing one as a base example).

Author

Jeff Coughlin (http://jeffcoughlin.com)

Download

Download JcFarcryFlvPlayer plugin on the downloads page or get the BER release from SVN.

Examples

Listing Page (teasers)

Example screenshot taken from: http://www.lowellgeneral.org/go/videos

Video Player/Details Page

Example screenshot taken from: http://www.lowellgeneral.org/go/videos/the-birthplace

Minimum Requirements

Installation

How to Use

Configure the Plugin (Optional)

As a best-practice FarCry plugins tend to keep their customizable settings in the variable structure application.stplugins.PLUGINNAME. The list below describes the customizable settings this plugin offers. To set them, edit your project's config/_serverSpecificVars.cfm file (which gets loaded whenever the application scope is updated).

Var Name Type Description Default
application.stplugins.jcfarcryflvplayer.bLoadPluginCssFilebooleanAttempt to load the plugin's css file(s) (you may prefer to use your own css data instead. I've provided plenty of (x)HTML hooks for css flexibility)true
application.stplugins.jcfarcryflvplayer.bLoadJsFilebooleanAttempt to load the plugin's javascript file(s)true
application.stplugins.jcfarcryflvplayer.url.pluginrootstringThe webroot of the pluginapplication.url.webroot & "/jcFarcryFlvPlayer"
application.stplugins.jcfarcryflvplayer.url.expressinstallstringwebroot location of the expressinstall.swf file (a setting for swfobject)application.stplugins.jcfarcryflvplayer.url.pluginroot & "/includes/expressinstall.swf"
application.stplugins.jcfarcryflvplayer.url.missingTeaserImagestringlocation of missing teaser image. This plugin comes with two of them (icon_missingvideo_rndcnr_100x70.jpg and icon_missingvideo_100x70.jpg) or you can use one that is completely your ownapplication.stplugins.jcfarcryflvplayer.url.pluginroot & "/css/images/icon_missingvideo_rndcnr_100x70.jpg"

Other Products & Licenses

This plugin makes use of 4 other products (each having their own license):


Sign in to add a comment