Lines Matching refs:media

83 // For every touch, show the media control for 4 seconds.
114 // Default to not logging warnings about excessive drift in the cached media time because it adds a
543 // 2 - If there are any tasks from the media element's media element event task source in
547 // 3 - If the media element's networkState is set to NETWORK_LOADING or NETWORK_IDLE, queue
548 // a task to fire a simple event named abort at the media element.
561 // 4 - If the media element's networkState is not set to NETWORK_EMPTY, then run these substeps
580 // 7 - Invoke the media element's resource selection algorithm.
582 // 8 - Note: Playback of any previously playing media resource for this element stops.
622 // 3 - ... the media element has neither a src attribute ...
645 // 4 - Set the media element's delaying-the-load-event flag to true (this delays the load event),
689 // Recreate the media player for the new url
741 // If there is no poster to display, allow the media engine to render video frames as soon as
803 // 5 - Reaching this step indicates that either the URL failed to resolve, or the media
811 // 7 - Queue a task to fire a progress event called error at the media element, in
812 // the context of the fetching process that was used to try to obtain the media
839 // 3 - Queue a task to fire a simple event named error at the media element.
1119 // 1 - If the media element's readyState is HAVE_NOTHING, then raise an INVALID_STATE_ERR exception.
1138 // 5 - If the new playback position is later than the end of the media resource, then let it be the end
1139 // of the media resource instead.
1146 // Ask the media engine for the time value in the movie's time scale before comparing with current time. This
1148 // time scale, we will ask the media engine to "seek" to the current movie time, which may be a noop and
1154 LOG(Media, "HTMLMediaElement::seek(%f) - media timeline equivalent is %f", time, mediaTime);
1165 // Don't skip calling the media engine if we are in poster mode because a seek should always
1269 LOG(Media, "HTMLMediaElement::currentTime - WARNING, cached time is %f seconds off of media time when paused", delta);
1288 LOG(Media, "HTMLMediaElement::currentTime - WARNING, cached time is %f seconds off of media time when playing", delta);
1298 LOG(Media, "HTMLMediaElement::currentTime - cached time was %f seconds off of media time when it expired", delta);
1382 // 4.8.10.8 Playing the media resource
1383 // The ended attribute must return true if the media element has ended
1458 // 4.8.10.9. Playing the media resource
1505 // 4.8.10.9. Playing the media resource
1605 // this method is only called from the built-in media controller
1619 // Because a media element stays in non-paused state when it reaches end, playback resumes
1624 // Not at the end but we still want to pause playback so the media engine doesn't try to
1682 // Some media engines make multiple "time changed" callbacks at the same time, but we only want one
1776 RefPtr<MediaList> media = MediaList::createAllowingDescriptionSyntax(source->media());
1779 LOG(Media, "HTMLMediaElement::selectNextSourceChild - 'media' is %s", source->media().utf8().data());
1781 if (!screenEval.eval(media.get()))
1840 // 4.8.8 - If a source element is inserted as a child of a media element that has no src
1842 // the media element's resource selection algorithm.
1912 // Always call scheduleTimeupdateEvent when the media engine reports a time discontinuity,
2115 // "pausedToBuffer" means the media engine's rate is 0, but only because it had to stop playing
2133 // 4.8.10.8 Playing the media resource
2135 // A media element is said to have ended playback when the element's
2140 // and the current playback position is the end of the media resource and the direction
2141 // of playback is forwards and the media element does not have a loop attribute specified,
2228 // Set rate, muted before calling play in case they were set before the media engine was setup.
2229 // The media engine should just stash the rate and muted values since it isn't already playing.
2285 // If the media data fetching process is aborted by the user:
2298 // 3 - Queue a task to fire a simple event named error at the media element.
2301 // 4 - If the media element's readyState attribute has a value equal to HAVE_NOTHING, set the
2357 // Do nothing, we don't pause media playback in these cases.