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 https://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 https://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:
- Download the plugin from the Mura CMS App Store's plugins section
- Note the location of the 'muramediaplayer.zip' file that you downloaded
- Log in to your Mura CMS Admin area
- Click 'Site Settings' found on the top-right portion of the screen on the yellow bar
- Select the 'Plugins' tab
- 'Browse' to the location of the 'muramediaplayer.zip' file and select it
- Click 'Deploy' and the 'Plugin Settings' form should appear
- If you want to change the 'Plugin Name,' feel free to do so
- 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
- 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.
- 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.
- Under 'Site Assignments,' select the site(s) you wish to enable the plugin to run on.
- Click 'Update' when finished.
- 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 https://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
Thanks man. Nice job on the new site too!
http://www.getmura.com/index.cfm/app-store/plugins...
This plugin requires version 5.2+ Sorry man. Is it possible to upgrade your install?
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...?
The video works on Chrome for PC, so I'll have to try on a Mac when I get a chance. Thanks.
This plugin has been tested on a number of Macs and has worked fine for us. Are you getting any particular error message?
I'm running the latest Mura build against Railo 3.3, maybe I'm missing a required plugin or include?
Thanks,
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.
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.
posts. Any way I'll be subscribing to your feed and I hope you post again soon.
Don't know where to start in debugging this, do you've got any idea?
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?
I like your blog, currently we are looking for a part time article writer would you be interested?
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.
Thanks
craig
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?
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.
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.
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?
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.
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.?
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?
The first thing I would do is check to see if your server has a mimetype setting for mp4
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
It's on the radar...just a matter of time. I'll let you know when it's it's done.
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?