Skip to content

Commit 5fe3e0d

Browse files
committed
remove vibration and fix webview landscape
1 parent edcbd60 commit 5fe3e0d

File tree

2 files changed

+1
-3
lines changed
  • VideoPlsLuaViewManagerSDK/VideoPlsLuaViewManagerSDK/VideoPlsLuaViewManagerSDK/VPLua/Manager
  • VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/Common/WebView

2 files changed

+1
-3
lines changed

VideoPlsLuaViewManagerSDK/VideoPlsLuaViewManagerSDK/VideoPlsLuaViewManagerSDK/VPLua/Manager/VPLuaServiceVideoMode.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#import "VPLuaConstant.h"
2525
#import "VPUPPathUtil.h"
2626
#import <VPLuaViewSDK/LVZipArchive.h>
27-
#import "VPUPVibrationUtil.h"
2827

2928
@interface VPLuaServiceVideoMode()
3029

@@ -47,7 +46,6 @@ - (void)startServiceWithConfig:(VPLuaServiceConfig *)config complete:(VPLuaServi
4746
self.resumeDataPath = [VPUPPathUtil subPathOfVideoMode:[VPUPMD5Util md5HashString:self.videoId]];
4847
self.videoModeQueue = dispatch_queue_create("VPLua_Service_Video_Mode", DISPATCH_QUEUE_SERIAL);
4948
[self requestServiceData];
50-
[VPUPVibrationUtil vibrateWithCompletion:nil];
5149
}
5250
- (void)requestServiceData {
5351
__weak typeof(self) weakSelf = self;

VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/Common/WebView/VPUPWKWebView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ - (void)removeCache {
136136

137137
}
138138

139-
- (void)setIsLandscape:(BOOL)isLandscape {
139+
- (void)setLandscape:(BOOL)isLandscape {
140140
[super setLandscape:isLandscape];
141141
[_webView setIsLandscape:isLandscape];
142142
}

0 commit comments

Comments
 (0)