@guardvideo/player-sdk 1.0.0 → 1.0.1
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ yarn add @guardvideo/player-sdk
|
|
|
31
31
|
### CDN (for vanilla JavaScript)
|
|
32
32
|
|
|
33
33
|
```html
|
|
34
|
-
<script src="https://cdn.jsdelivr.net/npm/@guardvideo/player-sdk@latest/dist/guardvideo-player.
|
|
34
|
+
<script src="https://cdn.jsdelivr.net/npm/@guardvideo/player-sdk@latest/dist/vanilla/guardvideo-player.js"></script>
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
---
|
|
@@ -151,7 +151,7 @@ export default function VideoPage({ params }: { params: { videoId: string } }) {
|
|
|
151
151
|
<body>
|
|
152
152
|
<div id="video-container"></div>
|
|
153
153
|
|
|
154
|
-
<script src="https://cdn.jsdelivr.net/npm/@guardvideo/player-sdk@latest/dist/guardvideo-player.
|
|
154
|
+
<script src="https://cdn.jsdelivr.net/npm/@guardvideo/player-sdk@latest/dist/vanilla/guardvideo-player.js"></script>
|
|
155
155
|
<script>
|
|
156
156
|
// Create player
|
|
157
157
|
const player = GuardVideoPlayer.create('video-container', 'your-video-id', {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guardvideo/player-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "GuardVideo Player SDK - Secure HLS video player with embed token authentication for React, Next.js, and vanilla JavaScript",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|