- From: <bugzilla@jessica.w3.org>
- Date: Mon, 07 Jan 2013 04:09:16 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20584
Bug ID: 20584
Summary: [HTML5] <media> element proposal
Classification: Unclassified
Product: HTML.next
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P2
Component: default
Assignee: dave.null@w3.org
Reporter: alexei03a@gmail.com
QA Contact: public-html-bugzilla@w3.org
CC: mike@w3.org, robin@w3.org
I have idea to implement <media width="width" height="height"></media> element.
Behavior similar to Canvas element. By instead of graphics you can fill other
content.
Differences of <div> element.
- Supported interactivity.
- JavaScript name - "HTMLMediaContainerElement".
- Stretched like canvas element (proportional or not, depending on CSS).
- The text does not change the size of an element, as its scalable model is
similar to canvas, but not DIV or span.
- "width" and "height" work not as CSS (img, video), but as canvas (i.e. own
original size).
- is not <div> replacement, but addition.
Examples:
<media id="media" width="300" height="150" style="width:600px;">
<!-- final size must be 600x300 -->
<svg width="100%" height="100%">
...
</svg>
</media>
<media id="media" width="10" height="1" style="overflow: hidden;">
Text must be cropped.
</media>
<media id="media" class="video-player" width="$generated by script$"
height="$generated by script$">
<!-- Work like <video> element. -->
<div style="width: 100%; height: 100%; position: relative;">
...
</div>
</media>
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 7 January 2013 04:09:17 UTC