@desynova-digital/player 4.0.65 → 4.0.66
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.
|
@@ -96,7 +96,7 @@ var CaptionControlMenuButton = /*#__PURE__*/function (_Component) {
|
|
|
96
96
|
theme = _this$props4.theme,
|
|
97
97
|
subtitleData = _this$props4.subtitleData,
|
|
98
98
|
playerType = _this$props4.playerType;
|
|
99
|
-
var showCaptionButton = subtitleData && subtitleData.length
|
|
99
|
+
var showCaptionButton = subtitleData && subtitleData.length;
|
|
100
100
|
return showCaptionButton ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
101
101
|
style: {
|
|
102
102
|
marginRight: '10px'
|
|
@@ -236,6 +236,10 @@ var ControlBar = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
236
236
|
}), /*#__PURE__*/_react["default"].createElement(_SubtitleMovementMenu["default"], _extends({}, this.props, {
|
|
237
237
|
key: "subtitle-movement-menu",
|
|
238
238
|
order: 8
|
|
239
|
+
})), /*#__PURE__*/_react["default"].createElement(_CaptionControlMenuButton["default"], _extends({}, this.props, {
|
|
240
|
+
order: 8,
|
|
241
|
+
playerType: playerType,
|
|
242
|
+
key: "caption-control-menu-button"
|
|
239
243
|
})), /*#__PURE__*/_react["default"].createElement(_AudioTracksMenuButton["default"], _extends({}, this.props, {
|
|
240
244
|
key: "audio-tracks-menu-button",
|
|
241
245
|
order: 9
|