videojs_rails 4.12.2 → 4.12.3

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: 0e9dd8c57a3f44f21bbdd0526f8751349f7d2e37
4
- data.tar.gz: 50a6b94ae1cebcd733fdc0ed88120a3db3510dd2
3
+ metadata.gz: 93889f87f6b7a0c06af5fec3e0af2989690e8660
4
+ data.tar.gz: 22864d9690f3f52ef71dfc6483f17f937183e307
5
5
  SHA512:
6
- metadata.gz: 5260fbc4a13ce894ee1a2e9dcce467a2f455fc8fa422e7bdce1ab8ebf7b7981da12666b13119423f66f91b711c665e95b349c6af0bd71d2506a83e15c586dae3
7
- data.tar.gz: 20cdf63b14d76921dcb62e224fa90831b27245814a0ef2c6fe5bd16dea22efa958fb1e00b5c00b89e0989c724180fa1d51c356279d7684a2ed73592a8d4b86c7
6
+ metadata.gz: 268e86c307b4b7f4fbc5bf27a70fc48857305c787bacbe03eaa56e271b7a2a9a4b4db6312b72478205c5144087f0eeaf47d01cae2ce7903d7a7cbb97893de6fe
7
+ data.tar.gz: af9066b7d2386efaf9619001a11a01a64232b9699aa368613f1bef984d5debe265ea3e62c6696913c44ca58478ff700ffe51b1abad91d1e6f9ea055acf975cd3
@@ -1,3 +1,3 @@
1
1
  module VideojsRails
2
- VERSION = '4.12.2'
2
+ VERSION = '4.12.3'
3
3
  end
@@ -80,7 +80,7 @@ vjs.ACCESS_PROTOCOL = ('https:' == document.location.protocol ? 'https://' : 'ht
80
80
  * Full player version
81
81
  * @type {string}
82
82
  */
83
- vjs['VERSION'] = '4.12.2';
83
+ vjs['VERSION'] = '4.12.3';
84
84
 
85
85
  /**
86
86
  * Global Player instance options, surfaced from vjs.Player.prototype.options_
@@ -7029,6 +7029,16 @@ vjs.MediaTechController.withSourceHandlers = function(Tech){
7029
7029
  Tech.prototype.setSource = function(source){
7030
7030
  var sh = Tech.selectSourceHandler(source);
7031
7031
 
7032
+ if (!sh) {
7033
+ // Fall back to a native source hander when unsupported sources are
7034
+ // deliberately set
7035
+ if (Tech.nativeSourceHandler) {
7036
+ sh = Tech.nativeSourceHandler;
7037
+ } else {
7038
+ vjs.log.error('No source hander found for the current source.');
7039
+ }
7040
+ }
7041
+
7032
7042
  // Dispose any existing source handler
7033
7043
  this.disposeSourceHandler();
7034
7044
  this.off('dispose', this.disposeSourceHandler);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  Video.js Default Styles (http://videojs.com)
3
- Version 4.12.2
3
+ Version 4.12.3
4
4
  Create your own skin at http://designer.videojs.com
5
5
  */
6
6
  /* SKIN
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: videojs_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.12.2
4
+ version: 4.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Behan