Making WordPress.org

Changeset 9978


Ignore:
Timestamp:
06/23/2020 04:44:33 AM (4 years ago)
Author:
dd32
Message:

WordPress.TV: Remove the Flash video embed and replace it with the me.js embed, update the link to edit the thumbail to the new WordPress.com thumbnail editor.

Fixes #5210.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/plugins/wordpresstv-anon-upload/anon-upload.php

    r9745 r9978  
    427427            <div id="anon-data-wrap" class="inside">
    428428
    429                 <p>To change the default thumbnail image, play the video and click "Capture Thumbnail" button.</p>
    430                 <table>
    431                     <tr>
    432                         <td>
    433                             <?php
    434                                 if ( function_exists( 'video_embed' ) ) {
    435                                     echo video_embed( $embed_args );
    436                                 }
    437                             ?>
    438                         </td>
    439                     </tr>
    440                 </table>
     429                <p>To change the default thumbnail image, <a href="https://wordpress.com/media/wordpress.tv/<?php echo $attachment_post->ID; ?>">go here and select Edit Thumbnail</a>.</p>
     430
     431                <div class="wp_attachment_holder wp-clearfix">
     432                <?php
     433                echo wp_video_shortcode( array( 'src' => wp_get_attachment_url( $attachment_post->ID ) ) )
     434                ?>
     435                </div>
    441436
    442437                <div class="anon-data">
Note: See TracChangeset for help on using the changeset viewer.