Changeset 35840
- Timestamp:
- 12/08/2015 11:28:27 PM (9 years ago)
- Location:
- branches/4.4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/src/wp-admin/about.php
r35835 r35840 22 22 } 23 23 24 $video_url = 'https://videopress.com/embed/J44FHXvg?hd=true'; 25 $locale = str_replace( '_', '-', get_locale() ); 26 list( $locale ) = explode( '-', $locale ); 27 if ( 'en' !== $locale ) { 28 $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); 29 } 24 30 25 31 wp_oembed_add_host_js(); … … 42 48 <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> 43 49 </h2> 50 51 <div class="headline-feature feature-video"> 52 <iframe width="1050" height="591" src="<?php echo esc_url( $video_url ); ?>" frameborder="0" allowfullscreen></iframe> 53 <script src="https://videopress.com/videopress-iframe.js"></script> 54 </div> 55 56 <hr> 44 57 45 58 <div class="headline-feature feature-section one-col"> … … 84 97 <div class="col"> 85 98 <div class="embed-container"> 86 <blockquote data-secret="OcUe7B6Edh" class="wp-embedded-content"><a href="https:// make.wordpress.org/core/2015/10/28/new-embeds-feature-in-wordpress-4-4/">New Embeds Feature in WordPress 4.4</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="display:none;" src="https://make.wordpress.org/core/2015/10/28/new-embeds-feature-in-wordpress-4-4/embed/#?secret=OcUe7B6Edh" data-secret="OcUe7B6Edh" width="600" height="338" title="Embedded WordPress Post" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>99 <blockquote data-secret="OcUe7B6Edh" class="wp-embedded-content"><a href="https://wordpress.org/news/2015/12/clifford/">WordPress 4.4 “Clifford”</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="display:none;" src="https://wordpress.org/news/2015/12/clifford/embed/#?secret=OcUe7B6Edh" data-secret="OcUe7B6Edh" width="600" height="338" title="<?php esc_attr_e( 'Embedded WordPress Post' ); ?>" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe> 87 100 </div> 88 101 </div> -
branches/4.4/src/wp-admin/css/about.css
r35835 r35840 182 182 183 183 .about-wrap .headline-feature h2 { 184 margin: 50px 0 30px;184 margin: 30px 0 30px; 185 185 font-size: 2.2em; 186 186 font-weight: 300; … … 227 227 /* 2.2 - Structure */ 228 228 229 .about-wrap . feature-video {229 .about-wrap .headline-feature.feature-video { 230 230 position: relative; 231 231 margin: 40px 0; 232 padding-bottom: 56.25%; /* video is 1280 x 720 */232 padding-bottom: 56.25%; 233 233 width: 100%; 234 max-width: 100%; 234 235 height: 0; 235 236 text-align: center;
Note: See TracChangeset
for help on using the changeset viewer.