Introduction - Straas/Straas-web-document GitHub Wiki
Prerequisites
Before starting using iframe Embedded Player or SDK Player, you must:
- Register a StraaS account.
- Get StraaS account id and video id.
- Take jwt token from your end-user for verifying permission (SDK Player only).
Media types
StraaS provides two ways to play a stream:iframe Embedded Player and Player SDK . Both ways have three types of media.
- Video: A single VOD
- Playlist: A list of VODs
- Live: A live stream
Utilizing StraaS player
iframe Embedded Player
If you don't need any customized skin, player plugins, or extra interactions, the easiest way to show a StraaS player in your website is embedding our Iframe player in your HTML code. Note that StraaS iframe embedded player do not support media that requires payment, if you need the payment UI to show on top of the player, please use our Player SDK.
Player SDK
StraaS Player SDK is powerful for developers to design and integrate StraaS player in more advanced scenarios. It supports paywall (payment), player events, customized skins, extra plugins, etc. The player SDK is recommended if a highly customized player or paid content is required.