MuraMediaPlayer Plugin Released for ColdFusion-Powered Mura CMS

I was finally able to finish up my MuraMediaPlayer plugin for Mura CMS. This plugin uses JW Player™, the Internet's most popular and flexible media player. It supports playback of any format the Adobe Flash Player can handle (FLV, MP4, MP3 and AAC). It also supports RTMP, HTTP, live streaming, a wide range of settings and more.

This plugin is available in the Mura CMS App Store under plugins. Since the primary guts of the plugin are driven by my cfMediaPlayer project hosted on RIAForge (a ColdFusion wrapper of the JW Player™), I'm posting a copy of the license here just so there's no confusion.

License

By using MuraMediaPlayer, you agree to the 'non-commercial' license found at http://creativecommons.org/licenses/by-nc-sa/3.0/. For corporate use or if you're planning to generate revenue from your site (e.g., by running advertisements on the page, selling anything, etc.) you will need to buy a license for JW Player™. To obtain a commercial license of the JW Player™, please visit http://longtailvideo.com/players/jw-flv-player/commercial-license/

Installation

Installing the plugin is pretty simple. I've created a brief video tutorial and also included an outline of some simple steps to follow:

Installing MuraMediaPlayer

  1. Download the plugin from the Mura CMS App Store's plugins section
  2. Note the location of the 'muramediaplayer.zip' file that you downloaded
  3. Log in to your Mura CMS Admin area
  4. Click 'Site Settings' found on the top-right portion of the screen on the yellow bar
  5. Select the 'Plugins' tab
  6. 'Browse' to the location of the 'muramediaplayer.zip' file and select it
  7. Click 'Deploy' and the 'Plugin Settings' form should appear
  8. If you want to change the 'Plugin Name,' feel free to do so
  9. You can simply leave the 'Load Priority' alone or change it to anything you want to be if you have other plugins that require loading ahead of it
  10. If you're Mura CMS install is using Amazon S3 for file storage and you've set up an Amazon CloudFront, you can enter the 'Cloud URL.' Otherwise, leave it blank.
  11. If you're Mura CMS install is using Amazon S3 for file storage, you have an Amazon CloudFront set up and you've setup a Streaming Distribution to deliver content to end users in real time, you can enter the 'Streaming URL.' Otherwise, leave it blank.
  12. Under 'Site Assignments,' select the site(s) you wish to enable the plugin to run on.
  13. Click 'Update' when finished.
  14. That's it! You're ready to create MuraMediaPlayer pages and/or use a new [mura] tag method that is now available to you.

Please visit Amazon for more information about their S3 and CloudFront services.

Usage/Instructions

Detailed instructions for using the plugin are available at http://www.getmura.com/index.cfm/app-store/plugins/muramediaplayer/documentation/. In addition, instructions can be found after you install the plugin simply by logging into the Admin area, click 'Plugins' (or go to 'Site Settings', then select 'Plugins' tab), then click the 'MuraMediaPlayer' link.

Comments
Looks fantastic and very flexible - I just launched a new Mura site, http://www.melsa.org They expressed an interest in some of these features, so I'll likely be looking into this plugin soon!
# Posted By Nathan Miller | 3/19/10 9:08 AM
@Nathan,
Thanks man. Nice job on the new site too!
# Posted By Steve Withington | 3/19/10 9:31 AM
Not sure if you're watching the app store comments...

http://www.getmura.com/index.cfm/app-store/plugins...
# Posted By Nathan Miller | 3/20/10 10:13 AM
@Nathan,
This plugin requires version 5.2+ Sorry man. Is it possible to upgrade your install?
# Posted By Steve Withington | 3/20/10 11:22 AM
Steve - you're the man! Very useful, thanks so much for sharing! Jonas
PS: Your installation video plays great in Safari and Firefox, but in my Chrome Browser (5.0.307.11 beta for Mac OS X) there's only audio at the moment...?
# Posted By Jonas Eriksson | 3/25/10 8:57 AM
@Jonas,
The video works on Chrome for PC, so I'll have to try on a Mac when I get a chance. Thanks.
# Posted By Steve Withington | 3/25/10 1:13 PM
This plug-in don't work with mac :-(
# Posted By Kirpykla klaipeda | 5/15/10 12:39 AM
@Kirpykla,
This plugin has been tested on a number of Macs and has worked fine for us. Are you getting any particular error message?
# Posted By Steve Withington | 5/17/10 7:02 AM
When trying to deploy the plugin to a site we are working on I get an error Page/17/plugin/config.xml.cfm not found. Has anyone else had this error?

