module Graphics.UI.Gtk.WebKit.DOM.HTMLMediaElement
(htmlMediaElementLoad, htmlMediaElementCanPlayType,
htmlMediaElementPlay, htmlMediaElementPause, cNETWORK_EMPTY,
cNETWORK_IDLE, cNETWORK_LOADING, cNETWORK_NO_SOURCE, cHAVE_NOTHING,
cHAVE_METADATA, cHAVE_CURRENT_DATA, cHAVE_FUTURE_DATA,
cHAVE_ENOUGH_DATA, htmlMediaElementGetError,
htmlMediaElementSetSrc, htmlMediaElementGetSrc,
htmlMediaElementGetCurrentSrc, htmlMediaElementGetNetworkState,
htmlMediaElementSetPreload, htmlMediaElementGetPreload,
htmlMediaElementGetBuffered, htmlMediaElementGetReadyState,
htmlMediaElementGetSeeking, htmlMediaElementSetCurrentTime,
htmlMediaElementGetCurrentTime, htmlMediaElementGetInitialTime,
htmlMediaElementGetStartTime, htmlMediaElementGetDuration,
htmlMediaElementGetPaused, htmlMediaElementSetDefaultPlaybackRate,
htmlMediaElementGetDefaultPlaybackRate,
htmlMediaElementSetPlaybackRate, htmlMediaElementGetPlaybackRate,
htmlMediaElementGetPlayed, htmlMediaElementGetSeekable,
htmlMediaElementGetEnded, htmlMediaElementSetAutoplay,
htmlMediaElementGetAutoplay, htmlMediaElementSetLoop,
htmlMediaElementGetLoop, htmlMediaElementSetControls,
htmlMediaElementGetControls, htmlMediaElementSetVolume,
htmlMediaElementGetVolume, htmlMediaElementSetMuted,
htmlMediaElementGetMuted, htmlMediaElementSetDefaultMuted,
htmlMediaElementGetDefaultMuted,
htmlMediaElementSetWebkitPreservesPitch,
htmlMediaElementGetWebkitPreservesPitch,
htmlMediaElementGetWebkitHasClosedCaptions,
htmlMediaElementSetWebkitClosedCaptionsVisible,
htmlMediaElementGetWebkitClosedCaptionsVisible,
htmlMediaElementGetWebkitAudioDecodedByteCount,
htmlMediaElementGetWebkitVideoDecodedByteCount,
htmlMediaElementOnwebkitneedkey,
htmlMediaElementSetMediaGroup, htmlMediaElementGetMediaGroup,
HTMLMediaElement, HTMLMediaElementClass, castToHTMLMediaElement,
gTypeHTMLMediaElement, toHTMLMediaElement)
where
import System.Glib.FFI
import System.Glib.UTFString
import Control.Applicative
import Graphics.UI.Gtk.WebKit.Types
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventM
htmlMediaElementLoad :: (HTMLMediaElementClass self) => self -> IO ()
htmlMediaElementLoad = (\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_load argPtr1) . toHTMLMediaElement
htmlMediaElementCanPlayType ::
(HTMLMediaElementClass self, GlibString string) =>
self -> string -> IO string
htmlMediaElementCanPlayType self type'
= (withUTFString type' $
\ typePtr ->
(\(HTMLMediaElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_can_play_type argPtr1 arg2)
(toHTMLMediaElement self)
typePtr)
>>=
readUTFString
htmlMediaElementPlay ::
(HTMLMediaElementClass self) => self -> IO ()
htmlMediaElementPlay self
= (\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_play argPtr1)
(toHTMLMediaElement self)
htmlMediaElementPause ::
(HTMLMediaElementClass self) => self -> IO ()
htmlMediaElementPause self
= (\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_pause argPtr1)
(toHTMLMediaElement self)
cNETWORK_EMPTY = 0
cNETWORK_IDLE = 1
cNETWORK_LOADING = 2
cNETWORK_NO_SOURCE = 3
cHAVE_NOTHING = 0
cHAVE_METADATA = 1
cHAVE_CURRENT_DATA = 2
cHAVE_FUTURE_DATA = 3
cHAVE_ENOUGH_DATA = 4
htmlMediaElementGetError ::
(HTMLMediaElementClass self) => self -> IO (Maybe MediaError)
htmlMediaElementGetError self
= maybeNull (makeNewGObject mkMediaError)
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_error argPtr1)
(toHTMLMediaElement self))
htmlMediaElementSetSrc ::
(HTMLMediaElementClass self, GlibString string) =>
self -> string -> IO ()
htmlMediaElementSetSrc self val
= withUTFString val $
\ valPtr ->
(\(HTMLMediaElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_src argPtr1 arg2)
(toHTMLMediaElement self)
valPtr
htmlMediaElementGetSrc ::
(HTMLMediaElementClass self, GlibString string) =>
self -> IO string
htmlMediaElementGetSrc self
= ((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_src argPtr1)
(toHTMLMediaElement self))
>>=
readUTFString
htmlMediaElementGetCurrentSrc ::
(HTMLMediaElementClass self, GlibString string) =>
self -> IO string
htmlMediaElementGetCurrentSrc self
= ((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_current_src argPtr1)
(toHTMLMediaElement self))
>>=
readUTFString
htmlMediaElementGetNetworkState ::
(HTMLMediaElementClass self) => self -> IO Word
htmlMediaElementGetNetworkState self
= fromIntegral <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_network_state argPtr1)
(toHTMLMediaElement self))
htmlMediaElementSetPreload ::
(HTMLMediaElementClass self, GlibString string) =>
self -> string -> IO ()
htmlMediaElementSetPreload self val
= withUTFString val $
\ valPtr ->
(\(HTMLMediaElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_preload argPtr1 arg2)
(toHTMLMediaElement self)
valPtr
htmlMediaElementGetPreload ::
(HTMLMediaElementClass self, GlibString string) =>
self -> IO string
htmlMediaElementGetPreload self
= ((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_preload argPtr1)
(toHTMLMediaElement self))
>>=
readUTFString
htmlMediaElementGetBuffered ::
(HTMLMediaElementClass self) => self -> IO (Maybe TimeRanges)
htmlMediaElementGetBuffered self
= maybeNull (makeNewGObject mkTimeRanges)
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_buffered argPtr1)
(toHTMLMediaElement self))
htmlMediaElementGetReadyState ::
(HTMLMediaElementClass self) => self -> IO Word
htmlMediaElementGetReadyState self
= fromIntegral <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_ready_state argPtr1)
(toHTMLMediaElement self))
htmlMediaElementGetSeeking ::
(HTMLMediaElementClass self) => self -> IO Bool
htmlMediaElementGetSeeking self
= toBool <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_seeking argPtr1)
(toHTMLMediaElement self))
htmlMediaElementSetCurrentTime ::
(HTMLMediaElementClass self) => self -> Double -> IO ()
htmlMediaElementSetCurrentTime self val
= propagateGError $
\ errorPtr_ ->
(\(HTMLMediaElement arg1) arg2 arg3 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_current_time argPtr1 arg2 arg3)
(toHTMLMediaElement self)
(realToFrac val)
errorPtr_
htmlMediaElementGetCurrentTime ::
(HTMLMediaElementClass self) => self -> IO Double
htmlMediaElementGetCurrentTime self
= realToFrac <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_current_time argPtr1)
(toHTMLMediaElement self))
htmlMediaElementGetInitialTime ::
(HTMLMediaElementClass self) => self -> IO Double
htmlMediaElementGetInitialTime self
= realToFrac <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_initial_time argPtr1)
(toHTMLMediaElement self))
htmlMediaElementGetStartTime ::
(HTMLMediaElementClass self) => self -> IO Double
htmlMediaElementGetStartTime self
= realToFrac <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_start_time argPtr1)
(toHTMLMediaElement self))
htmlMediaElementGetDuration ::
(HTMLMediaElementClass self) => self -> IO Double
htmlMediaElementGetDuration self
= realToFrac <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_duration argPtr1)
(toHTMLMediaElement self))
htmlMediaElementGetPaused ::
(HTMLMediaElementClass self) => self -> IO Bool
htmlMediaElementGetPaused self
= toBool <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_paused argPtr1)
(toHTMLMediaElement self))
htmlMediaElementSetDefaultPlaybackRate ::
(HTMLMediaElementClass self) => self -> Double -> IO ()
htmlMediaElementSetDefaultPlaybackRate self val
= (\(HTMLMediaElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_default_playback_rate argPtr1 arg2)
(toHTMLMediaElement self)
(realToFrac val)
htmlMediaElementGetDefaultPlaybackRate ::
(HTMLMediaElementClass self) => self -> IO Double
htmlMediaElementGetDefaultPlaybackRate self
= realToFrac <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_default_playback_rate argPtr1)
(toHTMLMediaElement self))
htmlMediaElementSetPlaybackRate ::
(HTMLMediaElementClass self) => self -> Double -> IO ()
htmlMediaElementSetPlaybackRate self val
= (\(HTMLMediaElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_playback_rate argPtr1 arg2)
(toHTMLMediaElement self)
(realToFrac val)
htmlMediaElementGetPlaybackRate ::
(HTMLMediaElementClass self) => self -> IO Double
htmlMediaElementGetPlaybackRate self
= realToFrac <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_playback_rate argPtr1)
(toHTMLMediaElement self))
htmlMediaElementGetPlayed ::
(HTMLMediaElementClass self) => self -> IO (Maybe TimeRanges)
htmlMediaElementGetPlayed self
= maybeNull (makeNewGObject mkTimeRanges)
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_played argPtr1)
(toHTMLMediaElement self))
htmlMediaElementGetSeekable ::
(HTMLMediaElementClass self) => self -> IO (Maybe TimeRanges)
htmlMediaElementGetSeekable self
= maybeNull (makeNewGObject mkTimeRanges)
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_seekable argPtr1)
(toHTMLMediaElement self))
htmlMediaElementGetEnded ::
(HTMLMediaElementClass self) => self -> IO Bool
htmlMediaElementGetEnded self
= toBool <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_ended argPtr1)
(toHTMLMediaElement self))
htmlMediaElementSetAutoplay ::
(HTMLMediaElementClass self) => self -> Bool -> IO ()
htmlMediaElementSetAutoplay self val
= (\(HTMLMediaElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_autoplay argPtr1 arg2)
(toHTMLMediaElement self)
(fromBool val)
htmlMediaElementGetAutoplay ::
(HTMLMediaElementClass self) => self -> IO Bool
htmlMediaElementGetAutoplay self
= toBool <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_autoplay argPtr1)
(toHTMLMediaElement self))
htmlMediaElementSetLoop ::
(HTMLMediaElementClass self) => self -> Bool -> IO ()
htmlMediaElementSetLoop self val
= (\(HTMLMediaElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_loop argPtr1 arg2)
(toHTMLMediaElement self)
(fromBool val)
htmlMediaElementGetLoop ::
(HTMLMediaElementClass self) => self -> IO Bool
htmlMediaElementGetLoop self
= toBool <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_loop argPtr1)
(toHTMLMediaElement self))
htmlMediaElementSetControls ::
(HTMLMediaElementClass self) => self -> Bool -> IO ()
htmlMediaElementSetControls self val
= (\(HTMLMediaElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_controls argPtr1 arg2)
(toHTMLMediaElement self)
(fromBool val)
htmlMediaElementGetControls ::
(HTMLMediaElementClass self) => self -> IO Bool
htmlMediaElementGetControls self
= toBool <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_controls argPtr1)
(toHTMLMediaElement self))
htmlMediaElementSetVolume ::
(HTMLMediaElementClass self) => self -> Double -> IO ()
htmlMediaElementSetVolume self val
= propagateGError $
\ errorPtr_ ->
(\(HTMLMediaElement arg1) arg2 arg3 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_volume argPtr1 arg2 arg3)
(toHTMLMediaElement self)
(realToFrac val)
errorPtr_
htmlMediaElementGetVolume ::
(HTMLMediaElementClass self) => self -> IO Double
htmlMediaElementGetVolume self
= realToFrac <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_volume argPtr1)
(toHTMLMediaElement self))
htmlMediaElementSetMuted ::
(HTMLMediaElementClass self) => self -> Bool -> IO ()
htmlMediaElementSetMuted self val
= (\(HTMLMediaElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_muted argPtr1 arg2)
(toHTMLMediaElement self)
(fromBool val)
htmlMediaElementGetMuted ::
(HTMLMediaElementClass self) => self -> IO Bool
htmlMediaElementGetMuted self
= toBool <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_muted argPtr1)
(toHTMLMediaElement self))
htmlMediaElementSetDefaultMuted ::
(HTMLMediaElementClass self) => self -> Bool -> IO ()
htmlMediaElementSetDefaultMuted self val
= (\(HTMLMediaElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_default_muted argPtr1 arg2)
(toHTMLMediaElement self)
(fromBool val)
htmlMediaElementGetDefaultMuted ::
(HTMLMediaElementClass self) => self -> IO Bool
htmlMediaElementGetDefaultMuted self
= toBool <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_default_muted argPtr1)
(toHTMLMediaElement self))
htmlMediaElementSetWebkitPreservesPitch ::
(HTMLMediaElementClass self) => self -> Bool -> IO ()
htmlMediaElementSetWebkitPreservesPitch self val
= (\(HTMLMediaElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_webkit_preserves_pitch argPtr1 arg2)
(toHTMLMediaElement self)
(fromBool val)
htmlMediaElementGetWebkitPreservesPitch ::
(HTMLMediaElementClass self) => self -> IO Bool
htmlMediaElementGetWebkitPreservesPitch self
= toBool <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_webkit_preserves_pitch argPtr1)
(toHTMLMediaElement self))
htmlMediaElementGetWebkitHasClosedCaptions ::
(HTMLMediaElementClass self) => self -> IO Bool
htmlMediaElementGetWebkitHasClosedCaptions self
= toBool <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_webkit_has_closed_captions argPtr1)
(toHTMLMediaElement self))
htmlMediaElementSetWebkitClosedCaptionsVisible ::
(HTMLMediaElementClass self) => self -> Bool -> IO ()
htmlMediaElementSetWebkitClosedCaptionsVisible self val
= (\(HTMLMediaElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_webkit_closed_captions_visible argPtr1 arg2)
(toHTMLMediaElement self)
(fromBool val)
htmlMediaElementGetWebkitClosedCaptionsVisible ::
(HTMLMediaElementClass self) => self -> IO Bool
htmlMediaElementGetWebkitClosedCaptionsVisible self
= toBool <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_webkit_closed_captions_visible argPtr1)
(toHTMLMediaElement self))
htmlMediaElementGetWebkitAudioDecodedByteCount ::
(HTMLMediaElementClass self) => self -> IO Word
htmlMediaElementGetWebkitAudioDecodedByteCount self
= fromIntegral <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_webkit_audio_decoded_byte_count argPtr1)
(toHTMLMediaElement self))
htmlMediaElementGetWebkitVideoDecodedByteCount ::
(HTMLMediaElementClass self) => self -> IO Word
htmlMediaElementGetWebkitVideoDecodedByteCount self
= fromIntegral <$>
((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_webkit_video_decoded_byte_count argPtr1)
(toHTMLMediaElement self))
htmlMediaElementOnwebkitneedkey ::
(HTMLMediaElementClass self) =>
Signal self (EventM UIEvent self ())
htmlMediaElementOnwebkitneedkey = (connect "webkitneedkey")
htmlMediaElementSetMediaGroup ::
(HTMLMediaElementClass self, GlibString string) =>
self -> string -> IO ()
htmlMediaElementSetMediaGroup self val
= withUTFString val $
\ valPtr ->
(\(HTMLMediaElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_set_media_group argPtr1 arg2)
(toHTMLMediaElement self)
valPtr
htmlMediaElementGetMediaGroup ::
(HTMLMediaElementClass self, GlibString string) =>
self -> IO string
htmlMediaElementGetMediaGroup self
= ((\(HTMLMediaElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_media_element_get_media_group argPtr1)
(toHTMLMediaElement self))
>>=
readUTFString
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_load"
webkit_dom_html_media_element_load :: ((Ptr HTMLMediaElement) -> (IO ()))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_can_play_type"
webkit_dom_html_media_element_can_play_type :: ((Ptr HTMLMediaElement) -> ((Ptr CChar) -> (IO (Ptr CChar))))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_play"
webkit_dom_html_media_element_play :: ((Ptr HTMLMediaElement) -> (IO ()))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_pause"
webkit_dom_html_media_element_pause :: ((Ptr HTMLMediaElement) -> (IO ()))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_error"
webkit_dom_html_media_element_get_error :: ((Ptr HTMLMediaElement) -> (IO (Ptr MediaError)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_src"
webkit_dom_html_media_element_set_src :: ((Ptr HTMLMediaElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_src"
webkit_dom_html_media_element_get_src :: ((Ptr HTMLMediaElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_current_src"
webkit_dom_html_media_element_get_current_src :: ((Ptr HTMLMediaElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_network_state"
webkit_dom_html_media_element_get_network_state :: ((Ptr HTMLMediaElement) -> (IO CUShort))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_preload"
webkit_dom_html_media_element_set_preload :: ((Ptr HTMLMediaElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_preload"
webkit_dom_html_media_element_get_preload :: ((Ptr HTMLMediaElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_buffered"
webkit_dom_html_media_element_get_buffered :: ((Ptr HTMLMediaElement) -> (IO (Ptr TimeRanges)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_ready_state"
webkit_dom_html_media_element_get_ready_state :: ((Ptr HTMLMediaElement) -> (IO CUShort))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_seeking"
webkit_dom_html_media_element_get_seeking :: ((Ptr HTMLMediaElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_current_time"
webkit_dom_html_media_element_set_current_time :: ((Ptr HTMLMediaElement) -> (CDouble -> ((Ptr (Ptr ())) -> (IO ()))))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_current_time"
webkit_dom_html_media_element_get_current_time :: ((Ptr HTMLMediaElement) -> (IO CDouble))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_initial_time"
webkit_dom_html_media_element_get_initial_time :: ((Ptr HTMLMediaElement) -> (IO CDouble))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_start_time"
webkit_dom_html_media_element_get_start_time :: ((Ptr HTMLMediaElement) -> (IO CDouble))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_duration"
webkit_dom_html_media_element_get_duration :: ((Ptr HTMLMediaElement) -> (IO CDouble))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_paused"
webkit_dom_html_media_element_get_paused :: ((Ptr HTMLMediaElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_default_playback_rate"
webkit_dom_html_media_element_set_default_playback_rate :: ((Ptr HTMLMediaElement) -> (CDouble -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_default_playback_rate"
webkit_dom_html_media_element_get_default_playback_rate :: ((Ptr HTMLMediaElement) -> (IO CDouble))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_playback_rate"
webkit_dom_html_media_element_set_playback_rate :: ((Ptr HTMLMediaElement) -> (CDouble -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_playback_rate"
webkit_dom_html_media_element_get_playback_rate :: ((Ptr HTMLMediaElement) -> (IO CDouble))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_played"
webkit_dom_html_media_element_get_played :: ((Ptr HTMLMediaElement) -> (IO (Ptr TimeRanges)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_seekable"
webkit_dom_html_media_element_get_seekable :: ((Ptr HTMLMediaElement) -> (IO (Ptr TimeRanges)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_ended"
webkit_dom_html_media_element_get_ended :: ((Ptr HTMLMediaElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_autoplay"
webkit_dom_html_media_element_set_autoplay :: ((Ptr HTMLMediaElement) -> (CInt -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_autoplay"
webkit_dom_html_media_element_get_autoplay :: ((Ptr HTMLMediaElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_loop"
webkit_dom_html_media_element_set_loop :: ((Ptr HTMLMediaElement) -> (CInt -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_loop"
webkit_dom_html_media_element_get_loop :: ((Ptr HTMLMediaElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_controls"
webkit_dom_html_media_element_set_controls :: ((Ptr HTMLMediaElement) -> (CInt -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_controls"
webkit_dom_html_media_element_get_controls :: ((Ptr HTMLMediaElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_volume"
webkit_dom_html_media_element_set_volume :: ((Ptr HTMLMediaElement) -> (CDouble -> ((Ptr (Ptr ())) -> (IO ()))))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_volume"
webkit_dom_html_media_element_get_volume :: ((Ptr HTMLMediaElement) -> (IO CDouble))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_muted"
webkit_dom_html_media_element_set_muted :: ((Ptr HTMLMediaElement) -> (CInt -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_muted"
webkit_dom_html_media_element_get_muted :: ((Ptr HTMLMediaElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_default_muted"
webkit_dom_html_media_element_set_default_muted :: ((Ptr HTMLMediaElement) -> (CInt -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_default_muted"
webkit_dom_html_media_element_get_default_muted :: ((Ptr HTMLMediaElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_webkit_preserves_pitch"
webkit_dom_html_media_element_set_webkit_preserves_pitch :: ((Ptr HTMLMediaElement) -> (CInt -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_webkit_preserves_pitch"
webkit_dom_html_media_element_get_webkit_preserves_pitch :: ((Ptr HTMLMediaElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_webkit_has_closed_captions"
webkit_dom_html_media_element_get_webkit_has_closed_captions :: ((Ptr HTMLMediaElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_webkit_closed_captions_visible"
webkit_dom_html_media_element_set_webkit_closed_captions_visible :: ((Ptr HTMLMediaElement) -> (CInt -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_webkit_closed_captions_visible"
webkit_dom_html_media_element_get_webkit_closed_captions_visible :: ((Ptr HTMLMediaElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_webkit_audio_decoded_byte_count"
webkit_dom_html_media_element_get_webkit_audio_decoded_byte_count :: ((Ptr HTMLMediaElement) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_webkit_video_decoded_byte_count"
webkit_dom_html_media_element_get_webkit_video_decoded_byte_count :: ((Ptr HTMLMediaElement) -> (IO CULong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_set_media_group"
webkit_dom_html_media_element_set_media_group :: ((Ptr HTMLMediaElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLMediaElement.h webkit_dom_html_media_element_get_media_group"
webkit_dom_html_media_element_get_media_group :: ((Ptr HTMLMediaElement) -> (IO (Ptr CChar)))