Module
Clappr
- Package
- purescript-clappr
- Repository
- paluh/purescript-clappr
#FlashPlugin Source
data FlashPlugin :: Type
Flash backend has some global initialization. We are caching instance on window level to force only single instance.
#toPlugin Source
toPlugin :: FlashPlugin -> Plugin
#OptionsBase Source
type OptionsBase o = { autoPlay :: Boolean, baseUrl :: Maybe String, hlsRecoverAttempts :: Maybe Int, hlsjsConfig :: Maybe HlsjsConfig, mute :: Boolean, source :: String | o }
This base config is reused by Pux/React bindings
#Options Source
type Options = OptionsBase (parent :: Parent)
Change parent so it could be only HTMLElement
#HlsjsConfig Source
type HlsjsConfig = { debug :: Boolean, liveSyncDuration :: Int, maxBufferLength :: Int, maxBufferSize :: Int }
#NativeOptions Source
type NativeOptions r = Record (NativeOptionsRow r)
#clapprImpl Source
clapprImpl :: forall p. EffectFn1 (NativeOptions p) Clappr
#toNativeOptions Source
toNativeOptions :: Options -> NativeOptions ()
- Modules
- Clappr
- Clappr.
Events - Clappr.
Plugins - Clappr.
Plugins. ClickToPause - Clappr.
Plugins. DvrControls - Clappr.
Plugins. Favicon - Clappr.
Plugins. FlasHls - Clappr.
Plugins. LevelSelector - Clappr.
Plugins. PlayerSize - Clappr.
Plugins. Poster - Clappr.
Plugins. ReplayOnBuffering - Clappr.
Plugins. ResponsiveContainer - Clappr.
Plugins. Thumbnails - Clappr.
Plugins. Watermark