npm install pod-comm-offline-sdk
import 'pod-comm-offline-sdk/dist/node/css/material-icons.min.css'
import 'pod-comm-offline-sdk/dist/node/css/style.css'
import OfflineSdk from 'pod-comm-offline-sdk'
Get the package (from npm or download from gitlab) and copy:
dist/offline-player-bundle.js
dist/node/css/style.css
dist/node/css/material-icons.min.css
in your project, then link the styles and the script in your web page.
npm install pod-comm-offline-sdk
Then in es6:
import OfflinePlayerSDK from 'pod-comm-offline-sdk'
in node:
const OfflinePlayerSDK = require('pod-comm-offline-sdk')
Get the package and copy the file dist/offline-player-bundle.js
in your project.
Also in both environments you can use:
window.POD.OfflinePlayerSDK
to access the SDK.
You can see a sample of usage in example/bundle.html
You can find an example of usage in the package dir/examples. Or contact the author for more help.