From 32ae1cb7dc87316b861a5ac8c27c37774d208eb2 Mon Sep 17 00:00:00 2001 From: Matt Garrish Date: Fri, 16 Aug 2024 09:04:12 -0400 Subject: [PATCH] test gitlocaize error --- publishing/docs/sync-media/overlays.html | 114 ++++++++++++----------- 1 file changed, 60 insertions(+), 54 deletions(-) diff --git a/publishing/docs/sync-media/overlays.html b/publishing/docs/sync-media/overlays.html index b89e521e..d4ba67a2 100644 --- a/publishing/docs/sync-media/overlays.html +++ b/publishing/docs/sync-media/overlays.html @@ -76,6 +76,66 @@

Overview

Media Overlays documents are built using the following elements:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ElementUse
smilThe smil element is the root element of each Media Overlay, and + contains an optional head and required body element.
headThe head element may contain metadata in an optional + metadata element, but none is required by the EPUB 3 specification.
metadataThe metadata element is an extension element that allows metadata + from foreign namespaces to be included in the overlay.
bodyThe body element defines playback through the order of + seq and par elements it contains.
seqThe seq element is used to structure an overlay. It is used to + represent complex structures such as sections, tables and lists that a user may want to + skip or escape from.
parThe par element defines a synchronization point in its child + text and/or audio elements.
textThe text element identifies the content document and element to + synchronize visual rendering to.
audioThe audio element identifies the audio file and optional start and + end points for playback.
+

In order to synchronize a publication, each content document in a publication must have its own overlay associated with it. Overlays are tied to content documents in the package document manifest using a media-overlay attribute with the ID of the item that defines the @@ -83,60 +143,6 @@

Overview

-
-

Examples

-
-
Example 1 — A basic overlay document
-

The following example shows an overlay document for a chapter that consists of only a heading and two - paragraphs.

-
<smil xmlns="http://www.w3.org/ns/SMIL"
-	  xmlns:epub="http://www.idpf.org/2007/ops"
-	  version="3.0">
-   <body>
-	  <seq
-		   epub:textref="chapter_001.xhtml"
-		   epub:type="bodymatter chapter">
-	  
-		 <par>
-			<text src="chapter_001.xhtml#c01h01"/>
-			<audio
-				   src="audio/c01.mp4"
-				   clipBegin="0:00:00.000" 
-				   clipEnd="0:00:05.250"/>
-		 </par>
-		 
-		 <par>
-			<text src="chapter_001.xhtml#c01p0001"/>
-			<audio
-				   src="audio/c01.mp4"
-				   clipBegin="0:00:05.250"
-				   clipEnd="0:00:58.100"/>
-		 </par>
-		 
-		 <par>
-			<text src="chapter_001.xhtml#c01p0002"/>
-			<audio
-				   src="audio/c01.mp4"
-				   clipBegin="0:00:58.100"
-				   clipEnd="0:02:04.000"/>
-		 </par>
-	  </seq>
-   </body>
-</smil>
-
- -
-
Example 2 — Linking a chapter document to its overlay
-
<item id="xchapter_001"
-	  href="chapter_001.xhtml"
-	  media-type="application/xhtml+xml"
-	  media-overlay="chapter_001_overlay"/>
-
-<item id="chapter_001_overlay"
-	  href="chapter_001_overlay.smil"
-	  media-type="application/smil+xml"/>
-
-

Samples