I'm running the latest Mura build against Railo 3.3, maybe I'm missing a required plugin or include?

Thanks,
Joel
# Posted By Joel Spriggs | 5/21/10 8:10 AM
@Joel,
Looking over the error, it looks like it didn't install properly for some reason. The path '/17/plugin/config.xml.cfm' is what was created when you first uploaded the plugin. It didn't finish the installation process.
# Posted By Steve Withington | 5/21/10 9:56 AM
Is there any sort of manual install process that I can just dump the files into a directory and edit a few config settings?
# Posted By Joel Spriggs | 5/21/10 10:09 AM
@Joel,
The plugin is just a wrapper of my cfMediaPlayer project on RiaForge (http://cfmediaplayer.riaforge.org/).

You could simply put that in your custom tags folder and use it that way if you want.
# Posted By Steve Withington | 5/21/10 10:14 AM
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog
posts. Any way I'll be subscribing to your feed and I hope you post again soon.
# Posted By college papers | 5/23/10 2:27 PM
Nice plugin, but I think I've stumbld on a bug or something. Using the page / mediaplayer i've uploaded a .mp4, but instead of one instance of the player I've got about 30 of them on my page?

Don't know where to start in debugging this, do you've got any idea?
# Posted By Lauwisme | 6/30/10 5:57 AM
Somehow, everytime i refresh players are added, as if it remembers what it did last time and adds the new content at the bottom?
# Posted By Lauwisme | 6/30/10 6:24 AM
@Lauwisme,
Interesting, I tried downloading the version from the plugin store and tested with a .mp4, but can't replicate the issue.

Can you give me some info on your setup? What version of CF, Mura, OS, browser, etc.

Also, are there any custom tags or embedded code on the page itself that might be interfering?
# Posted By Steve Withington | 6/30/10 8:51 AM

I like your blog, currently we are looking for a part time article writer would you be interested?
# Posted By location automobile | 8/3/10 5:47 PM
So if I put my CloudFront URL then when a user uploads a video it will upload it to the cloud?
# Posted By James | 8/22/10 8:56 AM
@James,
Actually, your Mura install needs to be configured for Amazon S3. If it is and a user adds a video, it will be uploaded to the S3 account. As long as it's in the S3 account and you've enabled CloudFront for your S3 distribution (as well as read ACL), and you have a valid CloudFront URL entered, your videos should be streamed via Amazon's CloudFront.
# Posted By Steve Withington | 8/23/10 7:49 AM
I'm trying to integrate the MMP into my site running CF9/ Mura 5.2.2. The problem is that I cannot get the video files (currently being used in other apps) on our own hosted FMS to stream into the MMP. I keep getting the error, Video not found or access denied. I am trying to embed the code using the Mura tag. The stream itself checks out ok when I pull it through a custom built flash app. Any help would be greatly appreciated.

Thanks
craig
# Posted By craig | 9/7/10 11:28 AM
I installed the plugin in Mura, configured the plugin, it shows up in my site plugins tab.

When I add a page and go to change the type the Page / MuraMediaPlayer type is not there.

I have uninstalled and installed multiple times and no change.

I have installed this on another installation before with no issue.

Any ideas of what the issue may be?

# Posted By Kevin | 9/28/10 8:40 AM
@Kevin,

Interesting ... the only way for me to replicate your issue is to disable (uncheck) the site under the MuraMediaPlayer's plugin settings page.

Could you double-check to make sure the site is enabled? Also, if you could supply the 'core' version of Mura you're using too, that would be helpful.
# Posted By Steve Withington | 9/28/10 2:30 PM
Steve, I'm trying out the plugin but I get the following when I try to deploy.
struct
Detail    Note: If you wish to use an absolute template path (for example, template="/mypath/index.cfm") with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc. <br> Using relative paths (for example, template="index.cfm" or template="../index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.
Message    Could not find the included template /plugins/1/plugin/config.xml.cfm.
# Posted By Sam Singer | 10/6/10 7:53 AM
@Sam,
It doesn't look like the plugin installed correctly because it's looking in the wrong directory. What's the 'core' version of Mura that you're using?
# Posted By Steve Withington | 10/6/10 8:28 AM
Steve, I'm using Core Version 5.2.1845
# Posted By Sam Singer | 10/6/10 8:33 AM
@Sam,
Could you try uninstalling the plugin? After you try to do this via the admin, you'll want to delete the '1' directory from under the '/plugins/' directory if it still exists (which it probably will).

Then, use the updater link to update your core version. There have been a number of fixes to the plugin architecture since then. After that, try installing the plugin again.
# Posted By Steve Withington | 10/6/10 8:39 AM
Hi there! Just getting familiar with Mura and installed your MraMediaPlayer Plugin. Installed fine and setup a page with the MediaPlayer extension. Added a .flv file and went to preview and I get nothing and IE shows an 'SWFObject is undefined" error. Any ideas?
# Posted By scripkilla | 2/4/11 9:36 PM
@scripkilla,
I would need to know a few more things to help troubleshoot this because I can't duplicate the error myself.

So, a) what version of Mura are you using? b) what version of CF are you using? (i.e., Adobe cf8, cf9, railo?) c) what's your server setup? is it windows, linux, etc.?
# Posted By Steve Withington | 2/7/11 1:46 PM
Steve, I installed Mura Media Player on my localhost copy of Mura and uploaded some mp4 videos from my machine via the Page/MuraMediaPlayer Extended Attributes and all works perfectly.
I ran through the same scenario on my live site and I get the "Video not found or access denied" error even though the file is indeed on the server in the directory that is displayed.
I have uploaded a mp3 file that works perfectly on the live site but the mp4 is just not coming through. Any suggestions?
# Posted By Brad F | 6/9/11 8:25 AM
@Brad,
The first thing I would do is check to see if your server has a mimetype setting for mp4
# Posted By Steve Withington | 6/9/11 2:25 PM
@Steve, Thanks for that, the mimetype was missing. Headache is now gone.
# Posted By Brad F | 6/9/11 6:43 PM
If I understand correctly, you need to have AS3 tied to mura as _the_ file repository. I'm only using AS3 for streaming, so your plug-in won't work?
# Posted By Scott | 6/23/11 4:42 PM
Hi Steve,

I was just wondering if you have any interest in updating this to HTML5 video, and optimizing the video so that its responsive for Skeleton and Bootstrap? I'm glad to help, but want to see what you're up to, and if you've already attempted anything in that regards.

All the best,
David
# Posted By David Panzarella | 5/16/12 10:08 PM
@David,

It's on the radar...just a matter of time. I'll let you know when it's it's done.
# Posted By Steve Withington | 5/17/12 9:56 PM
Hi Steve,

I was wanting to use the events for Google Analytics built in to the JW 6 player. When I update the player in my Mura plugin I don't end up with 6. Is there an easy or even slightly harder way I can get that done?
# Posted By Tanya Bagley | 11/19/13 11:43 AM
One of the developers of new social networks. I gave him the benefit of.
# Posted By essays writer | 11/30/13 7:18 AM
hm, something wrong with plugin. anyway thanks for this post.
# Posted By Europe Pharm | 2/27/14 5:54 AM

© 2014, Stephen J. Withington, Jr.  |  BlogCFC was created by Raymond Camden – Version 5.9.004

Creative Commons License  |  This work is licensed under a Creative Commons Attribution 3.0 Unported License.  |  Hosted by Hostek.com