anchor.diff:  						document.getElementById("playervideo_vimeo_iframe").src = src;
   					}
   				}
  -				
  -				
  +
  +
   			});
  -		
  -		}
  -		
  +
  +		}
  +
   		//Creamos el array para las preguntas
   		var questions = [];
   		<c:forEach items="${timeQuestions }" var="question">
  
positive.code:  				url: '${saveQuestionURL}',
   			    cache:false,
   				data: $("#<portlet:namespace />questionform_" + questionId).serialize(),
   				success: function(data){			
   					if(data){
   						if(data.correct){
   							$('#<portlet:namespace />question_div_'+questionId).remove();
   							if(data.questionFeedback){
   								$('#<portlet:namespace />feedback_'+questionId).removeClass("aui-helper-hidden");
   	 							$('#<portlet:namespace />feedback_content_'+questionId).html(data.feedback);	
   							}else{
   								$('#<portlet:namespace />feedback_'+questionId).remove();
   								player.play();
   							}
   							
  							
   						}	
   					}
   				},
   				error: function(){
   					
   				}
   			});
   		}else{
   			//Mostramos los mensajes que sean
   		}
   	}
   	
   	
   	function <portlet:namespace/>continueQuestion(questionId){
   		//Cogemos la respuesta
   		$('#<portlet:namespace />feedback_'+questionId).remove();
  
negative.code: <portlet:resourceURL var="saveQuestionURL" id="saveQuestion" />
  
  <script>
  
   	var player;
  
       document.addEventListener('DOMContentLoaded', function() {
  
  
      	var answerQuestion = true;
    	 	var plays = 0;
    	 	var finished = false;
  
  
    	 	if('${isVimeoIframe}' == 'true' && '${controls}' == ''){
    	 		console.log("SIN CONTROLES");
    	 		$('#playervideo').mediaelementplayer({
    	     	    features: ['playpause','volume'], //Adding the feature 'markers' enables this plugin
    	     		pluginPath: '/liferaylms-portlet/js/mediaelement/',
    	     	    success: function (media) {
  					media.setMuted(false);
    	     	    	player = media;
  
    	     	    }
    	     	});
    	 	}else{
    	 		console.log("CON CONTROLES");
    	 		player = new MediaElement("playervideo", {
    		 		pluginPath: '/liferaylms-portlet/js/mediaelement/',
    		        shimScriptAccess: 'always',
    		        success: function (media, node) {
  
    		        }
    		    });
    	 	}
  
  
  	    var currentTime = parseInt('${currentTime}');
  		if(currentTime > 0){
  			player.setCurrentTime(currentTime);
  		}
  
  		player.addEventListener('play', function () {
  			if(!$('#<portlet:namespace/>videoQuestionFeedback').hasClass("aui-helper-hidden")){
  				$('#<portlet:namespace/>videoQuestionFeedback').addClass("aui-helper-hidden")
  			}
  			$('#<portlet:namespace/>videoQuestionFeedback').html("");
  			finished = false;
  			if(plays > 0){
  				if($('[id^=<portlet:namespace/>question_div_]')!=null){
  					$('[id^=<portlet:namespace/>question_div_]').addClass("aui-helper-hidden");
  				}
  			}
  			plays++;
  
  
  
  		});
  
  		if('${!hasPermissionAccessCourseFinished}' == 'true'){
  
  			player.addEventListener('ended',function() {
  
  				var duration = player.getDuration();
  
  				<portlet:namespace/>finishTry(100,duration,plays);
  
  				// Process Success - A LearningActivityResult returned
  				finished = true;
  				setTimeout(function(){ Liferay.Portlet.refresh('#p_p_id_activityNavigator_WAR_liferaylmsportlet_'); }, 1000);
  				setTimeout(function(){Liferay.Portlet.refresh('#p_p_id_lmsactivitieslist_WAR_liferaylmsportlet_'); }, 1000);
  				player.setControls(true);
  