On 13-03-22 8:29 PM, Robert O'Callahan wrote:
On Sat, Mar 23, 2013 at 8:57 AM, David Humphrey
<[email protected]
<mailto:[email protected]>> wrote:
For the work we're doing on WebVTT, we have to manage lists of
cues according to the media element's current time. For demo
purposes, we hacked something together that happens when
timeupdate events are fired. I want to know what the right way is
to do this, though. How should we be connecting things?
Probably just add some code to HTMLMediaElement::FireTimeUpdate. That
runs every time currentTime might have changed.
Rob
--
Wrfhf pnyyrq gurz gbtrgure naq fnvq, “Lbh xabj gung gur ehyref bs gur
Tragvyrf ybeq vg bire gurz, naq gurve uvtu bssvpvnyf rkrepvfr
nhgubevgl bire gurz. Abg fb jvgu lbh. Vafgrnq, jubrire jnagf gb orpbzr
terng nzbat lbh zhfg or lbhe freinag, naq jubrire jnagf gb or svefg
zhfg or lbhe fynir — whfg nf gur Fba bs Zna qvq abg pbzr gb or freirq,
ohg gb freir, naq gb tvir uvf yvsr nf n enafbz sbe znal.” [Znggurj
20:25-28]
Great, that's what we're doing now. I liked this method because it
meant we were already on the main thread, so I'm glad it's also what you
think we should do.
Dave
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media