podlove-web-player-rails 1.2.3 → 2.0.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2bfe932df08b6633da4ec741f6ddeac1ed6034b1
4
- data.tar.gz: 586ab2ad17a7ca3ed7c842dcb6819478857e23fc
3
+ metadata.gz: 9ccea5ee844b0bc8d4b98684729185e00d8d9e91
4
+ data.tar.gz: 18e1a19d84e8ca1ed4790eea2cefd9d5f55501f9
5
5
  SHA512:
6
- metadata.gz: c9eaceaf819b8f4c41aaa830d4d8ef091fb8acc416878e2362909df4b792bf857b400e8cc2d31450c2acec5418dea0ccac6d423373334672c4dc4e99136adb58
7
- data.tar.gz: b6a295312c5826a622336d8a7113a5baece102ff958f6f503b0407c371c24c721f0e9d4cae73cbe749cc224338f64017ae3c508d3ee3a7857b5d782e85123542
6
+ metadata.gz: fb03fd5ec8505804e0909a476f4984201ed642e3fde9d82fee3a324651d39b76b9a14cbed1a0030513aed62c098a030494e090098e628b9cac50857877be254e
7
+ data.tar.gz: 033168c2589ebe2ad1596e4f644cb75a591cab94ab3d661b6d0d10b8e6173ed2521a2613ea6980f375ae070332037bc82efdc2ecd290cc372de15c2389d4f456
data/README.md CHANGED
@@ -34,6 +34,10 @@ Use the `podloveaudio` or `podlovevideo` helpers to inplement the audio or video
34
34
 
35
35
  You can also read a description of all available options in the [Documentation][doc].
36
36
 
37
+ ## Versioning ##
38
+
39
+ The major, minor, and patch version numbers mirror the version of the Podlove Web Player itself. Should a gem bug be discovered, a 4th version identifier will be added and incremented.
40
+
37
41
  ## Contributing ##
38
42
 
39
43
  Feel free to open an issue ticket if you find something that could be improved. A couple notes:
@@ -1,6 +1,3 @@
1
1
  module PodloveWebPlayerRails
2
- # version of the gem
3
- VERSION = "1.2.3"
4
- # version of the podlove web player
5
- PODLOVE_WEB_PLAYER_VERSION = "2.0.15"
2
+ VERSION = '2.0.17'
6
3
  end
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,9 @@
1
+ /*
2
+ * jQuery hashchange event - v1.3 - 7/21/2010
3
+ * http://benalman.com/projects/jquery-hashchange-plugin/
4
+ *
5
+ * Copyright (c) 2010 "Cowboy" Ben Alman
6
+ * Dual licensed under the MIT and GPL licenses.
7
+ * http://benalman.com/about/license/
8
+ */
9
+ (function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||l(a());n()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){q.document.title=h.title}}catch(s){}}}};j.stop=k;o=function(){return a(q.location.href)};l=function(v,s){var u=q.document,t=$.fn[c].domain;if(v!==s){u.title=h.title;u.open();t&&u.write('<script>document.domain="'+t+'"<\/script>');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);
@@ -1,3 +1,4 @@
1
+ //= require podlove-web-player-rails/hashchange.min
1
2
  //= require podlove-web-player-rails/html5shiv
2
3
  //= require podlove-web-player-rails/mediaelement-and-player
3
4
  //= require podlove-web-player-rails/podlove-web-player
@@ -1,9 +1,18 @@
1
1
  /*
2
2
  * ===========================================
3
- * Podlove Web Player v2.0.15
3
+ * Podlove Web Player v2.0.17
4
4
  * Licensed under The BSD 2-Clause License
5
5
  * http://opensource.org/licenses/BSD-2-Clause
6
6
  * ===========================================
7
+ * Copyright (c) 2013, Gerrit van Aaken (https://github.com/gerritvanaaken/), Simon Waldherr (https://github.com/simonwaldherr/), Frank Hase (https://github.com/Kambfhase/), Eric Teubert (https://github.com/eteubert/) and others (https://github.com/podlove/podlove-web-player/contributors)
8
+ * All rights reserved.
9
+ *
10
+ * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
11
+ *
12
+ * - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
13
+ * - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
14
+ *
15
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7
16
  */
8
17
 
9
18
 
@@ -250,14 +259,13 @@ if (typeof String.prototype.trim !== 'function') {
250
259
  // required (minutes : seconds)
251
260
  part = zeroFill(minutes, 2) + ':' + zeroFill(seconds, 2);
252
261
  hours = zeroFill(hours, 2);
253
- hours = hours === '00' && !forceHours ? '' : hours + ':';
254
- milliseconds = milliseconds ? '.' + zeroFill(milliseconds, 3) : '';
262
+ hours = hours === '00' && !forceHours ? '' : hours + ':';
255
263
  } else {
256
264
  part = hours ? zeroFill(minutes, 2) : minutes.toString();
257
265
  part += ':' + zeroFill(seconds, 2);
258
266
  hours = hours ? hours + ':' : '';
259
- milliseconds = milliseconds ? '.' + milliseconds : '';
260
267
  }
268
+ milliseconds = milliseconds ? '.' + zeroFill(milliseconds, 3) : '';
261
269
  return hours + part + milliseconds;
262
270
  }
