![]() |
|
Dreamweaver Extensions
|
Working with XML contentOpen the playlist.xml file in Dreamweaver (File -> Open), to change the content of your gallery. Also, you can open the XML content file through FlashDevelopment24 Wizard (Right click on Flash Object, then FlashDevlopment24 Wizard -> Flash Video Player). After that, in the category of 'General', click the 'Edit' button near the 'Source' field. The following example shows the basic structure of the content XML file: <?xml version="1.0" encoding="utf-8"?> <playlist> <item src="videos/video01.flv" thumb="thumbs/thumb01.jpg" time="01:10" caption="Caption 1" /> <item src="videos/video02.flv" thumb="thumbs/thumb02.jpg" time="01:20" caption="Caption 2" /> <item src="videos/video03.flv" thumb="thumbs/thumb03.jpg" time="01:30" caption="Caption 3" /> <item src="videos/video04.flv" thumb="thumbs/thumb04.jpg" caption="Caption 4" /> <item src="videos/video05.flv" thumb="thumbs/thumb05.jpg" caption="Caption 5" /> </playlist> In this example, parent <gallery> tag contains five child tags <item>. Each of them has its own caption. First, second and third item has also 'time' attribute. <playlist>Description <item>Description Attributes
|