XML - 資料交換管理/SMIL/答案
外觀
< XML - 資料交換管理 | SMIL
- 建立一個簡單的 SMIL 檔案,顯示“Hello World”字樣。確認該檔案在符合 SMIL 規範的播放器中正常工作。
- 編寫一個 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 |