WordPress.org

Ready to get started?Download WordPress

Forums

Viper's Video Quicktags
[resolved] How can I change the video size in single page ? (2 posts)

  1. ideo77
    Member
    Posted 1 year ago #

    Hi,
    thanks for your plug-in, it works great !
    I just try to display the videos in a bigger size when i'm on the single post page.
    I already try these lines in the function.php file :
    add_filter( 'vvq_shortcodeatts', 'dbaker_vvq_modifier', 10, 3 );
    function dbaker_vvq_modifier( $atts, $tag, $rawatts ) {
    if ( is_singular() ) {
    $atts['width'] = 400;
    $atts['height'] = 300;
    }
    return $atts; }

    So it works, but all the text written after the video, in my post, is hidden now...
    Any ideas ?
    Thanks (sorry for my english, i'm french...)

    http://wordpress.org/extend/plugins/vipers-video-quicktags/

  2. ideo77
    Member
    Posted 1 year ago #

    ok, i find the solution... i just have to change the css of the post single page, and add :
    height : auto ;

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic