Making WordPress.org

Changeset 7698


Ignore:
Timestamp:
09/24/2018 04:53:26 AM (6 years ago)
Author:
dd32
Message:

WordPress.TV: Define the actual width of the non-single videos as 575px.

This fixes the VideoPress player width for Automatticians whose VideoPress player differs slightly from the public player.

Fixes #3779.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/functions.php

    r7675 r7698  
    491491                }
    492492
    493                 $video      = sprintf( '[%s %s w="%s" %s]', $shortcode[2], trim( $shortcode[3] ), is_single() ? '940' : '605', $hd_param );
     493                $video      = sprintf( '[%s %s w="%s" %s]', $shortcode[2], trim( $shortcode[3] ), is_single() ? '940' : '575', $hd_param );
    494494                $video      = apply_filters( 'the_content', $video );
    495495            }
Note: See TracChangeset for help on using the changeset viewer.