[whatwg] Infinite loopcount for audio and video

Michael A. Puls II shadow2531 at gmail.com
Mon Apr 23 15:37:58 PDT 2007


I would do it  this way:

loopcount:
-1 = Play once, and loop forever.
0  = Play once, but don't loop at all. (Default)
1  = Play once and then loop once.
n  = Play once and then loop n times.
less than -1 or invalid or out of range = Use default of 0.

-- 
Michael



More information about the whatwg mailing list