}
                   }
                   
-                  // Obtainin the width and height of the original thumbnail, finding out it's ratio,
+                  // Obtain the width and height of the original thumbnail, finding out it's ratio,
                   // and using that ratio when determining the width of the video below.
                   // Example: youtube: 130x97 google: 160x120 metacafe: 90x76 yahoo: 100x70
                   // Set the thumbnailHeight to the current thumbnailSize
                   $image_data = @getimagesize($tmpFile);
                   $ratio = $image_data[0] / $image_data[1];
                   $debugString.="Using ratio from original thumbnail of $ratio. ";
-                  $thumbnailSize=150;
                   $thumbnailHeight=$thumbnailSize;
                   $thumbnailWidth=round($thumbnailHeight * $ratio);
                   $debugString.="Resizing thumbnail image to $thumbnailWidth x $thumbnailHeight: $tmpFile -> $newTmpFile <br>";