@capgo/capacitor-video-player 8.1.14 → 8.1.16
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.
package/README.md
CHANGED
|
@@ -24,6 +24,20 @@ The most complete doc is available here: https://capgo.app/docs/plugins/video-pl
|
|
|
24
24
|
|
|
25
25
|
## Install
|
|
26
26
|
|
|
27
|
+
You can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Then use the following prompt:
|
|
34
|
+
|
|
35
|
+
```text
|
|
36
|
+
Use the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/capacitor-video-player` plugin in my project.
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
If you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:
|
|
40
|
+
|
|
27
41
|
```bash
|
|
28
42
|
bun add @capgo/capacitor-video-player
|
|
29
43
|
bunx cap sync
|
|
@@ -899,7 +899,7 @@ public class FullscreenExoPlayerFragment extends Fragment {
|
|
|
899
899
|
DefaultHttpDataSource.Factory httpDataSourceFactory = new DefaultHttpDataSource.Factory();
|
|
900
900
|
httpDataSourceFactory.setUserAgent("jeep-exoplayer-plugin");
|
|
901
901
|
httpDataSourceFactory.setConnectTimeoutMs(DefaultHttpDataSource.DEFAULT_CONNECT_TIMEOUT_MILLIS);
|
|
902
|
-
httpDataSourceFactory.setReadTimeoutMs(
|
|
902
|
+
httpDataSourceFactory.setReadTimeoutMs(600000);
|
|
903
903
|
httpDataSourceFactory.setAllowCrossProtocolRedirects(true);
|
|
904
904
|
|
|
905
905
|
// If headers is not null and has data we pass them to the HttpDataSourceFactory
|
|
@@ -38,7 +38,7 @@ import java.util.Map;
|
|
|
38
38
|
)
|
|
39
39
|
public class VideoPlayerPlugin extends Plugin {
|
|
40
40
|
|
|
41
|
-
private final String pluginVersion = "8.1.
|
|
41
|
+
private final String pluginVersion = "8.1.16";
|
|
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";
|
|
@@ -8,7 +8,7 @@ import AVKit
|
|
|
8
8
|
*/
|
|
9
9
|
@objc(VideoPlayerPlugin)
|
|
10
10
|
public class VideoPlayerPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
11
|
-
private let pluginVersion: String = "8.1.
|
|
11
|
+
private let pluginVersion: String = "8.1.16"
|
|
12
12
|
public let identifier = "VideoPlayerPlugin"
|
|
13
13
|
public let jsName = "VideoPlayer"
|
|
14
14
|
public let pluginMethods: [CAPPluginMethod] = [
|