Make WordPress Core

Ticket #45178: 45178.24.diff

File 45178.24.diff, 2.6 KB (added by melchoyce, 6 months ago)

Update videos to point to CDN, and remove autoplay/loop.

  • src/wp-admin/about.php

    124124                        <div class="col">
    125125                                <h2><?php _e( 'Building with Blocks' ); ?></h2>
    126126                                <p><?php _e( 'The new block-based editor won&#8217;t change the way any of your content looks to your visitors. What it will do is let you insert any type of multimedia in a snap and rearrange to your heart&#8217;s content. Each piece of content will be in its own block; a distinct wrapper for easy maneuvering. If you&#8217;re more of an HTML and CSS sort of person, then the blocks won&#8217;t stand in your way. WordPress is here to simplify the process, not the outcome.' ); ?></p>
    127                                 <video controls autoplay loop>
    128                                         <source src="https://wordpress.org/gutenberg/files/2018/11/add-block.mp4" type="video/mp4">
    129                                         <source src="https://wordpress.org/gutenberg/files/2018/11/add-block.webm" type="video/webm">
     127                                <video controls>
     128                                        <source src="https://s.w.org/images/core/5.0/videos/add-block.mp4" type="video/mp4">
     129                                        <source src="https://s.w.org/images/core/5.0/videos/add-block.webm" type="video/webm">
    130130                                        <p><?php printf( __('Your browser doesn&#8217;t support HTML5 video. Here is a %1$slink to the video%2$s instead.'), '<a href="https://wordpress.org/gutenberg/files/2018/11/add-block.mp4">', '</a>'); ?></p>
    131131                                </video>
    132132                                <p><?php _e( 'We have tons of blocks available by default, and more get added by the community every day. Here are a few of the blocks to help you get started:' ); ?></p>
    284284                        <div class="col">
    285285                                <h2><?php _e( 'Freedom to Build, Freedom to Write' ); ?></h2>
    286286                                <p><?php _e( 'This new editing experience provides a more consistent treatment of design as well as content. If you&#8217;re building client sites, you can create reusable blocks. This lets your clients add new content anytime, while still maintaining a consistent look and feel.' ); ?></p>
    287                                 <video controls autoplay loop>
    288                                         <source src="https://wordpress.org/gutenberg/files/2018/11/build.mp4" type="video/mp4">
    289                                         <source src="https://wordpress.org/gutenberg/files/2018/11/build.webm" type="video/webm">
     287                                <video controls>
     288                                        <source src="https://s.w.org/images/core/5.0/videos/build.mp4" type="video/mp4">
     289                                        <source src="https://s.w.org/images/core/5.0/videos/build.webm" type="video/webm">
    290290                                        <p><?php printf( __('Your browser doesn&#8217;t support HTML5 video. Here is a %1$slink to the video%2$s instead.'), '<a href="https://wordpress.org/gutenberg/files/2018/11/build.mp4">', '</a>'); ?></p>
    291291                                </video>
    292292                        </div>