1.0.36 • Published 2 days ago
theta-video-api-drm-player v1.0.36
Theta Video API DRM Player
Install
npm install --save theta-video-api-drm-player
Usage
import React, { Component } from 'react'
import { StudioPlayer } from 'theta-video-api-drm-player'
import 'theta-video-api-drm-player/dist/index.css'
const Example = () => {
const walletConnectParams = {
appName: "Your App Name",
projectId: "Your Project ID"
};
const params = {
signin: signin,
jwt: jwt,
autoconnect: true|false,
useBeta: false|true
}
return (
<StudioPlayer
videoId={"Video ID"}
walletConnectParams={walletConnectParams}
params={params}
/>
);
}
Params
- jwt : pass a JWT to automatically allow a user
- signin : pass a signin JSON to automatically allow a user using sign typed data v4 (disabled if you're already sending a JWT)
- autoconnect : will automatically try to connect to your wallet
- useBeta : for internal testing if using beta TVA
Wallet Connect Parameters
The walletConnectParams object should contain the following properties:
{
"projectId": "your_project_id",
"appName": "your_app_name"
}
See Wallet Connect documentation for more details
Build library
npm run build
npm deploy
1.0.36
2 days ago
1.0.35
4 days ago
1.0.34
4 days ago
1.0.33
5 days ago
1.0.32
5 days ago
1.0.31
12 days ago
1.0.29
22 days ago
1.0.28
22 days ago
1.0.27
22 days ago
1.0.30
22 days ago
1.0.26
25 days ago
1.0.25
25 days ago
1.0.24
25 days ago
1.0.23
25 days ago
1.0.22
1 month ago
1.0.20
1 month ago
1.0.19
1 month ago
1.0.18
1 month ago
1.0.17
1 month ago
1.0.16
1 month ago
1.0.15
1 month ago
1.0.14
2 months ago
1.0.9
3 months ago
1.0.8
3 months ago
1.0.7
3 months ago
1.0.11
3 months ago
1.0.10
3 months ago
1.0.13
3 months ago
1.0.12
3 months ago
1.0.6
3 months ago
1.0.5
3 months ago
1.0.4
3 months ago
1.0.3
3 months ago
1.0.2
3 months ago
1.0.1
3 months ago
1.0.0
3 months ago