Helper::get_player_data_attributes( bool $echo = true )
Parameters
- $echo
-
(Optional)
Default value: true
Return
(string)
Source
File: includes/libs/themes/helper.class.php
public static function get_player_data_attributes( $echo = true ){ $player = \Vimeotheque\Helper::get_embed_options( self::get_player_options() ); $attributes = \Vimeotheque\Helper::data_attributes( $player, $echo ); if( $echo ){ echo $attributes; } return $attributes; }