[Webkit-unassigned] [Bug 38811] New: Safari scales the video width and height only for controls, not for video
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 9 00:56:58 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=38811
Summary: Safari scales the video width and height only for
controls, not for video
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Media Elements
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: silviapfeiffer1 at gmail.com
Created an attachment (id=55492)
--> (https://bugs.webkit.org/attachment.cgi?id=55492)
Safari bug with width only specified on <video>
Safari has a weird way of scaling the video element width and height, if only width is given. In contrast to all other browsers (that include Google Chrome, Firefox and Opera), Safari scaling of a video element results in only the video controls being scaled to the appropriate width, while the video itself stays smaller. See the attached screenshot safari_width_bug.tiff.
This is the spec with which it was created:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Guide to HTML5 video: chapter 3: example 1</title>
<style type="text/css">
video {
width: 800px;
}
</style>
</head>
<body>
<h1>Chapter 3: example 1</h1>
<video controls>
<source src="HelloWorld.mp4" type="video/mp4">
<source src="HelloWorld.ogv" type="video/ogg">
</video>
</body>
</html>
A problem also occurs when only height is set and not width - the video the has quite a massive white space at top and bottom.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list