@capgo/capacitor-jw-player 8.0.52 → 8.0.53
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
|
@@ -1,11 +1,28 @@
|
|
|
1
1
|
# @capgo/capacitor-jw-player
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
Play videos and playlists from JW Player in your Capacitor app with the native JW Player SDKs on iOS and Android, in a fullscreen player.
|
|
4
|
+
|
|
5
|
+
<a href="https://capgo.app/?ref=plugin_jw_player"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-jw-player" alt="Capgo - Instant updates for Capacitor" /></a>
|
|
3
6
|
|
|
4
7
|
<div align="center">
|
|
5
|
-
<
|
|
6
|
-
<h2><a href="https://capgo.app/
|
|
8
|
+
<p><b>Capgo</b>: open-source live updates for Ionic and Capacitor apps. Ship OTA fixes and features instantly, without waiting for app store review.</p>
|
|
9
|
+
<h2><a href="https://capgo.app/register/?ref=plugin_jw_player">➡️ Get started for free</a></h2>
|
|
10
|
+
<p>14-day unlimited free trial. No credit card required</p>
|
|
11
|
+
<p><a href="https://capgo.app/consulting/?ref=plugin_jw_player">Missing a feature? We'll build the plugin for you 💪</a></p>
|
|
7
12
|
</div>
|
|
8
13
|
|
|
14
|
+
<p align="center">
|
|
15
|
+
<img src="https://raw.githubusercontent.com/Cap-go/capacitor-jw-player/main/assets/github-social-preview.png" alt="@capgo/capacitor-jw-player for Capacitor apps" width="300" />
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
## Key features
|
|
19
|
+
|
|
20
|
+
- **Playback**: `initialize()` with your license key, then `play()`, `pause()`, `resume()`, `stop()` and `seekTo()`.
|
|
21
|
+
- **Playlists**: `loadPlaylist()`, `loadPlaylistWithItems()` and `setPlaylistIndex()`.
|
|
22
|
+
- **Tracks**: audio track and captions selection.
|
|
23
|
+
- **Controls**: `setVolume()`, `setSpeed()`, `getPosition()` and `getState()`.
|
|
24
|
+
- **Platforms**: iOS, Android and Web. Uses JWPlayerKit on iOS and the JW Player Android SDK. Web uses the JW Player web player.
|
|
25
|
+
|
|
9
26
|
Play videos from jwplayer.com with a fullscreen player interface. The plugin provides a comprehensive API for controlling JW Player playback, playlists, and tracks.
|
|
10
27
|
|
|
11
28
|
The latest version of the player require a min version of IOS 15
|
|
@@ -22,7 +22,7 @@ import java.util.List;
|
|
|
22
22
|
@CapacitorPlugin(name = "JwPlayer")
|
|
23
23
|
public class JwPlayerPlugin extends Plugin {
|
|
24
24
|
|
|
25
|
-
private final String pluginVersion = "8.0.
|
|
25
|
+
private final String pluginVersion = "8.0.53";
|
|
26
26
|
|
|
27
27
|
private static final String TAG = "JwPlayerPlugin";
|
|
28
28
|
// Static reference to the plugin instance for activity communication
|
|
@@ -16,7 +16,7 @@ protocol CallbackHandler {
|
|
|
16
16
|
|
|
17
17
|
@objc(JwPlayerPlugin)
|
|
18
18
|
public class JwPlayerPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
19
|
-
private let pluginVersion: String = "8.0.
|
|
19
|
+
private let pluginVersion: String = "8.0.53"
|
|
20
20
|
// public class JwPlayerPlugin: CAPPlugin, CAPBridgedPlugin, GCKLoggerDelegate {
|
|
21
21
|
public let identifier = "JwPlayerPlugin"
|
|
22
22
|
public let jsName = "JwPlayer"
|