@desynova-digital/player 3.8.0 → 3.8.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 +7 -9
- package/package.json +3 -3
package/components/Video.js
CHANGED
|
@@ -115,7 +115,7 @@ var defaultProps = {
|
|
|
115
115
|
var SubTitleSection = _styledComponents2.default.div.withConfig({
|
|
116
116
|
displayName: 'Video__SubTitleSection',
|
|
117
117
|
componentId: 'omlcc3-0'
|
|
118
|
-
})(['position:absolute;font-family:SFUIText-Regular;font-size:14px;bottom:20px;width:100%;display:flex;justify-content:center;text-align:center;color:#FFFFFF;height:
|
|
118
|
+
})(['position:absolute;font-family:SFUIText-Regular;font-size:14px;bottom:20px;width:100%;display:flex;justify-content:center;text-align:center;color:#FFFFFF;height:60px;align-items:center;.subtitleContainer{border-radius:4px;width:fit-content;background:#000000;opacity:0.5;padding:8px 10px;line-height:20px;position:absolute;}']);
|
|
119
119
|
|
|
120
120
|
var VideoBlock = _styledComponents2.default.div.withConfig({
|
|
121
121
|
displayName: 'Video__VideoBlock',
|
|
@@ -774,8 +774,8 @@ var Video = function (_Component) {
|
|
|
774
774
|
currentSubtitleObj: {
|
|
775
775
|
line1: currentValue[0] && currentValue[0].line1 || '',
|
|
776
776
|
line2: currentValue[0] && currentValue[0].line2 || '',
|
|
777
|
-
start_time: currentValue[0] && currentValue[0].start_time ||
|
|
778
|
-
end_time: currentValue[0] && currentValue[0].end_time ||
|
|
777
|
+
start_time: currentValue[0] && currentValue[0].start_time || 0,
|
|
778
|
+
end_time: currentValue[0] && currentValue[0].end_time || 0,
|
|
779
779
|
style: style
|
|
780
780
|
}
|
|
781
781
|
});
|
|
@@ -1325,14 +1325,12 @@ var Video = function (_Component) {
|
|
|
1325
1325
|
),
|
|
1326
1326
|
currentSubtitleObj && currentSubtitleObj.line1 && currentSubtitleObj.line1.length && _react2.default.createElement(
|
|
1327
1327
|
SubTitleSection,
|
|
1328
|
-
|
|
1329
|
-
onClick: function onClick() {
|
|
1330
|
-
return _this5.handleSubtitleClick();
|
|
1331
|
-
}
|
|
1332
|
-
},
|
|
1328
|
+
null,
|
|
1333
1329
|
_react2.default.createElement(
|
|
1334
1330
|
'span',
|
|
1335
|
-
{ className: 'subtitleContainer', style: _extends({}, currentSubtitleObj.style)
|
|
1331
|
+
{ className: 'subtitleContainer', style: _extends({}, currentSubtitleObj.style), onClick: function onClick() {
|
|
1332
|
+
return _this5.handleSubtitleClick();
|
|
1333
|
+
} },
|
|
1336
1334
|
_react2.default.createElement(
|
|
1337
1335
|
'p',
|
|
1338
1336
|
null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@desynova-digital/player",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.3",
|
|
4
4
|
"description": "Video Player Package for Contido Application",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"webpack-dev-server": "^3.11.0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@desynova-digital/components": "^8.
|
|
57
|
-
"@desynova-digital/tokens": "^8.
|
|
56
|
+
"@desynova-digital/components": "^8.15.1",
|
|
57
|
+
"@desynova-digital/tokens": "^8.15.1",
|
|
58
58
|
"hls.js": "^0.11.0",
|
|
59
59
|
"latest-version": "^4.0.0",
|
|
60
60
|
"prettycli": "^1.4.3",
|