Re: Temporal media fragment for HTML media questions

Dear Chris,

> I'm working on Mozilla bug 648595 to implement temporal media
> fragments on the HTML video and audio elements:
> https://bugzilla.mozilla.org/show_bug.cgi?id=648595

This is an old thread, and you have joined the WG since this email, but 
I have an action to make sure that the comments you raised have been 
addressed. As far as I can see from this list:

> 1) When a temporal fragment is given with a start time, when the
> loadedmetadata event on the resource is raised this is the currentTime
> of the resource.

Yes.

> 2) When an end time is given I do the equivalent of calling 'pause()'
> on the media element. I do not raise the 'ended' event.

Unsure. Philip and you seem to believe this is better than raising 
'ended' (that would make more sense for the loop use case) but I'm not 
sure I understand the rationale. I observe, however, that our spec says 
it should "pause", see 
http://www.w3.org/2008/WebVideo/Fragments/WD-media-fragments-spec/#media-fragment-display

> 3) When the media is paused due to reaching the end time and then
> 'play()' is called, playback continues ignoring the media fragment
> times.

Yes. As soon as there is an interaction, we are out of the fragments.

> 4) What do I do with 'loop'? Loop the fragment?

This is the contentious issue, see bug 
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12426

> 5) When a user seeks, or 'currentTime' is set on the DOM object then
> the media fragments are ignored. Is this the right approach?

Yes, see 
http://www.w3.org/2008/WebVideo/Fragments/WD-media-fragments-spec/#media-fragment-display

Could you please let us know if you feel your comments have been 
successfully addressed?
Best regards.

   Raphaël

-- 
Raphaël Troncy
EURECOM, Multimedia Communications Department
2229, route des Crêtes, 06560 Sophia Antipolis, France.
e-mail: raphael.troncy@eurecom.fr & raphael.troncy@gmail.com
Tel: +33 (0)4 - 9300 8242
Fax: +33 (0)4 - 9000 8200
Web: http://www.eurecom.fr/~troncy/

Received on Wednesday, 22 June 2011 07:39:17 UTC