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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d557f7563b2dda5c14104809118860a474512c64
|
4
|
+
data.tar.gz: 66810c35cb32f6667e68aee372325cf7a882e25d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
106
|
+
This will install [vtt.js](https://github.com/mozilla/vtt.js) as well.
|
107
107
|
|
108
|
-
|
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
|
|
@@ -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
|