@desynova-digital/player 3.7.2 → 3.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Video.js +1 -1
- package/package.json +1 -1
package/components/Video.js
CHANGED
|
@@ -751,7 +751,7 @@ var Video = function (_Component) {
|
|
|
751
751
|
if (currentMarker && currentMarker[0] && currentMarker[0].name === "Subtitle") {
|
|
752
752
|
var values = currentMarker[0].values;
|
|
753
753
|
var currentValue = values.filter(function (ele) {
|
|
754
|
-
return ele.
|
|
754
|
+
return ele.start_time <= currentTime && ele.end_time >= currentTime;
|
|
755
755
|
});
|
|
756
756
|
var style = this.getSubtitleStyle(currentValue[0]);
|
|
757
757
|
this.setState({
|