|
2 | 2 | * jPlayer Player Plugin for Popcorn JavaScript Library |
3 | 3 | * http://www.jplayer.org |
4 | 4 | * |
5 | | - * Copyright (c) 2012 Happyworm Ltd |
| 5 | + * Copyright (c) 2013 Happyworm Ltd |
6 | 6 | * Dual licensed under the MIT and GPL licenses. |
7 | 7 | * - http://www.opensource.org/licenses/mit-license.php |
8 | 8 | * - http://www.gnu.org/copyleft/gpl.html |
9 | 9 | * |
10 | 10 | * Author: Mark J Panaghiston |
11 | | - * Version: 1.0.0 |
12 | | - * Date: 13th September 2012 |
| 11 | + * Version: 1.1.0 |
| 12 | + * Date: 20th April 2013 |
13 | 13 | * |
14 | 14 | * For Popcorn Version: 1.3 |
15 | | - * For jPlayer Version: 2.2.0 |
| 15 | + * For jPlayer Version: 2.3.0 |
16 | 16 | * Requires: jQuery 1.3.2+ |
17 | 17 | * Note: jQuery dependancy cannot be removed since jPlayer 2 is a jQuery plugin. Use of jQuery will be kept to a minimum. |
18 | 18 | */ |
19 | 19 |
|
20 | 20 | /* Code verified using http://www.jshint.com/ */ |
21 | | -/*jshint asi:false, bitwise:false, boss:false, browser:true, curly:false, debug:false, devel:true, eqeqeq:true, eqnull:false, evil:false, forin:false, immed:false, jquery:true, laxbreak:false, newcap:false, noarg:true, noempty:false, nonew:true, onevar:false, passfail:false, plusplus:false, regexp:false, undef:true, sub:false, strict:false, white:false smarttabs:true */ |
22 | | -/*global Popcorn:false */ |
| 21 | +/*jshint asi:false, bitwise:false, boss:false, browser:true, curly:false, debug:false, eqeqeq:true, eqnull:false, evil:false, forin:false, immed:false, jquery:true, laxbreak:false, newcap:true, noarg:true, noempty:true, nonew:true, onevar:false, passfail:false, plusplus:false, regexp:false, undef:true, sub:false, strict:false, white:false, smarttabs:true */ |
| 22 | +/*global Popcorn:false, console:false */ |
23 | 23 |
|
24 | 24 | (function(Popcorn) { |
25 | 25 |
|
26 | 26 | var JQUERY_SCRIPT = 'http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js', // Used if jQuery not already present. |
27 | | - JPLAYER_SCRIPT = 'http://www.jplayer.org/2.2.0/js/jquery.jplayer.min.js', // Used if jPlayer not already present. |
28 | | - JPLAYER_SWFPATH = 'http://www.jplayer.org/2.2.0/js/Jplayer.swf', // Used if not specified in jPlayer options via SRC Object. |
| 27 | + JPLAYER_SCRIPT = 'http://www.jplayer.org/2.3.0/js/jquery.jplayer.min.js', // Used if jPlayer not already present. |
| 28 | + JPLAYER_SWFPATH = 'http://www.jplayer.org/2.3.0/js/Jplayer.swf', // Used if not specified in jPlayer options via SRC Object. |
29 | 29 | SOLUTION = 'html,flash', // The default solution option. |
30 | 30 | DEBUG = false, // Decided to leave the debugging option and console output in for the time being. Overhead is trivial. |
31 | 31 | jQueryDownloading = false, // Flag to stop multiple instances from each pulling in jQuery, thus corrupting it. |
32 | 32 | jPlayerDownloading = false, // Flag to stop multiple instances from each pulling in jPlayer, thus corrupting it. |
33 | | - format = { // Duplicate of jPlayer 2.2.0 object, to avoid always requiring jQuery and jPlayer to be loaded before performing the _canPlayType() test. |
| 33 | + format = { // Duplicate of jPlayer 2.3.0 object, to avoid always requiring jQuery and jPlayer to be loaded before performing the _canPlayType() test. |
34 | 34 | mp3: { |
35 | 35 | codec: 'audio/mpeg; codecs="mp3"', |
36 | 36 | flashCanPlay: true, |
|
0 commit comments