This commit is contained in:
Fredrik Burmester
2024-08-20 20:55:21 +02:00
parent 92b847a447
commit a29e6a3815
2 changed files with 3 additions and 6 deletions

View File

@@ -201,19 +201,17 @@ export const CurrentlyPlayingBar: React.FC = () => {
// )
// }
// />
<VLCPlayer
<VlCPlayerView
style={{
width: "100%",
height: "100%",
}}
videoAspectRatio="16:9"
source={{
uri: encodeURIComponent(currentlyPlaying.url),
}}
onError={(e) => {
console.log(e);
}}
key={"1"}
autoAspectRatio={true}
resizeMode="cover"
/>
)}
</TouchableOpacity>

View File

@@ -219,7 +219,6 @@ export const SettingToggles: React.FC = () => {
<View
className={`
flex flex-row items-center space-x-2 justify-between bg-neutral-900 p-4
${settings?.forceDirectPlay ? "opacity-50 select-none" : ""}
`}
>
<View className="flex flex-col shrink">