]> git.saurik.com Git - winterboard.git/blobdiff - Library.mm
Fix video wallpaper.
[winterboard.git] / Library.mm
index 1d6ef72022ac5df433699967bd802778eb45d280..b9399a10c7946f99d8ec76adf7062c644aa5fa79 100644 (file)
@@ -1547,15 +1547,14 @@ extern "C" void WBInitialize() {
             NULL, &ChangeWallpaper, (CFStringRef) @"com.saurik.winterboard.lockbackground", NULL, 0
         );
 
-        /*
-        if ($getTheme$([NSArray arrayWithObjects:@"Wallpaper.mp4"]) != nil) {
+        if ($getTheme$([NSArray arrayWithObject:@"Wallpaper.mp4"]) != nil) {
             NSBundle *MediaPlayer([NSBundle bundleWithPath:@"/System/Library/Frameworks/MediaPlayer.framework"]);
             if (MediaPlayer != nil)
                 [MediaPlayer load];
 
             $MPMoviePlayerController = objc_getClass("MPMoviePlayerController");
             $MPVideoView = objc_getClass("MPVideoView");
-        }*/
+        }
 
         $WebCoreFrameBridge = objc_getClass("WebCoreFrameBridge");