chromecast test

This commit is contained in:
tapframe 2025-10-25 01:47:38 +05:30
parent f126f81c13
commit fffeebf361

View file

@ -325,8 +325,8 @@ export const PlayerControls: React.FC<PlayerControlsProps> = ({
)} )}
</View> </View>
<View style={{ flexDirection: 'row', alignItems: 'center', gap: 8 }}> <View style={{ flexDirection: 'row', alignItems: 'center', gap: 8 }}>
{/* AirPlay Button - temporarily hidden */} {/* AirPlay Button - iOS only, KSAVPlayer only */}
{false && Platform.OS === 'ios' && onAirPlayPress && playerBackend === 'KSAVPlayer' && ( {Platform.OS === 'ios' && onAirPlayPress && playerBackend === 'KSAVPlayer' && (
<TouchableOpacity <TouchableOpacity
style={{ padding: 8 }} style={{ padding: 8 }}
onPress={onAirPlayPress} onPress={onAirPlayPress}
@ -339,8 +339,8 @@ export const PlayerControls: React.FC<PlayerControlsProps> = ({
</TouchableOpacity> </TouchableOpacity>
)} )}
{/* Chromecast Button - temporarily hidden */} {/* Chromecast Button - works on both platforms */}
{false && onCastPress && ( {onCastPress && (
<ChromecastButton <ChromecastButton
size={closeIconSize} size={closeIconSize}
color="white" color="white"