Class: UWA.Controls.FlashPlayer

UWA/Controls/FlashPlayer. UWA.Controls.FlashPlayer

new UWA.Controls.FlashPlayer(options)

Flash player with full screen capabilities. Currently used by video widgets.

Example
var flashPlayer = new UWA.Controls.FlashPlayer(playerContainer);

flashPlayer.show('http://video.google.com/googleplayer.swf?docId=39288702201978303');
flashPlayer.toogleFullScreenMode(true);
Parameters
Name Type Description
options Object

Options hash or a option/value pair.

Properties
Name Type Argument Default Description
flashVars String <optional>
''

Custom flashvars

flashUrl String <optional>
''

Url of the flash content

width Number <optional>
''

Width in pixels of the flash container

height Number <optional>
''

Height in pixels of the flash container

wmode String <optional>
'opaque'

Flash parameter to control layering and transparency of the content in the browser ({@link http://helpx.adobe.com/flash/kb/flash-object-embed-tag-attributes.html#main_Browser_support_for_Window_Mode__wmode__values|wmode reference)

aspectRatio String <optional>
1.3

Ratio between width and height

showToolbar String <optional>
true

Display toolbar containing controls and possibly a link to media

showFullScreenLink Boolean <optional>
true

Display full screen toggle

mediaLinkUrl String <optional>
null

Url of the link that can be displayed in toolbar if showToolbar is true

mediaLinkText String <optional>
null

Text of the link that can be displayed in toolbar if showToolbar is true

Extends

  • UWA.Controls.Abstract

Index

Members

<protected> className

Properties:
Name Type Description
className String

Classname assigned to the parent element of the control.

Deprecated:
  • Yes

<protected> defaultOptions

Properties:
Name Type Description
defaultOptions Object

The default controls options.