[wp-trac] [WordPress Trac] #38390: Twenty Seventeen: Playlists don't render on blog/archive pages

WordPress Trac noreply at wordpress.org
Wed Nov 2 13:55:26 UTC 2016


#38390: Twenty Seventeen: Playlists don't render on blog/archive pages
-------------------------------------+------------------------
 Reporter:  melchoyce                |       Owner:  joemcgill
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  4.7
Component:  Bundled Theme            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------
Changes (by joemcgill):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 [attachment:38390.diff] is one way we could address this issue in Twenty
 Seventeen. It looks for the presence of `wp-playlist-script` in the
 content and shows the standard content rather than trying to pluck the
 media elements from the content using `get_media_embedded_in_content()`.

 If we want to be able to support displaying playlists the same way we
 handle other embedded audio or video in their respective post format
 partials, then we will need to come up with a better way by either making
 `get_media_embedded_in_content()` smarter about handling playlists or by
 changing the way we detect playlists in the partials themselves.

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


More information about the wp-trac mailing list