var VideoPlayerAPI = {};

/** IN */

VideoPlayerAPI.PlaybackFailed = function( videoURL ) {
	//console.log( 'VideoPlayerAPI.PlaybackFailed: ' + videoURL );
}

VideoPlayerAPI.PlaybackStart = function( videoURL ) {
	//console.log( 'VideoPlayerAPI.PlaybackStart: ' + videoURL );
}

VideoPlayerAPI.PlaybackComplete = function( videoURL ) {
	//console.log( 'VideoPlayerAPI.PlaybackComplete: ' + videoURL );
}

VideoPlayerAPI.Close = function( videoURL ) {
	//console.log( 'VideoPlayerAPI.Close: ' + videoURL );
}


/** OUT */

VideoPlayerAPI.Play = function( url, moreinfo, ageLimit ) {
	document.getElementById( 'atari_video_player' ).playFlashVideo( url, moreinfo, ageLimit );
}

VideoPlayerAPI.Stop = function() {
	document.getElementById( 'atari_video_player' ).stopFlashVideo();
}

VideoPlayerAPI.Pause = function() {
	document.getElementById( 'atari_video_player' ).pauseFlashVideo();
}

VideoPlayerAPI.Resume = function() {
	document.getElementById( 'atari_video_player' ).resumeFlashVideo();
}