id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,parents 1004,Videoplayer has wrong height for videos with width>640,Jaakko Luttinen,,"It is possible to skip transcoding videos that are larger than 640 pixels in some dimension. For instance, this way a user can upload 1280x720 webm videos without transcoding them to smaller. However, there is a bug in the player for these videos. If a video is wider than 640 pixels, the width of the videoplayer is scaled to 640 pixels but the height of the videoplayer is the same as of the video. Thus, for a 1280x720 video, the player has size 640x720, leaving black bars on top and bottom of the video. Fullscreen obviously works fine. A sketch of a solution: HTML video player is scaled appropriately if only width or height is given. Thus, give the width as min(width,640) and let the height be chosen automatically. Modify the video tag in the template mediagoblin/templates/mediagoblin/media_displays/video.html: {{{