anchor.diff:      }
   
       String videoPlayer = "";
  -	String type = "embedded".equals(properties.get("mode","embedded")) ? "inplayer" : "cta";
  -	long width = properties.get("width",-1);
  -    long height = properties.get("height",-1);
  -    if (width > 0 && !(height > 0)) {
  -        height = ConfigurationUtil.getHeight(videoPlayer,width);
  -    } else if (height > 0 && !(width > 0)) {
  -        width = ConfigurationUtil.getWidth(videoPlayer,height);
  -    }
  +    String type = "embedded".equals(properties.get("mode","embedded")) ? "inplayer" : "cta";
   
  -	if("manual".equals(selection_mode)){
  +    if("manual".equals(selection_mode)){
           videoPlayer = properties.get("videoPlayer","");
       } else if ("mpd".equals(selection_mode)){
           //Get the mpd from the page properties.
  
positive.code:         if (!mpdProperty.isEmpty()) {
              videoPlayer = mpdProperty;
          } else if (!mpdPageProperty.isEmpty()) {
  			videoPlayer = mpdPageProperty;
          }
      } else if ("refid".equals(selection_mode)){
          //Get the mpd from the page properties.
  
negative.code: <%
      /*
          Adobe CQ5 Invodo Connector
  
          Copyright (C) 2015 Coresecure Inc.
  
              Authors:    Alessandro Bonfatti
  
          This program is free software: you can redistribute it and/or modify
          it under the terms of the GNU General Public License as published by
          the Free Software Foundation, either version 3 of the License, or
          (at your option) any later version.
  
          This program is distributed in the hope that it will be useful,
          but WITHOUT ANY WARRANTY; without even the implied warranty of
          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
          GNU General Public License for more details.
  
          You should have received a copy of the GNU General Public License
          along with this program.  If not, see <http://www.gnu.org/licenses/>.
      */
  %>
  <%@include file="/libs/foundation/global.jsp"%>
  <%@ page import="com.day.cq.wcm.api.components.DropTarget,java.util.UUID,com.coresecure.invodo.aem.*,com.day.cq.wcm.foundation.Image"%>
  <%
      UUID video_uuid = new UUID(64L,64L);
      String VideoRandomID = new String(video_uuid.randomUUID().toString().replaceAll("-",""));
      String selection_mode= properties.get("selection_mode","");
  
      Image image = null;
      String imageCTAData="/etc/designs/cs/invodo/InvodoExperiences/images/playbutton_black_64px.png";
      if (currentNode.hasNode("ctaimage")) {
          image = new Image(resourceResolver.getResource(currentNode.getNode("ctaimage").getPath()));
  