Web Development with jQuery®

(Elliott) #1

bapp21.indd 02/17/2015 Page 623


MediaElement


MEDIAELEMENT OPTIONS

OPTION DESCRIPTION TYPE

alwaysShowControls Determines whether controls are hidden
when the mouse cursor leaves a video.
Default value: false

Boolean

alwaysShowHours Determines whether the hour marker
is present in video time, for example,
HH:MM:SS. This option shows the
HH: portion.
Default value: false

Boolean

AndroidUseNativeControls Determines whether native controls are
used on Android devices.
Default value: false

Boolean

audioWidth If a value is provided, it overrides the
width of the <audio> element.
Default value: -1

Integer

audioHeight If a value is provided, it overrides the
height of the <audio> element.
Default value: -1

Integer

autosizeProgress Determines whether the size of the
progress bar should be automatically
calculated based on the size of other
elements.
Default value: true

Boolean

U


continues

http://www.it-ebooks.info

Free download pdf