web/js/for_cast.js
/**
 * initialization (be called during launch time)
 */
initialization (be called during launch time)
initialization ( be called during launch time )
function initializeCastApi() {
    var sessionRequest = new chrome.cast.SessionRequest(applicationID);
    var apiConfig = new chrome.cast.ApiConfig(sessionRequest,
      sessionListener,
      receiverListener);
    chrome.cast.initialize(apiConfig, onInitSuccess, onError);
}
function initializeCastApi ( ) { var sessionRequest = new chrome . cast . SessionRequest ( applicationID ) ; var apiConfig = new chrome . cast . ApiConfig ( sessionRequest , sessionListener , receiverListener ) ; chrome . cast . initialize ( apiConfig , onInitSuccess , onError ) ; }
initialization (be called during launch time)
initialization ( be called during launch time )