[Bug 10320] [WebSRT voice] Allow an arbitrary string as the voice for forwards compatilbity

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10320

--- Comment #22 from Silvia Pfeiffer <silviapfeiffer1@gmail.com> 2010-12-14 03:42:41 UTC ---
(In reply to comment #21)
> Can you point me to the relevant part of TTML? If they have a good solution I'm
> quite happy to use it. I couldn't find it.

I just checked what Sean used as an example at
http://www.w3.org/WAI/PF/HTML/wiki/TextFormat_Mapping_to_Requirements (useful
to find TTML examples for our use cases). Here's how he marked it up:

<tt xml:lang="en" xmlns="http://www.w3.org/ns/ttml"
xmlns:ttm="http://www.w3.org/ns/ttml#metadata">
  <head>
    <ttm:agent xml:id="connery" type="person">
      <ttm:name type="family">Connery</ttm:name>
      <ttm:name type="given">Thomas Sean</ttm:name>
      <ttm:name type="alias">Sean</ttm:name>
      <ttm:name type="full">Sir Thomas Sean Connery</ttm:name>
    </ttm:agent>
    <ttm:agent xml:id="bond" type="character">
      <ttm:name type="family">Bond</ttm:name>
      <ttm:name type="given">James</ttm:name>
      <ttm:name type="alias">007</ttm:name>
      <ttm:actor agent="connery"/>
    </ttm:agent>
  </head>
  <body>
    <div>
      ...
      <p ttm:agent="bond">I travel, a sort of licensed troubleshooter.</p>
      ...
    </div>
  </body>
</tt>

Basically TTML defines the people at the top in some metadata and then
references them during the cue.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 14 December 2010 03:42:45 UTC