Skip to content

Commit 409df65

Browse files
authored
Fix exports (#527)
Add data-export attributes The attributes are needed because the spec uses an older version of ReSpec Also add an export for "Initialization Data", for the MP4 stream registry spec.
1 parent 2e4580c commit 409df65

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

encrypted-media-respec.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ <h2>Definitions</h2>
289289
<p class="note">For example, a key is not usable for decryption if its license has expired. Even if its license has not expired, a key is not usable for decryption if other conditions (e.g., output protection) for its use are not currently satisfied.</p>
290290
</dd>
291291

292-
<dt id="decryption-key-id"><dfn class="export" data-lt="Decryption key ID">Key ID</dfn></dt>
292+
<dt id="decryption-key-id"><dfn class="export" data-export="" data-lt="Decryption key ID">Key ID</dfn></dt>
293293
<dd>
294294
<p>A <a href="#decryption-key">key</a> is associated with a key ID that is a sequence of octets and which uniquely identifies the key.
295295
The container specifies the ID of the key that can decrypt a block or set of blocks within the <a def-id="media-data"></a>.
@@ -317,7 +317,7 @@ <h2>Definitions</h2>
317317
<p>A license is key system-specific state information that includes one or more <a href="#decryption-key">key(s)</a> - each associated with a <a def-id="key-id"></a> - and potentially other information about key usage.</p>
318318
</dd>
319319

320-
<dt id="initialization-data">Initialization Data</dt>
320+
<dt id="initialization-data"><dfn class="export" data-export="">Initialization Data</dfn></dt>
321321
<dd>
322322
<p class="note">
323323
<a def-id="keysystems"></a> usually require a block of initialization data containing information about the stream to be decrypted before they can construct a license request message.
@@ -332,7 +332,7 @@ <h2>Definitions</h2>
332332

333333
<p>
334334
The format of the initialization data depends upon the type of container, and containers MAY support more than one format
335-
of initialization data. The <dfn class="export" id="initialization-data-type">Initialization Data Type</dfn> is a string that indicates the
335+
of initialization data. The <dfn class="export" data-export="" id="initialization-data-type">Initialization Data Type</dfn> is a string that indicates the
336336
format of the accompanying Initialization Data. Initialization Data Type strings are always matched case-sensitively. It is
337337
RECOMMENDED that Initialization Data Type strings are lower-case ASCII strings.
338338
</p>
@@ -3027,9 +3027,9 @@ <h4>Media Data May Contain Encrypted Blocks</h4>
30273027
</section>
30283028

30293029
<section id="initdata-encountered">
3030-
<h4><dfn class="export">Initialization Data Encountered</dfn></h4>
3030+
<h4><dfn class="export" data-export="">Initialization Data Encountered</dfn></h4>
30313031
<p>
3032-
The Initialization Data Encountered algorithm queues an <a def-id="encrypted"></a> event for <a def-id="initialization-data"></a> encounterd in the <a def-id="media-data"></a>.
3032+
The Initialization Data Encountered algorithm queues an <a def-id="encrypted"></a> event for <a def-id="initialization-data"></a> encountered in the <a def-id="media-data"></a>.
30333033
Requests to run this algorithm include a target <a def-id="htmlmediaelement"></a> object.
30343034
</p>
30353035
<p>The following steps are run:</p>
@@ -3061,7 +3061,7 @@ <h4><dfn class="export">Initialization Data Encountered</dfn></h4>
30613061
</section>
30623062

30633063
<section id="encrypted-block-encountered">
3064-
<h4><dfn class="export">Encrypted Block Encountered</dfn></h4>
3064+
<h4><dfn class="export" data-export="">Encrypted Block Encountered</dfn></h4>
30653065
<p>
30663066
The Encrypted Block Encountered algorithm queues a block of encrypted media data for decryption and attempts to decrypt if possible.
30673067
Requests to run this algorithm include a target <a def-id="htmlmediaelement"></a> object.

0 commit comments

Comments
 (0)