Opened 10 years ago
Last modified 9 years ago
#2602 new defect (bug)
Twenty Fourteen Ephemera widget doesn't display audio/video embeds
Reported by: | netweb | Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Appearance - Theme Compatibility | Keywords: | has-patch 2nd-opinion |
Cc: | jjjay@… |
Description
Migrated from #WP27986 Ephemera widget does not display audio/video embeds when on a bbPress 'page'
Repro:
- Add an audio or video post with YouTube, WordPress.TV, Spotify Playlist
- Add Twenty Fourteen Ephemera widget for post type created above
- Navigate to bbPress forums http://example.com/forums
Expected results are to see the embeds in the widget just as when viewing the site.
Tested with YouTube, WordPress.TV and Spotify video and audio embeds.
HTML of the widget when viewing a post/page etc:
<article class="post-42481 post type-post status-publish format-audio hentry category-my-category"> <div class="entry-content"> <p> <iframe src="https://embed.spotify.com/?uri=spotify:user:1140361011:playlist:49EBwgjV6snwSc1cXz9Cd3" width="300" height="380" frameborder="0" allowtransparency="true"></iframe> </p> </div> ...
HTML of the widget when viewing a bbPress section:
<article class="post-42481 post type-post status-publish format-audio hentry category-my-category"> <div class="entry-content">http://open.spotify.com/user/1140361011/playlist/49EBwgjV6snwSc1cXz9Cd3</div> ....
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
I don't know if this is how you want to go about it and it could be made nicer so it's easier to add in filters that need to be added back in - so take this as a first draft to see if it's working correctly and something like you need. And please oh please tell me if I'm not doing the patches etc correctly sooner rather than later, thanks! :)