[whatwg] video tag : loop for ever

Andy Lyttle whatwg at phroggy.com
Wed Oct 15 09:53:32 PDT 2008


On Oct 15, 2008, at 8:38 AM, João Eiras wrote:

> Why not just assuming that playcount="0" means loops forever ?

This was exactly my thought.

If playcount="5" causes the video to be played 5 times, what should  
the result of each of these be?

playcount="1"
playcount="0"
playcount="-5"
playcount="foobar"

Is there any possible usefulness whatsoever in making playcount="0"  
not play the video at all?  If not, I don't see a good reason not to  
use that to mean infinite looping.

Either that, or some keyword, but I don't know what it should be.   
"infinite" and "forever" come to mind.

-- 
Andy Lyttle
whatwg at phroggy.com




More information about the whatwg mailing list