@desynova-digital/player 3.8.0 → 3.8.1
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 +5 -7
- package/package.json +1 -1
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',
|
|
@@ -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,
|