﻿function startVideoPlayer(videoId)
{
     // By use of this code snippet, I agree to the Brightcove Publisher T and C 
     // found at http://corp.brightcove.com/legal/terms_publisher.cfm. 
     var config = new Array();
     /* 
     * feel free to edit these configurations
     * to modify the player experience
     */                          
     if('null' != videoId)
     {                                                                         
         config["videoId"] = videoId; //the default video loaded into the player
         config["videoRef"] = null; //the default video loaded into the player by ref id specified in console
         config["lineupId"] = null; //the default lineup loaded into the player
         config["playerTag"] = null; //player tag used for identifying this page in brightcove reporting
         config["autoStart"] = false; //tells the player to start playing video on load
         config["preloadBackColor"] = "#FFFFFF"; //background color while loading the player
          /* 
         * set the player's size using the parameters below
         * to make this player dynamically resizable, set the width and height as a percentage
         */
         config["width"] = 486;
         config["height"] = 412;
         
         /* do not edit these config items */
         config["playerId"] = "ARxpto8u%2BTcAg%2FtuGc4TLaEcT9Gn8ci2F";
         
         createExperience(config, 8);
     }
}