From 5f0c8cff14c9e09ce1dfc15d54f793111be2c2ba Mon Sep 17 00:00:00 2001 From: Muhammad Umer Date: Mon, 3 Jul 2023 18:04:04 +0500 Subject: [PATCH] chore: handle landscape mode for new component screen for videos --- Source/VideoBlockViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/VideoBlockViewController.swift b/Source/VideoBlockViewController.swift index 46ec231d8..5d8fb068c 100644 --- a/Source/VideoBlockViewController.swift +++ b/Source/VideoBlockViewController.swift @@ -36,6 +36,8 @@ class VideoBlockViewController : OfflineSupportViewController, CourseBlockViewCo private var overlayLabel: UILabel? var shouldCelebrationAppear: Bool + var orientationDelegate: VideoBlockViewControllerOrientationDelegate? + init(environment : Environment, blockID : CourseBlockID?, courseID: String, shouldCelebrationAppear: Bool = false) { self.blockID = blockID self.environment = environment