• Hello,

    I’ve using this plugin for quite some time and I must say it’s great! I am attempting to accomplish the following without having to create multiple posts.

    On my site I pull the code from a page template (video.php) and have it in a widget. I use Viper Quicktags to then easily put the video in my sidebar widget. I have the width set at 275px. However, when the video is displayed in the main section of the homepage it too small and is displayed at 275px. Is there anyway to have the sidebar displayed at 275px and the homepage at say, 560px?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Just set the default to 560px and then do this in your sidebar:

    [whatever width="275" height="12345"]foo[/whatever]

    Settings -> Video Quicktags -> Help for more.

    Thread Starter vleavell

    (@vleavell)

    In the sidebar widget, all I have is <?php include (TEMPLATEPATH . ‘/video.php’); ?>

    Where do I go from here?

    Thanks!

    Okay, so edit whatever you have in video.php.

    Or if you’re using an actual widget, then edit it (Appearance -> Widgets). You can use my plugin’s shortcodes in text widgets.

    Thread Starter vleavell

    (@vleavell)

    Ok, thanks. This is above my head. I was hoping for an easy fix. I am not very good at editing code, that’s why I love your plugin! ??

    Thread Starter vleavell

    (@vleavell)

    Hey Viper,

    I’ve been trying to figure it out, but have not been able to. I am not very literate with WordPress (but I am trying).

    What my goal is to have the regular size video in the main posting area and a smaller video in the sidebar. I am not sure where to put the code:

    [whatever width="275" height="12345"]foo[/whatever]

    In know you said to put it in the video.php, but I have no idea where.

    Here is the code in the video.php”

    <div class="video">
    
            <?php query_posts('showposts=1&cat=11'); ?>
    
            <?php if (have_posts()) : ?>
    
                <?php while (have_posts()) : the_post(); ?>   
    
                    <div id="video-<?php the_ID(); ?>">
                        <?php the_content('Read the rest of this entry &raquo;'); ?>
                    </div>
    
                <?php endwhile; ?>
    
            <?php endif; ?>
    
        </div> <!-- / .video-->
    
        <?php query_posts('showposts=1&cat=11'); ?>
    
        <?php if (have_posts()) : ?>
    
            <div class="vidtabs">
    
                <ul class="list2 idTabs">
    
                    <?php while (have_posts()) : the_post(); ?>   
    
                        <li><a href="#video-<?php the_ID(); ?>"><?php the_title(); ?></a></li>
    
                    <?php endwhile; ?>
    
                </ul>
    
            </div>
    
        <?php endif; ?>

    I use this so that I can select the category video and it shows in the sidebar. Your plugin works AWESOME for resizing the videos to work in the sidebar.

    Can you tell me where to place the code or if it is even needed?

    Thanks in advance!

    Vern

    Edit the latest post in category number 11.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Viper’s Video Quicktags] Same Video Multiple Sizes’ is closed to new replies.