Ticket #480 (closed bug: invalid)
A single pixel of background is sometimes shown when a video starts
|Reported by:||jeroen||Owned by:||jeroen|
for example if you embed a 16x9 video that is 512x288 at it's native size of 512x288 and set stretching to uniform - the video is displayed as 512x287 and a line the same color as the bgcolor is displayed along the top of the player (see example1.jpg) this only happens when stretching is set to uniform and i've only seen it with 16x9 video (4:3 is fine).
for my needs uniform stretching is required so that users will see the full video without squishing or cropping when they choose full screen. if you hit full screen on the player and return return by hitting the escape key, this problem disappears and the video is displayed correctly - see example2.jpg
if i set the stretching to none, or fill or exact fit then the problem of the video not displaying size as when viewed 1:1 disappears (see example3.jpg and example4.jpg) but none of these options are viable. exactfit distorts the video when displayed full screen and distorts the aspect ratio to fit the screen of the user. i need the video to display with the correct aspect ratio and black bars - uniform is the right stretching type for this.
but with uniform stretching selected and with a 16x9 video coming in, the video is distorted when played 1:1 in the embed and in fact is displayed as 512x279 instead of 512x278 - this is why there is the single pixel line at the top of the player.