Opened 13 years ago

Last modified 4 years ago

#375 closed defect

Video Preload — at Version 3

Reported by: Jeremy Pope Owned by:
Priority: minor Milestone: 0.3.0
Component: component1 Keywords: bitesized
Cc: Parent Tickets:

Description (last modified by Christopher Allan Webber)

The HTML5 video tag has a few options on how a video is loaded on
page load. Currently, MediaGoblin uses ``preload="auto"`` which
causes the whole video to be downloaded on the end users side, even
if they don't actually play the video.
The ``preload="metadata"`` option will only load the metadata and
first frame of the video on page load. This can help site
navigation quite a bit during low-bandwidth times (such as through
3G on phone's wifi hotspot).
I have edited the
``mediagoblin/templates/mediagoblin/media_displays/video.html``
file on my MG instance to have the 'metadata' option. A couple of
examples: `http://url.jpope.org/9a <http://url.jpope.org/9a>`_ and
`http://url.jpope.org/99 <http://url.jpope.org/99>`_



Change History (3)

comment:1 by Jeremy Pope, 13 years ago

And I forgot to drop this link for reference sake ;)
`http://www.w3schools.com/html5/att\_video\_preload.asp <http://www.w3schools.com/html5/att_video_preload.asp>`_



comment:2 by Will Kahn-Greene, 13 years ago

The original url for this bug was http://bugs.foocorp.net/issues/734 .

comment:3 by Christopher Allan Webber, 13 years ago

Component: component1
Description: modified (diff)
Keywords: bitesized added
Milestone: 0.2.2

This is an easy task for a new contributor.

Note: See TracTickets for help on using tickets.