@capgo/capacitor-video-player 7.2.1 → 7.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -38,7 +38,7 @@ import java.util.Map;
|
|
|
38
38
|
)
|
|
39
39
|
public class VideoPlayerPlugin extends Plugin {
|
|
40
40
|
|
|
41
|
-
private final String
|
|
41
|
+
private final String pluginVersion = "7.2.3";
|
|
42
42
|
|
|
43
43
|
// Permission alias constants
|
|
44
44
|
private static final String PERMISSION_DENIED_ERROR = "Unable to access media videos, user denied permission request";
|
|
@@ -1234,7 +1234,7 @@ public class VideoPlayerPlugin extends Plugin {
|
|
|
1234
1234
|
public void getPluginVersion(final PluginCall call) {
|
|
1235
1235
|
try {
|
|
1236
1236
|
final JSObject ret = new JSObject();
|
|
1237
|
-
ret.put("version", this.
|
|
1237
|
+
ret.put("version", this.pluginVersion);
|
|
1238
1238
|
call.resolve(ret);
|
|
1239
1239
|
} catch (final Exception e) {
|
|
1240
1240
|
call.reject("Could not get plugin version", e);
|
|
@@ -8,7 +8,7 @@ import AVKit
|
|
|
8
8
|
*/
|
|
9
9
|
@objc(VideoPlayerPlugin)
|
|
10
10
|
public class VideoPlayerPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
11
|
-
private let
|
|
11
|
+
private let pluginVersion: String = "7.2.3"
|
|
12
12
|
public let identifier = "VideoPlayerPlugin"
|
|
13
13
|
public let jsName = "VideoPlayer"
|
|
14
14
|
public let pluginMethods: [CAPPluginMethod] = [
|
|
@@ -36,7 +36,7 @@ public class VideoPlayerPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
36
36
|
private var currentPlayerId: String?
|
|
37
37
|
|
|
38
38
|
@objc func getPluginVersion(_ call: CAPPluginCall) {
|
|
39
|
-
call.resolve(["version": self.
|
|
39
|
+
call.resolve(["version": self.pluginVersion])
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
@objc func initPlayer(_ call: CAPPluginCall) {
|