-
Notifications
You must be signed in to change notification settings - Fork 30
Timeranges #419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
silviapfeiffer
wants to merge
15
commits into
w3c:gh-pages
Choose a base branch
from
silviapfeiffer:timeranges
base: gh-pages
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Timeranges #419
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
504110b
Attempt to redirect whatwg copy to new location
zcorpan f6078cc
HTML-level redirect whatwg copy to new location
zcorpan 3bebbcc
Merge remote-tracking branch 'upstream/master' into gh-pages
silviapfeiffer 02768b4
Merge remote-tracking branch 'upstream/gh-pages' into gh-pages
silviapfeiffer 938e5e6
Merge remote-tracking branch 'upstream/gh-pages' into gh-pages
silviapfeiffer c46d439
Merge remote-tracking branch 'upstream/gh-pages' into gh-pages
silviapfeiffer 04d1ea9
Explain start and end time of a WebVTT cue by reference to the HTML s…
silviapfeiffer a2d88a5
Merge remote-tracking branch 'upstream/gh-pages' into timeranges
silviapfeiffer 17ece3f
Add normative link to HTML5 spec about processing model
silviapfeiffer 6d7ad90
Make sure to mention not supporting HTML in the processing model.
silviapfeiffer e75495e
Merge branch 'gh-pages' into timeranges
silviapfeiffer c4f517f
Merge branch 'gh-pages' into timeranges
silviapfeiffer 6fa921a
Rebuild index.html
silviapfeiffer 6d8ddbd
Refer to conformance classes rather than trying to re-describe player…
silviapfeiffer ad60ddc
Merge branch 'gh-pages' into timeranges
silviapfeiffer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,7 +47,11 @@ urlPrefix: https://html.spec.whatwg.org/multipage/ | |
| text: text track showing | ||
| text: rules for updating the text track rendering | ||
| text: text track cue active flag | ||
| text: text track cue text | ||
| text: text track cue data | ||
| text: text track cue display state | ||
| text: time marches on | ||
| text: playing the media resource; url: #list-of-newly-introduced-cues | ||
| text: current playback position | ||
| text: text track cue identifier | ||
| text: text track cue pause-on-exit flag | ||
|
|
@@ -4125,22 +4129,20 @@ follows:</p> | |
|
|
||
| <h2 id=rendering>Rendering</h2> | ||
|
|
||
| <p class="note">This section describes in some detail how to visually render <a>WebVTT caption or | ||
| subtitle cues</a> in a user agent. The processing model is quite tightly linked to media elements in | ||
| HTML, where CSS is available. <a>User agents that do not support CSS</a> are expected to render | ||
| plain text only, without styling and positioning features. <a>User agents that do not support a full | ||
| HTML CSS engine</a> are expected to render an equivalent visual representation to what a user agent | ||
| with a full CSS engine would render.</p> | ||
| <p>This section describes how to visually render WebVTT cues in a user agent. The processing model | ||
| is tightly linked to media elements in HTML and follows the handling of cues when <a>playing the | ||
| media resource</a>. When supporting WebVTT in media players that falls into the <a>User agents that | ||
| do not support CSS</a> or <a>User agents that do not support a full HTML CSS engine</a> conformace | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo: s/conformace/conformance |
||
| classes, equivalent visual rendering will need to be implemented.</p> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Another nit: s/will need/needs |
||
|
|
||
|
|
||
| <h3 id=processing-model algorithm>Processing model</h3> | ||
|
|
||
| <p>The <dfn>rules for updating the display of WebVTT text tracks</dfn> render the <a>text tracks</a> | ||
| of a <a>media element</a> (specifically, a <a element>video</a> element), or of another playback | ||
| mechanism, by applying the steps below. All the <a lt="text track">text tracks</a> that use these | ||
| rules for a given <a>media element</a>, or other playback mechanism, are rendered together, to avoid | ||
| overlapping subtitles from multiple tracks. A fallback language |language| may be set when calling | ||
| this algorithm.</p> | ||
| of a <a>media element</a> (specifically, a <a element>video</a> element) by applying the steps | ||
| below. All the <a lt="text track">text tracks</a> that use these rules for a given <a>media | ||
| element</a> are rendered together, to avoid overlapping subtitles from multiple tracks. A fallback | ||
| language |language| may be set when calling this algorithm.</p> | ||
|
|
||
| <p class="note">In HTML, audio elements don't have a visual rendering area and therefore, this | ||
| algorithm will abort for audio elements. When authors do create WebVTT captions or subtitles for | ||
|
|
@@ -4157,7 +4159,7 @@ manner suiting the user.</p> | |
| <li><p>If the <a>media element</a> is an <a element>audio</a> element, or is another playback | ||
| mechanism with no rendering area, abort these steps.</p></li> | ||
|
|
||
| <li><p>Let |video| be the <a>media element</a> or other playback mechanism.</p></li> | ||
| <li><p>Let |video| be the <a>media element</a>.</p></li> | ||
|
|
||
| <li><p>Let |output| be an empty list of absolutely positioned CSS block boxes.</p></li> | ||
|
|
||
|
|
@@ -4931,8 +4933,8 @@ if the <a>text track</a> is being rendered for another media playback mechanism) | |
| properties on the root <a>list of WebVTT Node Objects</a> and the <a lt="WebVTT region | ||
| object">WebVTT region objects</a> must take their initial values.</p> | ||
|
|
||
| <p>If there are style sheets that apply to the <a>media element</a> or other playback mechanism, | ||
| then they must be interpreted as defined in the next section.</p> | ||
| <p>If there are style sheets that apply to the <a>media element</a>, then they must be interpreted | ||
| as defined in the next section.</p> | ||
|
|
||
|
|
||
| <h2 id=css-extensions>CSS extensions</h2> | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar nit: s/in media players/in a media player