Changeset 23895
- Timestamp:
- 04/03/2013 08:49:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/tinymce/plugins/media/editor_plugin_src.js
r21545 r23895 439 439 440 440 // Add HTML5 video element 441 if (typeItem.name === 'Video' && data.video.sources [0]) {441 if (typeItem.name === 'Video' && data.video.sources && data.video.sources[0]) { 442 442 // Create new object element 443 443 video = new Node('video', 1).attr(tinymce.extend({ … … 478 478 479 479 // Add HTML5 audio element 480 if (typeItem.name === 'Audio' && data.video.sources [0]) {480 if (typeItem.name === 'Audio' && data.video.sources && data.video.sources[0]) { 481 481 // Create new object element 482 482 audio = new Node('audio', 1).attr(tinymce.extend({
Note: See TracChangeset
for help on using the changeset viewer.