text: /*  
  	Paella HTML 5 Multistream Player
  	Copyright (C) 2017  Universitat Politècnica de València Licensed under the
  	Educational Community License, Version 2.0 (the "License"); you may
  	not use this file except in compliance with the License. You may
  	obtain a copy of the License at
  
  	http://www.osedu.org/licenses/ECL-2.0
  
  	Unless required by applicable law or agreed to in writing,
  	software distributed under the License is distributed on an "AS IS"
  	BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  	or implied. See the License for the specific language governing
  	permissions and limitations under the License.
  */
  
  /*
  Class ("paella.editor.EmbedPlayer", base.AsyncLoaderCallback,{
  	editar:null,
  
  	initialize:function() {
  		this.editor = paella.editor.instance;
  	},
  
  	load:function(onSuccess,onError) {
  		var barHeight = this.editor.bottomBar.getHeight() + 20;
  		var rightBarWidth = this.editor.rightBar.getWidth() + 20;
  		$(paella.player.mainContainer).css({
  			'position':'fixed',
  			"width":"",
  			"bottom":barHeight + "px",
  			"right":rightBarWidth + "px",
  			"left":"20px",
  			"top":"20px"
  		});
  		paella.player.mainContainer.className = "paellaMainContainerEditorMode";
  		new Timer(function(timer) {
  			paella.player.controls.disable();
  			paella.player.onresize();
  			if (onSuccess) {
  				onSuccess();
  			}
  		},500);
  	},
  
  	restorePlayer:function() {
  		$('body')[0].appendChild(paella.player.mainContainer);
  		paella.player.controls.enable();
  		paella.player.mainContainer.className = "";
  		$(paella.player.mainContainer).css({
  			'position':'',
  			"width":"",
  			"bottom":"",
  			"left":"",
  			"right":"",
  			"top":""
  		});
  		paella.player.onresize();
  	},
  
  	onresize:function() {
  		var barHeight = this.editor.bottomBar.getHeight() + 20;
  		var rightBarWidth = this.editor.rightBar.getWidth() + 20;
  		$(paella.player.mainContainer).css({
  			'position':'fixed',
  			"width":"",
  			"bottom":barHeight + "px",
  			"right":rightBarWidth + "px",
  			"left":"20px",
  			"top":"20px"
  		});
  
  	}
  });
  
  */