|
@@ -857,13 +857,10 @@ const VideoLayout = {
|
857
|
857
|
* TODO: Remove the "animate" param as it is no longer passed in as true.
|
858
|
858
|
*
|
859
|
859
|
* @param forceUpdate indicates that hidden thumbnails will be shown
|
860
|
|
- * @param completeFunction a function to be called when the video area is
|
861
|
|
- * resized.
|
862
|
860
|
*/
|
863
|
861
|
resizeVideoArea(
|
864
|
862
|
forceUpdate = false,
|
865
|
|
- animate = false,
|
866
|
|
- completeFunction = null) {
|
|
863
|
+ animate = false) {
|
867
|
864
|
if (largeVideo) {
|
868
|
865
|
largeVideo.updateContainerSize();
|
869
|
866
|
largeVideo.resize(animate);
|
|
@@ -879,17 +876,6 @@ const VideoLayout = {
|
879
|
876
|
|
880
|
877
|
// Resize the thumbnails first.
|
881
|
878
|
this.resizeThumbnails(forceUpdate);
|
882
|
|
-
|
883
|
|
- // Resize the video area element.
|
884
|
|
- $('#videospace').animate({
|
885
|
|
- right: window.innerWidth - availableWidth,
|
886
|
|
- width: availableWidth,
|
887
|
|
- height: availableHeight
|
888
|
|
- }, {
|
889
|
|
- queue: false,
|
890
|
|
- duration: animate ? 500 : 1,
|
891
|
|
- complete: completeFunction
|
892
|
|
- });
|
893
|
879
|
},
|
894
|
880
|
|
895
|
881
|
getSmallVideo(id) {
|