Home | Index

Yahoo! Music API Guide

Optional Video Player Variables

Variable Name Possible Values Description
autoStart 0|1 (default: 0) Used to auto start the video on player load.
bw integer Used to force a bandwidth; if bw is not specified the player will attempt to determine the best video bitrate quality for the user.
eh string Callback event handler that the player should make calls to.
lang string (default: "en") Language to use w/in player. See Supported Locales for possible values.
closeEnable 0|1 (default: 0) Sets visibility of the close button; button action will throw a callback event of type "close".
controlsEnable 0|1 (default: 1) Enables the player controls.
enableFullScreen 0|1 (default: 0) Displays/hides fullscreen button (requires allowFullScreen param to be set - see embed example above).
infoEnable 0|1 (default: 1) Sets visibility of the "more info" button.
nowplayingEnable 0|1 (default: 1) Enables the intro "Now Playing: ..." component during the first few seconds of playback.
postpanelEnable 0|1 (default: 1) Enables the post panel; displayed after a clip completes playback.
prepanelEnable 0|1 (default: 1) Enables the pre meta panel on player initialization when autoStart is false and a valid id has been passed into the player.
shareEnable 0|1 (default: 0) Enables the Share panel.