Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newMediaController :: MonadDOM m => m MediaController
- play :: MonadDOM m => MediaController -> m ()
- pause :: MonadDOM m => MediaController -> m ()
- unpause :: MonadDOM m => MediaController -> m ()
- getBuffered :: MonadDOM m => MediaController -> m TimeRanges
- getSeekable :: MonadDOM m => MediaController -> m TimeRanges
- getDuration :: MonadDOM m => MediaController -> m Double
- setCurrentTime :: MonadDOM m => MediaController -> Double -> m ()
- getCurrentTime :: MonadDOM m => MediaController -> m Double
- getPaused :: MonadDOM m => MediaController -> m Bool
- getPlayed :: MonadDOM m => MediaController -> m TimeRanges
- getPlaybackState :: (MonadDOM m, FromJSString result) => MediaController -> m result
- setDefaultPlaybackRate :: MonadDOM m => MediaController -> Double -> m ()
- getDefaultPlaybackRate :: MonadDOM m => MediaController -> m Double
- setPlaybackRate :: MonadDOM m => MediaController -> Double -> m ()
- getPlaybackRate :: MonadDOM m => MediaController -> m Double
- setVolume :: MonadDOM m => MediaController -> Double -> m ()
- getVolume :: MonadDOM m => MediaController -> m Double
- setMuted :: MonadDOM m => MediaController -> Bool -> m ()
- getMuted :: MonadDOM m => MediaController -> m Bool
- newtype MediaController = MediaController {}
- gTypeMediaController :: JSM GType
Documentation
play :: MonadDOM m => MediaController -> m () Source #
pause :: MonadDOM m => MediaController -> m () Source #
unpause :: MonadDOM m => MediaController -> m () Source #
getBuffered :: MonadDOM m => MediaController -> m TimeRanges Source #
getSeekable :: MonadDOM m => MediaController -> m TimeRanges Source #
getDuration :: MonadDOM m => MediaController -> m Double Source #
setCurrentTime :: MonadDOM m => MediaController -> Double -> m () Source #
getCurrentTime :: MonadDOM m => MediaController -> m Double Source #
getPlayed :: MonadDOM m => MediaController -> m TimeRanges Source #
getPlaybackState :: (MonadDOM m, FromJSString result) => MediaController -> m result Source #
setDefaultPlaybackRate :: MonadDOM m => MediaController -> Double -> m () Source #
getDefaultPlaybackRate :: MonadDOM m => MediaController -> m Double Source #
setPlaybackRate :: MonadDOM m => MediaController -> Double -> m () Source #
getPlaybackRate :: MonadDOM m => MediaController -> m Double Source #
newtype MediaController Source #
Functions for this inteface are in JSDOM.MediaController. Base interface functions are in: