https://bugzilla.wikimedia.org/show_bug.cgi?id=41304

       Web browser: ---
             Bug #: 41304
           Summary: Please set X-Content-Duration on OGG Video files
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: File management
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: fai...@wikimedia.org
                CC: bawolff...@gmail.com, bryan.tongm...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---


According to:
https://developer.mozilla.org/en-US/docs/Configuring_servers_for_Ogg_media

Firefox supports reading the X-Content-Duration header to get the length of an
Ogg video. This avoids doing a (potentially expensive, esp. with our current
infrastructure) Range request to the end of the file when start playing it. The
Mozilla documentation page explains the header, its values and the
circumstances around using it quite well, so I won't repeat it here.

Swift supports setting arbitrary headers, so we can set that on such videos. We
should do so for both new files and existing ones using a batch job.

Note that it appears that this a) does not work in Chrome b) is not needed for
WebM videos.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to