Filters/Actions for Video Widget

Filters available for Video are listed below.


HELPS MODIFY the offset value.

 
add_filter( 'uael_sticky_video_viewport', function( $viewport ) {
  //Modify the offset here
    return $viewport;
}, 10, 2 );

Note$viewport –  The offset value to stick the video.


HELPS MODIFY THE VIDEO URL.

 
add_filter( 'uael_video_url_filter', function( $url, $id ) {
  //Modify the url here
    return $url;
}, 10, 2 );

Note$url –  Parameter to be modified in the video URL.

HELPS set a default channel id

add_filter( 'uael_video_default_channel_id', function( $channel_id, $settings ) {
    //Set the channel ID here
    return $channel_id;
}, 10, 2 ); 
Was this article helpful?
Did not find a solution? We are here to help you succeed.

Related Docs

Get access to growing library of 40+ innovative widgets and 300+ creative templates.

Scroll to Top