imathis/octopress — Issue #352: HTML5 video tag always using 100% width
Author: matrixagent
Created: 2012-01-02 05:26:35+00:00
State: open

This is probably a rather stupid question, as the CSS seems pretty straight forward to me in ensuring the video player always uses 100% width - I'm just wondering for what purpose I'm able to enter a width in pixels if that is the case?
My use case is a video in portrait format, having 480x640 pixels - I would have expected it to look like this: http://matrixagents.org/i/8304dce44d8ea3922386d08c55aab0d2.png
But I only got that after disabling `width: 100%` from `article video` via the Inspector.
Actually it is looking like this: http://matrixagents.org/i/ccd5c7b7a6a3c70a5b5edf2576917667.png

Is this intended? I do understand that most of the time you videos will be wider than they are tall and most of the time they would be wider than 100%, so my case might not be the most common one, but I still don't understand why I can tell the video tag about my video's dimensions if they aren't used but the video is always scaled to fill the entire 100% in width.