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 18530 - <track> WebVTT: Add external stylesheet support
Summary: <track> WebVTT: Add external stylesheet support
Status: RESOLVED DUPLICATE of bug 15023
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P1 major
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: This bug has no owner yet - up for the taking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-10 18:35 UTC by Glenn Maynard
Modified: 2012-08-30 17:02 UTC (History)
5 users (show)

See Also:


Attachments

Description Glenn Maynard 2012-08-10 18:35:49 UTC
For non-browser use, WebVTT files should be able to specify an external stylesheet directly:

Stylesheet: captions.css

WebVTT files embedded within WebM would use this to refer to stylesheets also embedded in the file.

This is related to #15023, but doesn't require duplicating the stylesheet in every track.

For WebVTT files embedded within MKV/WebM, this should find an attachment with the given name.  This is how font embedding works for MKV.  (@font-face in an inline stylesheet, and in stylesheets loaded from WebM attachments, should do this too.)
Comment 1 Simon Pieters 2012-08-13 14:15:58 UTC
Would need to say what the base URL is. I think using the WebVTT file's URL is probably best.
Comment 2 Silvia Pfeiffer 2012-08-29 23:54:18 UTC
I've upped the priority & importance on this bug, even though I know it doesn't really mean anything. We're about to implement the proposed spec in this bug as the WebVTT spec provides no solution for this right now.
Comment 3 Ian 'Hixie' Hickson 2012-08-30 17:02:31 UTC
This is redundant with bug 15023 since once you have inline styles you can just use @import.

STYLES
@import (captions.css);

*** This bug has been marked as a duplicate of bug 15023 ***