@playkit-js/playkit-js-ui 0.82.8 → 0.82.9
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/dist/playkit-ui.js +1 -1
- package/dist/playkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/src/components/video-player/video-player.tsx +2 -8
- package/translations/ca_es.i18n.json +0 -3
- package/translations/de.i18n.json +0 -3
- package/translations/en.i18n.json +0 -3
- package/translations/es.i18n.json +0 -3
- package/translations/fi.i18n.json +0 -3
- package/translations/fr.i18n.json +0 -3
- package/translations/fr_ca.i18n.json +0 -3
- package/translations/it.i18n.json +0 -3
- package/translations/ja.i18n.json +0 -3
- package/translations/ko.i18n.json +0 -3
- package/translations/nl.i18n.json +0 -3
- package/translations/pt_br.i18n.json +0 -3
- package/translations/ru.i18n.json +0 -3
- package/translations/zh_cn.i18n.json +0 -3
- package/translations/zh_tw.i18n.json +0 -3
package/package.json
CHANGED
|
@@ -7,7 +7,6 @@ import {bindActions} from '../../utils';
|
|
|
7
7
|
import {withPlayer} from '../player';
|
|
8
8
|
import {EventType, withEventManager} from '../../event';
|
|
9
9
|
import {PlayerArea} from '../player-area';
|
|
10
|
-
import {Text, withText} from 'preact-i18n';
|
|
11
10
|
|
|
12
11
|
/**
|
|
13
12
|
* mapping state to props
|
|
@@ -19,10 +18,6 @@ const mapStateToProps = state => ({
|
|
|
19
18
|
targetId: state.config.targetId
|
|
20
19
|
});
|
|
21
20
|
|
|
22
|
-
const translates = {
|
|
23
|
-
videoLabel: <Text id="videoArea.videoLabel">Video player. Use the play button or press the space bar to start playback.</Text>
|
|
24
|
-
};
|
|
25
|
-
|
|
26
21
|
/**
|
|
27
22
|
* VideoPlayer component
|
|
28
23
|
*
|
|
@@ -30,7 +25,6 @@ const translates = {
|
|
|
30
25
|
* @example <VideoPlayer>...</VideoPlayer>
|
|
31
26
|
* @extends {Component}
|
|
32
27
|
*/
|
|
33
|
-
@withText(translates)
|
|
34
28
|
@withPlayer
|
|
35
29
|
@withEventManager
|
|
36
30
|
@connect(mapStateToProps, bindActions(actions))
|
|
@@ -115,10 +109,10 @@ class VideoPlayer extends Component<any, any> {
|
|
|
115
109
|
* @memberof VideoPlayer
|
|
116
110
|
*/
|
|
117
111
|
render(): VNode<any> {
|
|
118
|
-
const {videoStyles, targetId
|
|
112
|
+
const {videoStyles, targetId} = this.props;
|
|
119
113
|
|
|
120
114
|
return (
|
|
121
|
-
<div role='region'
|
|
115
|
+
<div role='region' id={`${targetId}-video`} className={style.videoPlayer} style={videoStyles} ref={this._setRef}>
|
|
122
116
|
<PlayerArea name={'VideoContainer'} />
|
|
123
117
|
</div>
|
|
124
118
|
);
|
|
@@ -115,9 +115,6 @@
|
|
|
115
115
|
"one_hundred_percent": "hundert Prozent",
|
|
116
116
|
"volume_slider_aria_label": "Lautstärkeregelung",
|
|
117
117
|
"volume_slider_description": "Verwenden Sie die Pfeile, um die Lautstärke zu regulieren"
|
|
118
|
-
},
|
|
119
|
-
"videoArea": {
|
|
120
|
-
"videoLabel": "Video-Player. Mit der Wiedergabetaste oder der Leertaste die Wiedergabe starten."
|
|
121
118
|
}
|
|
122
119
|
}
|
|
123
120
|
}
|
|
@@ -114,9 +114,6 @@
|
|
|
114
114
|
"one_hundred_percent": "cien por cien",
|
|
115
115
|
"volume_slider_aria_label": "Control de volumen",
|
|
116
116
|
"volume_slider_description": "Use las flechas para controlar el volumen"
|
|
117
|
-
},
|
|
118
|
-
"videoArea": {
|
|
119
|
-
"videoLabel": "Reproductor de vídeo. Usa el botón de reproducir o presiona la barra espaciadora para empezar."
|
|
120
117
|
}
|
|
121
118
|
}
|
|
122
119
|
}
|
|
@@ -114,9 +114,6 @@
|
|
|
114
114
|
"one_hundred_percent": "sata prosenttia",
|
|
115
115
|
"volume_slider_aria_label": "Äänenvoimakkuuden säätö",
|
|
116
116
|
"volume_slider_description": "Säädä äänenvoimakkuutta nuolilla"
|
|
117
|
-
},
|
|
118
|
-
"videoArea": {
|
|
119
|
-
"videoLabel": "Videosoitin. Aloita toisto toistopainikkeella tai painamalla välilyöntinäppäintä."
|
|
120
117
|
}
|
|
121
118
|
}
|
|
122
119
|
}
|
|
@@ -114,9 +114,6 @@
|
|
|
114
114
|
"one_hundred_percent": "cent pour cent",
|
|
115
115
|
"volume_slider_aria_label": "Contrôle du volume",
|
|
116
116
|
"volume_slider_description": "Utiliser les flèches pour contrôler le volume"
|
|
117
|
-
},
|
|
118
|
-
"videoArea": {
|
|
119
|
-
"videoLabel": "Lecteur vidéo. Utilisez le bouton de lecture ou appuyez sur la barre d’espace pour lancer la lecture."
|
|
120
117
|
}
|
|
121
118
|
}
|
|
122
119
|
}
|
|
@@ -114,9 +114,6 @@
|
|
|
114
114
|
"one_hundred_percent": "cent pour cent",
|
|
115
115
|
"volume_slider_aria_label": "Contrôle du volume",
|
|
116
116
|
"volume_slider_description": "Utiliser les flèches pour contrôler le volume"
|
|
117
|
-
},
|
|
118
|
-
"videoArea": {
|
|
119
|
-
"videoLabel": "Lecteur audio. Utilisez le bouton de lecture ou appuyez sur la barre d’espacement pour lancer la lecture."
|
|
120
117
|
}
|
|
121
118
|
}
|
|
122
119
|
}
|
|
@@ -114,9 +114,6 @@
|
|
|
114
114
|
"one_hundred_percent": "100%",
|
|
115
115
|
"volume_slider_aria_label": "Controllo del volume",
|
|
116
116
|
"volume_slider_description": "Usa le frecce per regolare il volume"
|
|
117
|
-
},
|
|
118
|
-
"videoArea": {
|
|
119
|
-
"videoLabel": "Video player. Premi play o la barra spaziatrice per avviare la riproduzione."
|
|
120
117
|
}
|
|
121
118
|
}
|
|
122
119
|
}
|
|
@@ -114,9 +114,6 @@
|
|
|
114
114
|
"one_hundred_percent": "honderd procent",
|
|
115
115
|
"volume_slider_aria_label": "Volumeregeling",
|
|
116
116
|
"volume_slider_description": "Gebruik de pijlen om het volume te regelen"
|
|
117
|
-
},
|
|
118
|
-
"videoArea": {
|
|
119
|
-
"videoLabel": "Videospeler. Gebruik de afspeelknop of druk op de spatiebalk om het afspelen te starten."
|
|
120
117
|
}
|
|
121
118
|
}
|
|
122
119
|
}
|
|
@@ -114,9 +114,6 @@
|
|
|
114
114
|
"one_hundred_percent": "cem por cento",
|
|
115
115
|
"volume_slider_aria_label": "Controle de volume",
|
|
116
116
|
"volume_slider_description": "Use as setas para controlar o volume"
|
|
117
|
-
},
|
|
118
|
-
"videoArea": {
|
|
119
|
-
"videoLabel": "Reprodutor de vídeo. Usar o botão de reprodução ou pressione a barra de espaço para iniciar a reprodução."
|
|
120
117
|
}
|
|
121
118
|
}
|
|
122
119
|
}
|
|
@@ -114,9 +114,6 @@
|
|
|
114
114
|
"one_hundred_percent": "сто процентов",
|
|
115
115
|
"volume_slider_aria_label": "Управление Громкость",
|
|
116
116
|
"volume_slider_description": "Для управления громкостью используйте стрелки"
|
|
117
|
-
},
|
|
118
|
-
"videoArea": {
|
|
119
|
-
"videoLabel": "Видеоплеер. Чтобы начать воспроизведение, нажмите кнопку воспроизведения или пробел."
|
|
120
117
|
}
|
|
121
118
|
}
|
|
122
119
|
}
|