跳轉到內容

XML - 資料交換管理/SMIL/答案

來自華夏公益教科書,開放的書籍,開放的世界
  1. 建立一個簡單的SMIL檔案,顯示“Hello World”這兩個詞。確認該檔案在符合SMIL標準的播放器中正常工作。
  2. 編寫一個SMIL檔案,顯示“Hello World”3秒,然後顯示“Goodbye World”1秒。確認該檔案在符合SMIL標準的播放器中正常工作。

1. 由Anne Rayborn Howard提交
檔案 Exercise1.smil

1
2
3
4
5
6
7
8
9
10
11
<smil>
<head>
<layout>
<root-layout width="200" height="75" background-color="white" />
<region id="text" left="0" top="0" width="200" height="75" />
</layout>
</head>
<body>
<text src="Exercise1.rt" alt="Hello World" region="text" dur="1s" begin="0s" />
</body>
</smil>


檔案 Exercise1.rt

1
Hello World!


2. 由Anne Rayborn Howard提交
檔案 Exercise2.smil

1
2
3
4
5
6
7
8
9
10
11
12
<smil>
<head>
<layout>
<root-layout width="200" height="75" background-color="white" />
<region id="text" left="0" top="0" width="200" height="75" />
</layout>
</head>
<body>
<text src="Exercise1.rt" alt="Hello World" region="text" dur="3s" begin="0s" />
<text src="Exercise2.rt" alt="Goodbye World" region="text" dur="1s" begin="0s" />
</body>
</smil>


檔案 Exercise2.rt

1
Goodbye World!


3. 由(你的姓名)提交
如果您有MS Powerpoint,您可以使用 Smil Generator for Powerpoint presentations 將您的Powerpoint轉換為SMIL檔案。

1
2
3


4. 由(您的姓名)提交

1
2
3


華夏公益教科書