2007年12月17日 星期一

Lab Movie Player by AJAX

1. Go to Laszlo and enter (Laszlo in 10 minutes).
2. Study and play around the "scripting" and "video" examples.
3. Use this script to control movie playing.

[view id="video" x="0" y="50" resource=""http:jfk.swf"/]

4. If you push the "pause" button, the movie pauses.

[button x="200" onclick="video.setAttribute('play',false) "]pause[/button]

5. If you push the "resume" button, the movie resumes.

[button onclick="video.setAttribute('play',true)"]resume[/button]

沒有留言: