diff --git a/app/play.tsx b/app/play.tsx index b6de405..2f5a40a 100644 --- a/app/play.tsx +++ b/app/play.tsx @@ -126,7 +126,6 @@ export default function PlayScreen() { ref={videoRef} style={styles.videoPlayer} source={{ uri: currentEpisode?.url || "" }} - usePoster posterSource={{ uri: detail?.poster ?? "" }} resizeMode={ResizeMode.CONTAIN} onPlaybackStatusUpdate={handlePlaybackStatusUpdate} diff --git a/app/settings.tsx b/app/settings.tsx index 0e84055..54c3d7a 100644 --- a/app/settings.tsx +++ b/app/settings.tsx @@ -111,18 +111,18 @@ export default function SettingsScreen() { ), key: "livestream", }, - { - component: ( - { - setCurrentFocusIndex(3); - setCurrentSection("videoSource"); - }} - /> - ), - key: "videoSource", - }, + // { + // component: ( + // { + // setCurrentFocusIndex(3); + // setCurrentSection("videoSource"); + // }} + // /> + // ), + // key: "videoSource", + // }, ]; // TV遥控器事件处理 diff --git a/components/VideoLoadingAnimation.tsx b/components/VideoLoadingAnimation.tsx index 8687fc5..5eb9ff1 100644 --- a/components/VideoLoadingAnimation.tsx +++ b/components/VideoLoadingAnimation.tsx @@ -229,7 +229,6 @@ const styles = StyleSheet.create({ flex: 1, alignItems: "center", justifyContent: "center", - backgroundColor: "#2d3748", overflow: "hidden", }, loadingContainer: { @@ -237,8 +236,8 @@ const styles = StyleSheet.create({ zIndex: 10, }, videoIcon: { - width: 120, - height: 120, + width: 100, + height: 100, marginBottom: 30, }, videoFrame: { @@ -303,7 +302,7 @@ const styles = StyleSheet.create({ }, shape: { position: "absolute", - backgroundColor: "rgba(255, 255, 255, 0.03)", + backgroundColor: "rgba(255, 255, 255, 0.05)", borderRadius: 50, }, shape1: { diff --git a/stores/playerStore.ts b/stores/playerStore.ts index 3e22a4b..3c94fa0 100644 --- a/stores/playerStore.ts +++ b/stores/playerStore.ts @@ -254,6 +254,7 @@ const usePlayerStore = create((set, get) => ({ ...existingRecord, ...updates, }); + console.log("Play record saved") } },