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 doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

On this page

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

Scroll to Top