Missing ReproNewer Version AvailablePlatform: iOSV6bugdifficulty: easygood first issuepriority: lowtriaged
倉庫指標
- Star
- (7,677 star)
- PR 合併指標
- (平均合併 2天 3小時) (30 天內合併 11 個 PR)
描述
What happened?
When setting accessibilityLanguage="es-ES" on the <Video> component, the accessibility (VoiceOver) is still speaking in English instead of Spanish.
Component usage:
<Video
accessibilityLanguage="es-ES"
controls
ignoreSilentSwitch={IgnoreSilentSwitchType.IGNORE}
key={urlLive}
muted={!isFocus}
onError={e => {
console.error('Error en el video', e);
setIsError(true);
}}
onFullscreenPlayerDidDismiss={() => {
Orientation.lockToPortrait();
videoRef.current?.dismissFullscreenPlayer();
}}
onFullscreenPlayerDidPresent={() => {
Orientation.unlockAllOrientations();
}}
onFullscreenPlayerWillDismiss={() => {
Orientation.lockToPortrait();
videoRef.current?.dismissFullscreenPlayer();
}}
onLoad={() => {
setIsLoading(false);
setIsError(false);
}}
onLoadStart={() => {
setIsLoading(true);
}}
pictureInPicture={false}
playInBackground={false}
ref={videoRef}
resizeMode={ResizeMode.CONTAIN}
source={{
headers: {
Authorization: Authorization(
REACT_APP_API_USER,
REACT_APP_API_PASSWORD,
),
'User-Agent': userAgent,
},
uri: urlLive,
}}
style={{ width: '100%', aspectRatio: 16 / 9 }}
/>
Steps to reproduce
- Render a
<Video>component with the propaccessibilityLanguage="es-ES". - Enable VoiceOver / accessibility on an iOS device.
- Focus the video element and observe that the accessibility voice speaks in English instead of Spanish.
Reproduction repository
No response
react-native-video version
6.0.0-beta
react-native version
No response
react-native-nitro-modules version
No response
Platforms
iOS
OS version
No response
Device
No response
Architecture
Old Architecture
Expo
No response
Last working version
No response
Media / source type
HLS (.m3u8)