@sgrsoft/vpe-react-sdk 0.1.11 → 0.1.12
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 +12 -2
- package/dist/vpe-react-sdk.es.js +7094 -6968
- package/dist/vpe-react-sdk.umd.js +15 -15
- package/package.json +11 -5
package/README.md
CHANGED
|
@@ -203,8 +203,12 @@ export function App() {
|
|
|
203
203
|
<VpePlayer
|
|
204
204
|
accessKey="YOUR_ACCESS_KEY"
|
|
205
205
|
options={{
|
|
206
|
+
playlist: [
|
|
207
|
+
{
|
|
208
|
+
file: "https://CDN_DOMAIN/example_video_01.mp4"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
206
211
|
keyboardShortcut: true,
|
|
207
|
-
playlist: [{ file: "https://CDN_DOMAIN/example_video_01.mp4" }],
|
|
208
212
|
}}
|
|
209
213
|
/>
|
|
210
214
|
```
|
|
@@ -654,7 +658,13 @@ Ref 인스턴스에서 `layout(nextLayout, merge?)`를 호출하면 즉시 반
|
|
|
654
658
|
import { setup } from "@sgrsoft/vpe-react-sdk";
|
|
655
659
|
|
|
656
660
|
const instance = setup("#video", "YOUR_ACCESS_KEY", {
|
|
657
|
-
options: {
|
|
661
|
+
options: {
|
|
662
|
+
playlist: [
|
|
663
|
+
{
|
|
664
|
+
file: "https://CDN_DOMAIN/example_video_01.mp4"
|
|
665
|
+
}
|
|
666
|
+
],
|
|
667
|
+
},
|
|
658
668
|
});
|
|
659
669
|
|
|
660
670
|
instance.layout({
|