@elice/material-video-file 1.240508.0-globalization.0 → 1.240514.0
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/cjs/components/material-video-file/MaterialVideoFile.js +1 -5
- package/cjs/components/material-video-file/MaterialVideoFilePlayer.js +1 -3
- package/cjs/components/material-video-file/locales/th.json.js +1 -1
- package/es/components/material-video-file/MaterialVideoFile.js +1 -5
- package/es/components/material-video-file/MaterialVideoFilePlayer.js +1 -3
- package/es/components/material-video-file/locales/th.json.js +1 -1
- package/package.json +6 -6
|
@@ -48,11 +48,7 @@ const MaterialVideoFile = _a => {
|
|
|
48
48
|
//
|
|
49
49
|
//
|
|
50
50
|
//
|
|
51
|
-
return React.createElement(intl.RawEliceIntlProvider, {
|
|
52
|
-
value: {
|
|
53
|
-
intl: __intl
|
|
54
|
-
}
|
|
55
|
-
}, React.createElement(MaterialVideoFile_styled.StyledMaterialVideoFileWrap, {
|
|
51
|
+
return React.createElement(intl.RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialVideoFile_styled.StyledMaterialVideoFileWrap, {
|
|
56
52
|
className: classnames(prefixCls, className)
|
|
57
53
|
}, React.createElement(MaterialVideoFilePlayer.default, Object.assign({}, playerProps, {
|
|
58
54
|
orgNameShort: orgNameShort,
|
|
@@ -57,9 +57,7 @@ const MaterialVideoFilePlayer = ({
|
|
|
57
57
|
accountApi
|
|
58
58
|
}) => {
|
|
59
59
|
const prefixCls = 'em-video-player';
|
|
60
|
-
const
|
|
61
|
-
intl: intl$1
|
|
62
|
-
} = intl.useRawEliceIntl();
|
|
60
|
+
const intl$1 = intl.useRawEliceIntl();
|
|
63
61
|
const [playerFrameSrc, setPlayerFrameSrc] = React.useState(null);
|
|
64
62
|
/**
|
|
65
63
|
* Current video status.
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var messageTh = {"videoFile.player.preparing":"
|
|
5
|
+
var messageTh = {"videoFile.player.preparing":"{_termLibraryLecturePage} ในการเตรียมความพร้อม","videoFile.player.uploadVideoBtn":"อัพโหลดไฟล์","videoFile.player.encoding":"วิดีโอกำลังจัดทำอยู่\nโปรดตรวจสอบอีกครั้งในภายหลัง","videoFile.player.encodingFailed":"เกิดปัญหาในการประมวลผลวิดีโอ\nหากปัญหายังคงอยู่โปรดติดต่อฝ่ายบริการลูกค้า","videoFile.player.noVideo":"ไฟล์นี้ไม่มีอยู่จริง"};
|
|
6
6
|
|
|
7
7
|
exports.default = messageTh;
|
|
@@ -44,11 +44,7 @@ const MaterialVideoFile = _a => {
|
|
|
44
44
|
//
|
|
45
45
|
//
|
|
46
46
|
//
|
|
47
|
-
return React.createElement(RawEliceIntlProvider, {
|
|
48
|
-
value: {
|
|
49
|
-
intl: __intl
|
|
50
|
-
}
|
|
51
|
-
}, React.createElement(StyledMaterialVideoFileWrap, {
|
|
47
|
+
return React.createElement(RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(StyledMaterialVideoFileWrap, {
|
|
52
48
|
className: classnames(prefixCls, className)
|
|
53
49
|
}, React.createElement(MaterialVideoFilePlayer, Object.assign({}, playerProps, {
|
|
54
50
|
orgNameShort: orgNameShort,
|
|
@@ -53,9 +53,7 @@ const MaterialVideoFilePlayer = ({
|
|
|
53
53
|
accountApi
|
|
54
54
|
}) => {
|
|
55
55
|
const prefixCls = 'em-video-player';
|
|
56
|
-
const
|
|
57
|
-
intl
|
|
58
|
-
} = useRawEliceIntl();
|
|
56
|
+
const intl = useRawEliceIntl();
|
|
59
57
|
const [playerFrameSrc, setPlayerFrameSrc] = React.useState(null);
|
|
60
58
|
/**
|
|
61
59
|
* Current video status.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var messageTh = {"videoFile.player.preparing":"
|
|
1
|
+
var messageTh = {"videoFile.player.preparing":"{_termLibraryLecturePage} ในการเตรียมความพร้อม","videoFile.player.uploadVideoBtn":"อัพโหลดไฟล์","videoFile.player.encoding":"วิดีโอกำลังจัดทำอยู่\nโปรดตรวจสอบอีกครั้งในภายหลัง","videoFile.player.encodingFailed":"เกิดปัญหาในการประมวลผลวิดีโอ\nหากปัญหายังคงอยู่โปรดติดต่อฝ่ายบริการลูกค้า","videoFile.player.noVideo":"ไฟล์นี้ไม่มีอยู่จริง"};
|
|
2
2
|
|
|
3
3
|
export { messageTh as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-video-file",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.240514.0",
|
|
4
4
|
"description": "User view and editing components of Elice material video file",
|
|
5
5
|
"repository": "https://git.elicer.io/elice/frontend/library/elice-material",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@elice/api-client": "^1.230815.0",
|
|
48
|
-
"@elice/blocks": "^1.
|
|
48
|
+
"@elice/blocks": "^1.240514.0",
|
|
49
49
|
"@elice/design-tokens": "^1.220803.0",
|
|
50
50
|
"@elice/icons": "^1.230814.0",
|
|
51
51
|
"@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
|
|
52
|
-
"@elice/intl": "0.240425.0-
|
|
53
|
-
"@elice/material-shared-types": "1.
|
|
54
|
-
"@elice/material-shared-utils": "1.
|
|
52
|
+
"@elice/intl": "0.240425.0-rc.0",
|
|
53
|
+
"@elice/material-shared-types": "1.240514.0",
|
|
54
|
+
"@elice/material-shared-utils": "1.240514.0",
|
|
55
55
|
"@elice/openapi-client-account": "^1.230814.0",
|
|
56
56
|
"@elice/types": "^1.240208.0",
|
|
57
57
|
"@types/classnames": "^2.3.1",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"react-use": "^17.2.4",
|
|
63
63
|
"styled-components": "^5.3.0"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "04c7bc30a433e053218d63dedf81d76aa0fe251f"
|
|
66
66
|
}
|