This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 18216 - <track> should not load without a media element parent
Summary: <track> should not load without a media element parent
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Silvia Pfeiffer
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords: CR
Depends on:
Blocks:
 
Reported: 2012-07-18 17:42 UTC by contributor
Modified: 2013-06-06 07:39 UTC (History)
6 users (show)

See Also:


Attachments

Description contributor 2012-07-18 17:42:51 UTC
This was was cloned from bug 17271 as part of operation convergence.
Originally filed: 2012-05-31 12:52:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-05-31 12:52:32 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html
Multipage: http://www.whatwg.org/C#sourcing-out-of-band-text-tracks
Complete: http://www.whatwg.org/c#sourcing-out-of-band-text-tracks

Comment:
<track> Move crossorigin="" to <track>

Posted from: 2001:4c28:a030:30:10c4:66a0:3c62:e586 by simonp@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.3; U; en) Presto/2.10.229 Version/11.64
================================================================================
 #1   Simon Pieters                                   2012-05-31 12:56:31 +0000 
--------------------------------------------------------------------------------
[[
If URL is not the empty string, perform a potentially CORS-enabled fetch of URL, with the mode being the state of the media element's crossorigin content attribute, the origin being the origin of the media element's Document, and the default origin behaviour set to fail.
]]

I think this is problematic for several reasons:

* There might not be a media element.
* You might want to allow cross-origin fetching of the video but not of the tracks, or vice versa.

I think it would be better to have a crossorigin attribute on <track> and let the track load algorithm look only at that.
================================================================================
 #2   Simon Pieters                                   2012-06-01 16:12:22 +0000 
--------------------------------------------------------------------------------
We discussed this for a bit internally and concluded that the added flexibility with <track crossorigin> was not worth the added verbosity. To solve this:

> * There might not be a media element.

We suggest instead that <track> never loads if it doesn't have a media element as parent.
================================================================================
Comment 1 Silvia Pfeiffer 2013-06-06 07:39:17 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

  http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted

Change Description:
https://github.com/w3c/html/commit/15de2b08

Rationale: Accepted WHATWG resolution