Make WordPress Core


Ignore:
Timestamp:
03/05/2014 03:06:00 PM (13 years ago)
Author:
wonderboymusic
Message:

Add TinyMCE placeholders for audio and video shortcodes.

  • Add wp.media.mixin.
  • Add wp.media.audio and wp.media.video.
  • Add wp.media.model.PostAudio and wp.media.model.PostVideo
  • Add wp.media.controller.AudioDetails and wp.media.controller.VideoDetails.
  • Add wp.media.controller.ReplaceAudio and wp.media.controller.ReplaceVideo.
  • Add wp.media.view.MediaFrame.AudioDetails and wp.media.view.MediaFrame.VideoDetails.
  • Add wp.media.view.AudioDetails and wp.media.view.VideoDetails.
  • Update the wpgallery TinyMCE plugin.
  • Display audio and video players in the media modal when shortcode is clicked.
  • Provide a UI to edit shortcode attributes in the media modal.
  • Provide a UI to replace the src media file in an audio or video shortcode.

See #27016.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r27404 r27411  
    23822382                'imageDetailsCancel'    => __( 'Cancel Edit' ),
    23832383
     2384                // Edit Image
     2385                'audioDetailsTitle'     => __( 'Audio Details' ),
     2386                'audioReplaceTitle'     => __( 'Replace Audio' ),
     2387                'audioDetailsCancel'    => __( 'Cancel Edit' ),
     2388
     2389                // Edit Image
     2390                'videoDetailsTitle'     => __( 'Video Details' ),
     2391                'videoReplaceTitle'     => __( 'Replace Video' ),
     2392                'videoDetailsCancel'    => __( 'Cancel Edit' ),
     2393
    23842394                // Playlist
    23852395                'playlistDragInfo'    => __( 'Drag and drop to reorder tracks.' ),
Note: See TracChangeset for help on using the changeset viewer.