Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Predidit/Kazumi
Browse files Browse the repository at this point in the history
  • Loading branch information
Predidit committed Oct 10, 2024
2 parents 7dd87c9 + f8e4243 commit a6e505f
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,16 @@ class WebviewLinuxItemControllerImpel extends WebviewItemController {
videoPageController.logLines
.add('Callback received: ${Uri.decodeFull(messageItem)}');
if (messageItem.contains('http') && !isVideoSourceLoaded) {
debugPrint('Loading video source ${Uri.decodeFull(messageItem)}');
String videoUrl = Uri.decodeFull(messageItem);
debugPrint('Loading video source $videoUrl');
videoPageController.logLines
.add('Loading video source ${Uri.decodeFull(messageItem)}');
.add('Loading video source $videoUrl');
isIframeLoaded = true;
isVideoSourceLoaded = true;
videoPageController.loading = false;
if (videoPageController.currentPlugin.useNativePlayer) {
unloadPage();
playerController.videoUrl = messageItem;
playerController.videoUrl = videoUrl;
playerController.init(offset: offset);
}
}
Expand Down

0 comments on commit a6e505f

Please sign in to comment.