@videts/vide / index
index
Interfaces
| Interface | Description |
|---|---|
| AdMeta | Ad metadata exposed by framework useAdState hooks. |
| EventBus | - |
| Player | - |
| PlayerEventMap | - |
| Plugin | - |
| PluginDashInstance | Minimal dash.js instance shape stored via pluginData. |
| PluginDataMap | Registry mapping plugin data keys to their value types. Used by setPluginData / getPluginData for compile-time safety. |
| PluginDrmConfig | Resolved DRM configuration stored via pluginData. |
| PluginHlsInstance | Minimal hls.js instance shape stored via pluginData. |
| PluginImaData | IMA SDK data stored via pluginData. |
| PluginPlayer | Extended player interface exposed to plugins, includes state control. |
| QualityLevel | - |
| RecoveryConfig | - |
| SeekableRange | - |
| SourceHandler | - |
| VideCue | - |
| VideTextTrack | - |
Type Aliases
| Type Alias | Description |
|---|---|
| AdQuartile | - |
| EventHandler | - |
| MediaElement | - |
| PlayerEvent | - |
| PlayerState | - |
Variables
| Variable | Description |
|---|---|
| ERR_DASH_IMPORT | DASH: dynamic import of dashjs failed. |
| ERR_DASH_PLAYBACK | DASH: dashjs playback error. |
| ERR_DRM_CERTIFICATE | DRM: certificate request failed. |
| ERR_DRM_DETECTION | DRM: key system detection failed. |
| ERR_DRM_KEY_STATUS | DRM: key status error (expired, internal-error). |
| ERR_DRM_LICENSE | DRM: license request failed. |
| ERR_DRM_UNSUPPORTED | DRM: no supported key system found. |
| ERR_HLS_FATAL | HLS: fatal hls.js playback error. |
| ERR_HLS_IMPORT | HLS: dynamic import of hls.js failed. |
| ERR_HLS_UNSUPPORTED | HLS: browser does not support MSE or hls.js. |
| ERR_MEDIA | Core: HTMLMediaElement error. |
| ERR_VAST_RESTORE_TIMEOUT | VAST: timed out restoring content after ad playback. |
| ERR_VMAP_RESTORE_TIMEOUT | VMAP: timed out restoring content after ad break. |
Functions
| Function | Description |
|---|---|
| createPlayer | Create a vide player instance wrapping the given media element. |