content: {-# LANGUAGE PatternSynonyms #-}
  {-# LANGUAGE ForeignFunctionInterface #-}
  {-# LANGUAGE JavaScriptFFI #-}
  -- For HasCallStack compatibility
  {-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
  module GHCJS.DOM.JSFFI.Generated.QuickTimePluginReplacement
         (js_postEvent, postEvent, js_getMovieSize, getMovieSize,
          js_getTimedMetaData, getTimedMetaData, js_getAccessLog,
          getAccessLog, js_getErrorLog, getErrorLog,
          QuickTimePluginReplacement(..), gTypeQuickTimePluginReplacement)
         where
  import Prelude ((.), (==), (>>=), return, IO, Int, Float, Double, Bool(..), Maybe, maybe, fromIntegral, round, fmap, Show, Read, Eq, Ord)
  import qualified Prelude (error)
  import Data.Typeable (Typeable)
  import GHCJS.Types (JSVal(..), JSString)
  import GHCJS.Foreign (jsNull, jsUndefined)
  import GHC.JS.Foreign.Callback (syncCallback, asyncCallback, syncCallback1, asyncCallback1, syncCallback2, asyncCallback2, OnBlocked(..))
  import GHCJS.Marshal (ToJSVal(..), FromJSVal(..))
  import GHCJS.Marshal.Pure (PToJSVal(..), PFromJSVal(..))
  import Control.Monad (void)
  import Control.Monad.IO.Class (MonadIO(..))
  import Data.Int (Int64)
  import Data.Word (Word, Word64)
  import Data.Maybe (fromJust)
  import Data.Traversable (mapM)
  import GHCJS.DOM.Types
  import Control.Applicative ((<$>))
  import GHCJS.DOM.EventTargetClosures (EventName, unsafeEventName, unsafeEventNameAsync)
  import GHCJS.DOM.JSFFI.Generated.Enums
   
  foreign import javascript unsafe "(($1, $2) => { return $1[\"postEvent\"]($2); })"
          js_postEvent :: QuickTimePluginReplacement -> JSString -> IO ()
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/QuickTimePluginReplacement.postEvent Mozilla QuickTimePluginReplacement.postEvent documentation> 
  postEvent ::
            (MonadIO m, ToJSString eventName) =>
              QuickTimePluginReplacement -> eventName -> m ()
  postEvent self eventName
    = liftIO (js_postEvent self (toJSString eventName))
   
  foreign import javascript unsafe "(($1) => { return $1[\"movieSize\"]; })"
          js_getMovieSize :: QuickTimePluginReplacement -> IO Double
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/QuickTimePluginReplacement.movieSize Mozilla QuickTimePluginReplacement.movieSize documentation> 
  getMovieSize ::
               (MonadIO m) => QuickTimePluginReplacement -> m Word64
  getMovieSize self = liftIO (round <$> (js_getMovieSize self))
   
  foreign import javascript unsafe "(($1) => { return $1[\"timedMetaData\"]; })"
          js_getTimedMetaData :: QuickTimePluginReplacement -> IO JSVal
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/QuickTimePluginReplacement.timedMetaData Mozilla QuickTimePluginReplacement.timedMetaData documentation> 
  getTimedMetaData ::
                   (MonadIO m) => QuickTimePluginReplacement -> m JSVal
  getTimedMetaData self = liftIO (js_getTimedMetaData self)
   
  foreign import javascript unsafe "(($1) => { return $1[\"accessLog\"]; })"
          js_getAccessLog :: QuickTimePluginReplacement -> IO JSVal
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/QuickTimePluginReplacement.accessLog Mozilla QuickTimePluginReplacement.accessLog documentation> 
  getAccessLog ::
               (MonadIO m) => QuickTimePluginReplacement -> m JSVal
  getAccessLog self = liftIO (js_getAccessLog self)
   
  foreign import javascript unsafe "(($1) => { return $1[\"errorLog\"]; })" js_getErrorLog
          :: QuickTimePluginReplacement -> IO JSVal
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/QuickTimePluginReplacement.errorLog Mozilla QuickTimePluginReplacement.errorLog documentation> 
  getErrorLog :: (MonadIO m) => QuickTimePluginReplacement -> m JSVal
  getErrorLog self = liftIO (js_getErrorLog self)