W3C home > Mailing lists > Public > public-media-capture@w3.org > April 2013

Re: [Bug 21618] New: MediaStreams with no tracks need to not be Ended

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 10 Apr 2013 00:27:50 +1200
Message-ID: <CAOp6jLYY=CoBbLFkH01y49+ZsDch3J18zSJJVAcF3mReHWXvvw@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: Martin Thomson <martin.thomson@gmail.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On Tue, Apr 9, 2013 at 10:59 PM, Harald Alvestrand <harald@alvestrand.no>wrote:

> Hmmm.... I'm trying to parse the media element spec, and it says that it's
> ended when its input has reached the end of the medium - but I can't tell
> if there's the option of manually rewinding the input, or if it's possible
> for a media source to change the position of the end after the media
> element has ended.
>
> Is it possible for a media element to become un-ended after having been
> ended?
>

Yes. You can set currentTime to seek to any position. Also you can call
play() to replay the resource from the beginning. However, this has to be
triggered by the application --- the resource cannot spontaneously
re-animate itself :-).

Rob
-- 
q“qIqfq qyqoquq qlqoqvqeq qtqhqoqsqeq qwqhqoq qlqoqvqeq qyqoquq,q qwqhqaqtq
qcqrqeqdqiqtq qiqsq qtqhqaqtq qtqoq qyqoquq?q qEqvqeqnq qsqiqnqnqeqrqsq
qlqoqvqeq qtqhqoqsqeq qwqhqoq qlqoqvqeq qtqhqeqmq.q qAqnqdq qiqfq qyqoquq
qdqoq qgqoqoqdq qtqoq qtqhqoqsqeq qwqhqoq qaqrqeq qgqoqoqdq qtqoq qyqoquq,q
qwqhqaqtq qcqrqeqdqiqtq qiqsq qtqhqaqtq qtqoq qyqoquq?q qEqvqeqnq
qsqiqnqnqeqrqsq qdqoq qtqhqaqtq.q"
Received on Tuesday, 9 April 2013 12:28:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:24:40 UTC