What's New in QuickTime 5
| Previous | Chapter Contents | Chapter Top | Next |
QuickTime 5 introduces support for opening XML documents and importing them as movies -- without relying on their extension. The syntax is:
<?xml version="1.0">
<?quicktime type="application/smil"?>where application/smil is replaced with the mime type for the XML document. You can verify this by using a SMIL script. You rename the file to end with .mov and add the above two lines to the top of the document, and then Save As with the .mov extension. The two lines are followed by the XML document's content.
Note that the lines must be present in order for the code to work correctly, and both lines must be at the very top of the document. Note also that you can't have extra lines in between the two lines.
What's New in QuickTime 5
| Previous | Chapter Contents | Chapter Top | Next |