WordPress.org

Ready to get started?Download WordPress

Forums

Looking for Featured Video Slider Plugin? (9 posts)

  1. aminalcwakerz
    Member
    Posted 4 years ago #

    Hi, I'm looking for a video plug-in or code that will create a slider like the one in this template:

    http://www.themegarden.com/themes/vidley/

    I want the video to be able to play directly in the slider, and have the excerpt of the post on the right.

    Does anyone know of a plug-in like this? I can't seem to find any after days of searching!

  2. Samuel B
    moderator
    Posted 4 years ago #

  3. robertjakobson
    Member
    Posted 3 years ago #

    It is clear that Samuel completely missed the point. I mean Samuel was on an entirely different galaxy on this topic.

    Getting the jQuery is simple, what is complex is making a custom plugin that lets people upload videos into a slider inside the admin menu in a way that gives them all the same width and height. Well, after doing this for a month I can testify sincerely that the best option is:

    Create different posts in a single category for each slider You are using with each having only the video has their content. Get the content for all the posts inside that category and display it inside the slider.

    Quite simple but complex at the same time.

  4. robertjakobson
    Member
    Posted 3 years ago #

    Another way is to try to do it via Custom Fields, but in order do it in a manner that is easily usable daily one has to use the Custom Fields Template plugin, or alternatively create something similar oneself.

    However, the custom fields template makes it hard to embed flv or anytype of other videos. I mean really hard for the end-user, only the HTML code works. And none of the shortcodes do.

  5. Yukon Cornelius
    Member
    Posted 3 years ago #

    Hi Robert,

    Are you saying it's not possible to create a slider that generates featured posts some of which include videos?

    I'd like to have a featured post slider like the smooth slider plugin, for example, featuring an image and excerpt from the post. But some of my posts are videos. I'd like to feature them in the slider beside regular text entries. They can be stand alone videos, without text if necessary.

    Is this even possible. I don't seem to see any plugins supporting this...

    Cheers,

    Jimmmy

  6. robertjakobson
    Member
    Posted 3 years ago #

    As common in WordPress the solution I can give You requires human engineering as well as coding.

    Meaning You got to do something in a certain way as a WordPress user to get the required result.

    This is the way I got any content, including Video above the "read more" line:

    <?php $temp_query = $wp_query; ?>
    <?php query_posts('category_name=yourcategoryname&showposts=5' . '&meta_key=number' . '&orderby=meta_value_num&order=asc'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="slide front post" id="post-<?php the_ID(); ?>">
    <? if($content = $post->post_content ) {
          echo "<div id='entry'>";
    global $more;    // Declare global $more (before the loop).
    $more = 0;       // Set (inside the loop) to display content above the more tag.
    the_content();
    
          echo "</div>";
       } else {
         echo '<img src="Your alternative image url here" alt="Image alt" title="Image"/>'; } ?>
    	 </div>
    <?php endwhile; ?>
    <?php wp_reset_query();?>

    1) A category for all featured posts is created as usual
    2) That category name goes in the place of the placeholder "yourcategoryname"
    3) Modify the number of posts displayed inside the category
    4) If need be put them in the order they need to be displayed by using the custom field "number" - if not delete the meta_key and orderyby parameters.

    Also, there should be an alternative image, when for example You do not have an image to show, that takes up the space.

    Note that this code works with sliders that use an div to seperate the different slides. The div needs to be styled with CSS in order to show one post at the time.

    Then You need to futher develop or hire someone to develop in order to show the video or the image You get along side the text You might pull from the excerpt.

    As confusing as it can be, but that is the way it should be done.

    Also note that video does not work with automatically changing sliders in Internet Explorer - it freezes up when the animation changes. One needs to go extremely slowly with the automatic movement, in fact so slowly that there stops being a point to it in order to get the effect to be smooth.

    I would speculate that is the reason why all the major sites like Apple, only use video inside a slider that moves on user input.

  7. robertjakobson
    Member
    Posted 3 years ago #

    The last line is true of Flash video, HTMl5 video in an iframe, for example from vimeo shows nicely.

  8. robertjakobson
    Member
    Posted 3 years ago #

    Alternatively, install the Simple Fields or Magic Fields plugin (does not work with custom post types currently, however) and use it to add video or images or a combination of both with text through other complicated means which I am not at liberty to discuss.

  9. robertjakobson
    Member
    Posted 3 years ago #

    Check out Doors, Windows of Viking Window AS or http://www.viking.ee

    Note to Moderator: Just posting these links so that:

    1) Others have the chance of seeing what I am talking about above
    2) Video Sliders are rare and an example live on the web would be enlightening to say the least

    What I did on the linked site was to use the jQuery Cycle plugin - which I recommend for creating Video Sliders. Sure, there are better sliders out there, but this plugin is the only fool-proof one that I would recommend using for people new to web development or for those of us who have to keep things simple when signing off.

Topic Closed

This topic has been closed to new replies.

About this Topic