mep_feature_time_rail_thumbnails 0.0.2 → 0.0.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: 1cc824c0d71af3824d8c886ed0eaf9928198a624
4
- data.tar.gz: 4f7ebec9024acc308bf697ae8fdaed8374432a4e
3
+ metadata.gz: d557f7563b2dda5c14104809118860a474512c64
4
+ data.tar.gz: 66810c35cb32f6667e68aee372325cf7a882e25d
5
5
  SHA512:
6
- metadata.gz: 389e28c0b11d19041f9cd5882ce003b84f884703691552975c6502cffa1a017aa2f1ed113bde7ea679958a92ec3ec6e5072b0c5ba3119aab153f5ac4afad2f63
7
- data.tar.gz: fe2a926090528a01f56073f15f678fabf00de27d5041733b14fb12e2870eeecaa069d1da2c13d09c6972794bf153f8e987247418343c2b1fee103d11d549c58d
6
+ metadata.gz: 0961152c7d5dc591bc1df84566bda5c0205f925bd02634bca50ddf9a45a72e96318414080d8d3385ca1ad4ba61e95e3dc8492847ce9a148ddeec8884d3caae7c
7
+ data.tar.gz: ea6699bbb521c8c9309f9b6587fb393dd174eb2229a54629cbadae29cd160ef7b396c81f5efb324d5fb2d77d4f92bfd1ab645cd39b729777b5dc2013a2a4edd3
data/README.md CHANGED
@@ -103,9 +103,17 @@ Install with bower:
103
103
  bower i mep_feature_time_rail_thumbnails
104
104
  ```
105
105
 
106
- The file you want is at `bower_components/mep_feature_time_rail_thumbnails/vendor/assets/javascripts/mep-feature-time-rail-thumbnails.js`
106
+ This will install [vtt.js](https://github.com/mozilla/vtt.js) as well.
107
107
 
108
- The latest vtt.js is not currently available from bower.
108
+ Include them both in HTML:
109
+ ```html
110
+ <script src="/bower_components/vtt.js/vtt.min.js"></script>
111
+ <script src="/bower_components/mep_feature_time_rail_thumbnails/vendor/assets/javascripts/mep-feature-time-rail-thumbnails.js"></script>
112
+ ```
113
+
114
+ ## Browser Support
115
+
116
+ The plugin currently uses [MutationObserver](http://caniuse.com/mutationobserver) and is disabled for browsers without support. You may be able to use a polyfill, but I have not tried that yet.
109
117
 
110
118
  ## TODO
111
119
 
@@ -1,3 +1,3 @@
1
1
  module MepFeatureTimeRailThumbnails
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -96,6 +96,9 @@
96
96
  time_float.find('.mejs-time-float-current').css('position', 'static');
97
97
  time_float.find('.mejs-plugin-time-float-thumbnail').css('position', 'static');
98
98
 
99
+ time_float.css('-webkit-border-radius', '0').css('border-radius', '0');
100
+ time_float.find('span').css('-webkit-border-radius', '0').css('border-radius', '0');
101
+
99
102
  setThumbnailImage(cues[0].text);
100
103
 
101
104
  // Add an observer to the .mejs-time-float-current and change the thumbnail
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mep_feature_time_rail_thumbnails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Ronallo