Add function to compute size of displayed videos without letter- or pillarboxes.
Fix style nits caught by code review
Merge pull request #247 from dmose/compute-displayed-video-size2

Add code to compute displayed width of videos. r=@n1k0 from PR #243 with changes requested here.