W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2010

[Bug 10071] there should be a 'stop()' method or a 'clear()' method to clear the currently playing media because pause() doesnt clear it and setting the src to an empty string or null doesnt work

From: <bugzilla@jessica.w3.org>
Date: Mon, 05 Jul 2010 13:54:56 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OVm8O-0001eO-E6@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10071





--- Comment #1 from Simon Pieters <simonp@opera.com>  2010-07-05 13:54:56 ---
To pause and rewind to the beginning, use stop(); currentTime = 0;

To unload the video, remove the src attribute/source elements and call load().

Setting src to the empty string should actually work, I think, although it's
not valid.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 5 July 2010 13:54:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:51 UTC