Skip to content

Commit

Permalink
Merge remote-tracking branch 'heidiv/FLUID-4819'
Browse files Browse the repository at this point in the history
* heidiv/FLUID-4819:
  FLUID-4819: explicitly setting video width to be same width as overlay
  • Loading branch information
michelled committed Nov 8, 2012
2 parents 381e63e + a89eb72 commit dae626b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/VideoPlayer.js
Expand Up @@ -617,6 +617,7 @@ https://github.com/fluid-project/infusion/raw/master/Infusion-LICENSE.txt

// Set height on the controller area. To make overlay to show up exactly at the bottom of the video regardless to UIO settings
videoPlayer.css({height: videoHeight});
videoPlayer.css({width: videoWidth}); // Ensures the video and overlay will always be the same width (for ex., coming out of full-screen)

// Set the width of the overlay to be the width of the video, otherwise, the controller bar spreads into transcript area
overlay.css({width: videoWidth});
Expand Down

0 comments on commit dae626b

Please sign in to comment.