Helper::get_width( string $before = ' style="', string $after = '"', bool $echo = true )


Parameters

$before

(Optional)

Default value: ' style="'

$after

(Optional)

Default value: '"'

$echo

(Optional)

Default value: true


Return

(string)


Source

File: includes/libs/themes/helper.class.php

364public static function get_width( $before = ' style="', $after='"', $echo = true ){
365    $player = \Vimeotheque\Helper::get_embed_options( self::get_player_options() );
366    if( $echo ){
367        echo $before . 'width: ' . $player['width'].'px; ' . $after;
368    }
369    return $before . 'width: ' . $player['width'].'px; ' . $after;
370}

Start your video site now!

Manage and coordinate your Vimeo channels, albums or videos with your WordPress website. Perfect fit for membership, portfolio, online courses or any type of video collection.

Get Vimeotheque PRO!