Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/av/widget/Player.js

  • Provides:

    • dojox.av.widget.Player
  • Requires:

    • dijit._Widget in common
    • dijit._Templated in common
  • dojox.av.widget.Player

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dijit._Widget: (call)
      • dijit._Templated: (call)
    • summary
      A Media Player UI widget for all types of dojox.av and AIR media.
    • description
      Currently for markup only. All controls should reside as child
      nodes within the Player node. 'controlType' is used to determine
      the placement of the control. If no type or an unrecoginized type
      is used, it will be left-aligned in the same row as the volume.
      Note:
      Be sure to use 'controlType' as a node attribute. It is not a
      property of the widget.
    • example
      	<div dojoType="dojox.av.widget.Player" playerWidth="100%">
       		<div controlType="video" initialVolume=".1"
       			mediaUrl="video/Grog.flv" autoPlay="true"
      			isDebug="false" dojoType="dojox.av.FLVideo"></div>
           	<div controlType="play" dojoType="dojox.av.widget.PlayButton"></div>
           	<div controlType="volume" dojoType="dojox.av.widget.VolumeButton"></div>
           	<div controlType="progress" dojoType="dojox.av.widget.ProgressSlider"></div>
           	<div controlType="status" dojoType="dojox.av.widget.Status"></div>
       </div>
  • dojox.av.widget.Player.playerWidth

    • type
      Number
    • summary
      or String
      Sets the width of the player (not the video size)
      Number will be converted to pixels
      String will be used literally. EX: &quot;320px&quot; or &quot;100%&quot;
      
      
      
      TODO:
      playerHeight
      videoWidth: 320,
      videoHeight: 240,
  • dojox.av.widget.Player.widgetsInTemplate

    • type
      Object
  • dojox.av.widget.Player.templateString

    • type
      Object
  • dojox.av.widget.Player._fillContent

    • type
      Function
  • dojox.av.widget.Player.items

    • type
      Array
  • dojox.av.widget.Player.postCreate

    • summary
      Do player styling, and place child widgets in the proper location.
    • type
      Function
  • dojox.av.widget.Player.children

    • type
      Array
  • dojox.av.widget.Player.startup

    • summary
      Fired when all children are ready. Set the media in
      all children with setMedia()
    • type
      Function
  • dojox.av.widget.Player.media

    • type
      Object
  • dojox.av.widget.Player.onResize

    • parameters:
      • evt
    • summary
      If a player size is a percentage, this will fire an onResize
      event for all children, passing the size of the player.
    • type
      Function
  • dojox.av.widget

    • type
      Object
  • dojox.av

    • type
      Object
  • dojox

    • type
      Object