Single_Video::__construct()
Constructor
Source
File: includes/libs/templates/single-video.class.php
public function __construct(){
add_action(
'wp_head',
[$this, 'add_scripts']
);
add_filter(
'vimeotheque\player\embed_width',
function( $width ){
if( \Vimeotheque\Helper::is_video() && $width < 900 ){
$width = 900;
}
return $width;
}, 10, 1
);
}
