Answer:
- The dur attribute is used to specify the time span for the clip / image.
- Following example plays the clip for 40 seconds.
<video src="myvideo.rm" dur="40s"/>
- When the duration of the video is less than 40 seconds, the last frame of the video appears frozen on the screen, until the duration elapses.
- The duration can be specified by number of minutes also.
- Following example specifies the image to appear for 5 minutes onscreen.
<img src="myimage.gif" dur="5min"/>
- Following example plays the clip for 40 seconds.
<video src="myvideo.rm" dur="40s"/>
- When the duration of the video is less than 40 seconds, the last frame of the video appears frozen on the screen, until the duration elapses.
- The duration can be specified by number of minutes also.
- Following example specifies the image to appear for 5 minutes onscreen.
<img src="myimage.gif" dur="5min"/>
Previous Question | Next Question |
What is use of clipBegin and clipEnd? | What are the media elements in SMIL? |