//###############################
// OmnitureConfig
//###############################
/**
 * OmnitureConfig
 * 	configuration for setting up Omniture for a player
 */

//-----------------------------
// Properties

// define values for defaults, but still allow for instance overrides
OmnitureConfig.prototype.account = "wdgdold2c";
OmnitureConfig.prototype.dc = "112";

OmnitureConfig.prototype.pageName = null;
OmnitureConfig.prototype.pageType  = null;
OmnitureConfig.prototype.pageURL = "http://disneymoviesonline.go.com/home";
			
OmnitureConfig.prototype.playerName = "D2CPlayer";
OmnitureConfig.prototype.trackingServer = "w88.go.com";
OmnitureConfig.prototype.trackingServerSecure = "sw88.go.com";
OmnitureConfig.prototype.visitorNamespace = "dol";

/** 
 * Defines the interval, as a percentage of the video watched. 
 * Specify the milestones as a comma-separated string of whole numbers. 
 * DO NOT SPECIFY 0, 100 or you get double counts (EX: "20,40,60,80) 
 * NOTE: you can use either trackMilestones or trackSeconds not both
 * if you define both trackMilestones and trackSeconds, trackSeconds will be used
 */
OmnitureConfig.prototype.trackMilestones = "20,40,60,80";

/**
 * Defines the interval, in seconds, for sending video tracking data.
 * The value must be set in increments of 5 seconds.
 * Setting the value to 15, will send a track every 15 seconds that the video is playing.
 * NOTE: you can use either trackMilestones or trackSeconds not both
 * if you define both trackMilestones and trackSeconds, trackSeconds will be used
 */
OmnitureConfig.prototype.trackSeconds = null;

//###############################
// ConvivaConfig
//###############################
/**
 * ConvivaConfig
 * 	properites for the Conviva
 */

//-----------------------------
// Properties

// define values for defaults, but still allow for instance overrides
ConvivaConfig.prototype.eventTags = null;
ConvivaConfig.prototype.serviceURL = "http://livepass.conviva.com";//"http://disneymoviesonline.go.com/service/tokenGenService";
//ConvivaConfig.prototype.customerID = "c3.DisneyMoviesOnline";
ConvivaConfig.prototype.pluginNamespace = "http://www.conviva.com"
ConvivaConfig.prototype.pluginURL = "http://livepassdl.conviva.com/OSMF/ConvivaOSMFPlugin-1.0.16313.swf";
ConvivaConfig.prototype.pageURL = document.location;
ConvivaConfig.prototype.userID = null;

//###############################
// PlayerConfig
//###############################
/**
 * PlayerConfig
 * 	properites for configuring the player
 */

/** specifies the external JavaScript function that handles events from the Flash media player. */
PlayerConfig.prototype.externalEventHandler = null;

/** specifies the user's ID. */
PlayerConfig.prototype.loggingEnabled = false;
PlayerConfig.prototype.userID = null;
PlayerConfig.prototype.useFullScreenHardwareAcceleration = true;
PlayerConfig.prototype.playerType = PlayerType.DEFAULT;
PlayerConfig.prototype.analytics = new AnalyticsConfig();
PlayerConfig.prototype.services = new ServicesConfig();
PlayerConfig.prototype.serverMaxBurstRate = 2.0;

//###############################
// MediaObject
//###############################
/**
 * MediaObject
 * 
 * An object that defines a media instance to be played by the media player
 * 
 * @param {Object} p_name - title of the media
 * @param {Object} p_URL - media's URL path
 * @param {Object} p_id - media's ID
 * @param {Object} p_format - format of the media
 * @param {Object} p_protocol [OPTIONAL] method of delivery "progressive" or "streaming" (default: progressive)
 * @param {Object} p_streamItem [OPTIONAL]
 */


//-----------------------------
// Properties

/** specifies whether the media will autoPlay or not */
MediaObject.prototype.autoPlay = true;

MediaObject.prototype.bufferTime = null;

/** specifies the chapters associated with the media */
MediaObject.prototype.chapters = null;

/** specifies the connector type to use when attempting to connect to an FMS server */
MediaObject.prototype.connectorType = ConnectorType.SHOTGUN;

/** specifies the message to display when loading */
MediaObject.prototype.loadingMessage = null;

/** specifies the poster image for the media */
MediaObject.prototype.posterURL = null;

/** specifies whether the media can be resumed from the position last viewed by the user */
MediaObject.prototype.resumable = false;

/** specifies the title for a media object (used in tracking) */
MediaObject.prototype.name = null;

/** specifies the URL path to the media */
MediaObject.prototype.url = null;

/** specifies the ID used to identify the media instance */
MediaObject.prototype.id = null;

/** specifies the format type for the media instance @see MediaFormats */
MediaObject.prototype.format = null;

/** [OPTIONAL] specifies the delivery method for the media instance @see ProtocolTypes */
MediaObject.prototype.protocol = ProtocolTypes.PROGRESSIVE;

/** [OPTIONAL] specifies a scale mode of the media */
MediaObject.prototype.scaleMode = ScaleMode.UNIFORM;

/** [OPTIONAL] specifies a stream collection of variant bitrate streams to use @see StreamItem */
MediaObject.prototype.streamItem = null;

/** [OPTIONAL] specifies a CuePointCollection containing cuePoints to be fired while a media instance is playing */
MediaObject.prototype.cuePointCollection = null;

/** specifies whether the object is secure or not */
MediaObject.prototype.secure = false;
/** [OPTIONAL] specifies the lock limit for dropped frames */
MediaObject.prototype.droppedFramesLockLimit = 3;	