263
271
  if (times[1] > 0 && times[1] < 9999999 && times[0] < times[1]) {
@@ -584,8 +592,8 @@ if (typeof String.prototype.trim !== 'function') {
584
592
  jqPlayer.on('error', function () {
585
593
  if ($(this).attr('src')) {
586
594
  $(this).removeAttr('src');
587
- } else {
588
- $(this).children().first().remove();
595
+ } else if($(this).children('source').length) {
596
+ $(this).children('source').first().remove();
589
597
  }
590
598
  });
591
599
  /**
@@ -1,9 +1,18 @@
1
1
  /*
2
2
  * ===========================================
3
- * Podlove Web Player v2.0.15
3
+ * Podlove Web Player v2.0.17
4
4
  * Licensed under The BSD 2-Clause License
5
5
  * http://opensource.org/licenses/BSD-2-Clause
6
6
  * ===========================================
7
+ * Copyright (c) 2013, Gerrit van Aaken (https://github.com/gerritvanaaken/), Simon Waldherr (https://github.com/simonwaldherr/), Frank Hase (https://github.com/Kambfhase/), Eric Teubert (https://github.com/eteubert/) and others (https://github.com/podlove/podlove-web-player/contributors)
8
+ * All rights reserved.
9
+ *
10
+ * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
11
+ *
12
+ * - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
13
+ * - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
14
+ *
15
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7
16
  */
8
17
 
9
18
 
@@ -1001,8 +1010,11 @@
1001
1010
  -webkit-text-size-adjust: inherit;
1002
1011
  }
1003
1012
 
1004
- *, *:before, *:after {
1005
- -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
1013
+ .podlovewebplayer_wrapper,
1014
+ .podlovewebplayer_wrapper *,
1015
+ .podlovewebplayer_wrapper *:before,
1016
+ .podlovewebplayer_wrapper *:after {
1017
+ -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
1006
1018
  }
1007
1019
 
1008
1020
  .podlovewebplayer_wrapper div {
@@ -1436,13 +1448,13 @@
1436
1448
  }
1437
1449
 
1438
1450
  .podlovewebplayer_wrapper .mejs-container .mejs-inner .mejs-controls .mejs-time-rail .mejs-time-total .mejs-time-loaded {
1439
- background: rgb(67,131,219);
1440
- background: -moz-linear-gradient(top, rgb(67,131,219) 0%, rgb(88,156,239) 100%);
1441
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(67,131,219)), color-stop(100%,rgb(88,156,239)));
1442
- background: -webkit-linear-gradient(top, rgb(67,131,219) 0%,rgb(88,156,239) 100%);
1443
- background: -o-linear-gradient(top, rgb(67,131,219) 0%,rgb(88,156,239) 100%);
1444
- background: -ms-linear-gradient(top, rgb(67,131,219) 0%,rgb(88,156,239) 100%);
1445
- background: linear-gradient(to bottom, rgb(67,131,219) 0%,rgb(88,156,239) 100%);
1451
+ background: #11B5DB;
1452
+ background: -moz-linear-gradient(top, #11B5DB 0%, #589CEF 100%);
1453
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#11B5DB), color-stop(100%,#589CEF));
1454
+ background: -webkit-linear-gradient(top, #11B5DB 0%,#589CEF 100%);
1455
+ background: -o-linear-gradient(top, #11B5DB 0%,#589CEF 100%);
1456
+ background: -ms-linear-gradient(top, #11B5DB 0%,#589CEF 100%);
1457
+ background: linear-gradient(to bottom, #11B5DB 0%,#589CEF 100%);
1446
1458
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc4383db', endColorstr='#cc589cef',GradientType=0 );
1447
1459
  }
1448
1460
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: podlove-web-player-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 2.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bastian Bartmann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-08 00:00:00.000000000 Z
11
+ date: 2014-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -58,6 +58,7 @@ files:
58
58
  - vendor/assets/images/controls.png
59
59
  - vendor/assets/images/controls.svg
60
60
  - vendor/assets/images/loading.gif
61
+ - vendor/assets/javascripts/podlove-web-player-rails/hashchange.min.js
61
62
  - vendor/assets/javascripts/podlove-web-player-rails/html5shiv.js
62
63
  - vendor/assets/javascripts/podlove-web-player-rails/index.js
63
64
  - vendor/assets/javascripts/podlove-web-player-rails/mediaelement-and-player.js
@@ -82,9 +83,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
83
  version: '0'
83
84
  requirements: []
84
85
  rubyforge_project:
85
- rubygems_version: 2.0.6
86
+ rubygems_version: 2.2.2
86
87
  signing_key:
87
88
  specification_version: 4
88
89
  summary: Integrates the needed javascript and css in the asset pipeline and provides
89
90
  a handy helper method to integrate the player in the view.
90
91
  test_files: []
92
+ has_rdoc: