Remove "Use dev video player" option from the settings

This commit is contained in:
Brahim Hadriche committed 2025-06-21 17:19:08 -04:00
1 parent 501ee5178b
commit 626935d302
12 files changed
+18 -62

No files matched your search

@@ -1,3 +1,5 @@
#const USE_DEV_PLAYER = false
import "pkg:/components/Services/LoungeService/LoungeMessages.bs"
import "pkg:/components/VideoFeed/FeedLoadState.bs"
import "pkg:/components/VideoQueue/Notifications/VideoQueueNotificationUtils.bs"
@@ -356,12 +358,11 @@ function OnHasNext()
end function
function CreateVideoPlayer() as object
useDevPlayer = m.top.preferences["dev.dev_video_player"]
if useDevPlayer
#if USE_DEV_PLAYER
playerComponent = "VideoPlayerDev"
else
#else
playerComponent = "VideoPlayer"
end if
#end if
container = m.top.videoContainer
videoPlayer = container.createChild(playerComponent)