This page long out of date and isn't updated any more.

1.3 Text description of visual track of a multimedia presentation

This example uses SMIL to achieve the standard 1.3 Text description of visual track of a multimedia presentation.

Web page

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-nz"> <head> <title>Page title</title> </head> <body> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="400" height="410" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0"> <param name="controller" value="true"> <param name="type" value="video/quicktime"> <param name="autoplay" value="false"> <param name="target" value="myself"> <param name="src" value="example.smil"> <param name="pluginspage" value="http://www.apple.com/quicktime/download/"> <embed width="400" height="410" controller="true" src="example.smil" type="video/quicktime" target="myself" bgcolor="#000000" border="0" pluginspage="http://www.apple.com/quicktime/"></embed> </object> </body> </html>

example.smil

<?xml version="1.0" encoding="UTF-8"?> <smil xmlns:qt="http://www.apple.com/quicktime/resources/smilextensions" qt:time-slider="true"> <head> <meta name="title" content="New Zealand E-government SMIL example"/> <meta name="author" content="Pete McVicar / State Services Comission"/> <meta name="copyright" content="New Zealand Crown Copyright"/> <layout> <root-layout background-color="black" height="400" width="400"/> <region id="video" background-color="black" top="0" left="0" height="300" width="400" fit="meet" /> <region id="captions" background-color="black" top="310" height="80" left="10" width="380" fit="fill" /> </layout> </head> <body> <par dur="0:02:09.00"> <textstream dur="0:01:05.00" src="captions.txt" region="captions" system-captions="on" title="captions"/> <video dur="0:01:05.00" src="example.mov" begin="00:00.0" region="video" title="video"/> </par> </body> </smil>

Caption.txt

{QTtext}{timescale:100}{font:Arial}{size: 26}{backColor:0,0,0} {textColor:65535,65535,65535}{width:400}{height:100}{justify:left} [00:00:00.00] May I say to the honourable gentleman who preceded me, there is nothing of what I am about to say which has been conditioned in any way by my meeting with the Prime Minister of the United Kingdom yesterday [00:00:12.50] ( Laughter ) I did not meet her yesterday [00:00:20.00] ( Laughter and applause ) I am meeting her on Monday. But I know the apprehension that he feels at his constant fear of being summoned to that carpet [00:00:32.50] ( Laughter ) I also feel a considerable sympathy for the members of the opposite side, who have this extraordinary sense of destabilisation at the imminent prospect of peace breaking out. [00:00:51.00] The character of the argument, sir, is something which I find regrettable. So I can say very simply that it is my conviction that there is no moral case for nuclear weapons.