diff --git a/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt b/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt
index 8ec9c29bb01776f45fc8f52adb8598fecc7e07a8..b28cb308b1f697a64ddc4ee1bd705ad356b23290 100644
--- a/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt
+++ b/app/src/main/java/com/futo/platformplayer/fragment/mainactivity/main/VideoDetailView.kt
@@ -2382,6 +2382,11 @@ class VideoDetailView : ConstraintLayout {
         var videoSourceWidth = _player.exoPlayer?.player?.videoSize?.width
         var videoSourceHeight = _player.exoPlayer?.player?.videoSize?.height
 
+        if (videoSourceWidth == null || videoSourceHeight == null || videoSourceWidth == 0 || videoSourceHeight == 0){
+            videoSourceWidth = this.video?.video?.videoSources?.get(0)?.width
+            videoSourceHeight = this.video?.video?.videoSources?.get(0)?.height
+        }
+
         return if (videoSourceWidth == null || videoSourceHeight == null || videoSourceWidth == 0 || videoSourceHeight == 0){
             null
         } else{