[wp-trac] [WordPress Trac] #26779: Multiple mediaelement instances of the same self-hosted video file on a page breaks in all players after first
WordPress Trac
noreply at wordpress.org
Thu Mar 13 03:54:39 UTC 2014
#26779: Multiple mediaelement instances of the same self-hosted video file on a
page breaks in all players after first
--------------------------+-----------------------------
Reporter: ericlewis | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.9
Component: Media | Version: 3.6
Severity: normal | Resolution: fixed
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Comment (by wonderboymusic):
In [changeset:"27520"]:
{{{
#!CommitTicketReference repository="" revision="27520"
Add a class property to `wp.media.view.MediaDetails` called `instances`
that is incremented every time the class is invoked. This mimics what
happens in the shortcodes: the sources receive an incremented cache-buster
so that the browser won't ignore the file when `preload="metadata"` is
set.
See #26779.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26779#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list