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
- ColdFusion 7.0.2
- FarCry Core v5.0.0
Installation
- Place the plugin folder (jcFarcryFlvPlayer) in the FarCry plugins folder
OPTION A (If installing the project for the first time)
- Run the installer and select the jcFarcryFlvPlayer plugin from the plugin selection list
OPTION B (If installing the plugin to an existing project)
- Add jcFarcryFlvPlayer to your plugin list in the farcryinit tag of your project's www/farcryConstructor.cfm
- Update the application scope (?updateapp=1)
- (optional) customize many settings in the plugin (see Configure the Plugin below)
- (optional) Note: This feature is turned on by default, so to use the plugin out-of-the box, create a web mapping called "jcFarcryFlvPlayer". This can be disabled or configured
- Description: If you plan to use the included www files (js, css) you must set a web mapping (alias/virtual directory) pointing to the www folder of the plugin. By default the web mapping expects to be called "jcFarcryFlvPlayer", but you can customize this in your project's configuration (see Configure the Plugin below).
- The other option is to create a subfolder under your project's webroot and call it "jcFarcryFlvPlayer" (or the name in your customized setting from your configuration). Then copy over the files from the plugin's www folder (this is a suggested option for people using a shared hosting solution where setting up a web mapping is often difficult).
- Deploy the type and rules in the COAPI manager
How to Use
- Add FLV files in the webtop using the provided tools (under Content --> Plugins --> Videos (FLV))
- While logged into FarCry, browse to the page where you'd like the list of video teasers
- Go into design mode if it is not already active
- In FarCry 5.0: Right-click and in the dhtml menu choose show design
- In FarCry 5.1: Click on Hiding Rules in the admin toolbar at the bottom of the page
- Find the container you want to add the rule and click on the icon for Add a Rule.
- In the popup window choose FLV Player: List Media as Teasers and click save
- Choose desired configuration and/or filter options and save
- Hide the design mode when done to see the finished look
Configure the Plugin
By default, settings will already be provided, thus modifying the configuration is optional. To configure the plugin, login to the webtop and go to Admin >> General Admin >> Edit Config >> [plugin] JC FarCry FLV Player Settings.
Other Products & Licenses
This plugin makes use of 4 other products (each having their own license):
Instead of using a locally referenced FLVs, is it possible to add the possibility to use streaming FLVs from a service such as Akamai or Limelight (RTMP links)? I know the JW player has the ability to stream RTMP links.
As you pointed out the JW player does allow this, however I'm not taking advantage of that feature in the plugin. In fact, there are so many possibilities and directions I could have taken (the JW player is very versatile). However, I used what was most helpful to my clients and most likely the features that most people would have wanted for their own websites/projects.
If you'd like to add any functionalities to the plugin yourself or would like to sponsor more features, feel free to contact me through my blog link on the project home for this plugin.
Do you know if there is an issue with farcry 6.1? It finds and deploys the plugin, but isn't seeing the config so I can't (easily) edit my plugin install.
Just hit an error uploading an image as part of a video. Seems there's a dependancy in jcFarcryFlvFile.cfc on imageeffects? Probably something to either remove or add to the wiki?