[wp-trac] [WordPress Trac] #27821: wpviews: Empty video/audio playlist is not visible in TinyMCE and throws javascript errors when selected

WordPress Trac noreply at wordpress.org
Tue Apr 15 14:19:31 UTC 2014


#27821: wpviews: Empty video/audio playlist is not visible in TinyMCE and throws
javascript errors when selected
--------------------------+-----------------------------
 Reporter:  gcorne        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 If no valid attachments are found, when a video or audio playlist is
 rendered as a wpview, the empty div is not visible in TinyMCE and throws
 javascript errors when selected.

 {{{
 Uncaught TypeError: Cannot read property 'set' of undefined wp-
 playlist.js?ver=3.9-RC2-src:81
 }}}

 We should handle this in the same way that we handle the gallery wpview.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27821>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list