Skip to content

Commit

Permalink
video player fix
Browse files Browse the repository at this point in the history
  • Loading branch information
uumair327 committed Jul 6, 2024
1 parent 6c2f60f commit 85413c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/src/common_widgets/WebViewPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ class _WebViewPageState extends State<WebViewPage> {
void initState() {
super.initState();

late final PlatformWebViewControllerCreationParams params;

PlatformWebViewControllerCreationParams params;
if (WebViewPlatform.instance is WebKitWebViewPlatform) {
params = WebKitWebViewControllerCreationParams(
allowsInlineMediaPlayback: true,
Expand Down

0 comments on commit 85413c5

Please sign in to comment.