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

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

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!