[wp-trac] [WordPress Trac] #25077: Native video player doesn't autoplay when using flash fallback

WordPress Trac noreply at wordpress.org
Fri Mar 7 05:51:28 UTC 2014


#25077: Native video player doesn't autoplay when using flash fallback
--------------------------+-----------------------------
 Reporter:  leandroprz    |       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:
--------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"27450"]:
 {{{
 #!CommitTicketReference repository="" revision="27450"
 Support the `autoplay` attribute, even when the plugin type for a
 MediaElement instance is Flash. In the media modal,
 `wp.media.view.VideoDetails` and `wp.media.view.AudioDetails` now extend a
 unified `wp.media.view.MediaDetails` class which contains all of the
 player creation and destruction logic. The `remove()` method mimics the
 `mejs.MediaElementPlayer.remove()` method, but does not re-add the
 audio/video tag to the DOM. The MEjs method is especially problematic when
 the tag has `autoplay="true"` and the view has been detached but not
 destroyed.

 Fixes #25077.
 See #27016.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25077#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list