Video won't play

resolved (17 posts) (6 voices)

  1. jmillgraphics
    Member

    I love the Modular theme, but for some reason if I only have videos in the slideshow, they won't play. If I add a text based or image slide to it, then the videos will play. Thing is, I don't need images or text slides, just video. I searched through other support pages, but didn't find anything to really help with this theme.

    Thanks for the help.

    Posted 9 months ago #
  2. Elliott
    Support

    Hello jmillgraphics,

    Let's try this,

    1. Download the attached zip file and extract the contents to find a "sliders.php" file.
    2. Upload this file into /wp-content/themes/infocus/lib/functions/ to overwrite the previous one.

    Let us know if that works okay for you and we'll see if we can add it in the next update.

    Attachments

    1. sliders.zip (4.6 KB, 82 downloads) 9 months old
    Posted 9 months ago #
  3. jmillgraphics
    Member

    Thank you so much! Yes, that file made videos work without a text or image slide. I'm using the Modular theme, not Infocus though.

    Another issue with the video is that if someone doesn't stop the video from playing, and then goes to another video slide and plays it, you can hear them both playing at the same time. Is there a remedy for that as well?

    Posted 9 months ago #
  4. Elliott
    Support

    If possible then PM us a Wordpress login so we can take a closer look.

    Posted 9 months ago #
  5. jmillgraphics
    Member

    PM sent, Thanks

    Posted 9 months ago #
  6. klbrunet
    Member

    I'm using Elegance 1.4 and having the same problems. If I put in an image, it loads it into the slideshow. But if I add a URL to a YouTube video (instead of an image), I just get the spinning circle graphic. I tried to download and use the ZIP file listed above, but the hyperlink doesn't have a zip file attached to it.

    I want to use the Partial Stage Slideshow on the Homepage to show 3 YouTube videos. Can you help?

    Thanks!

    Karen

    Posted 6 months ago #
  7. DElfalan
    Member

    I am also having the same problem with adding a YouTube video as Karen mentioned above. I did however download the zip file and install it as described but it still does not work ust get the spinning circle graphic using wordpress version 3.2.1

    Posted 6 months ago #
  8. DElfalan
    Member

    using the Infocus theme

    Posted 6 months ago #
  9. Elliott
    Support

    Hello everyone,

    Make sure that each of your slides has an image / video set or the slider will not load. Beyond that it is most likely a javascript error so try deactivating all of your plugins and send us a link to your site so we can take a closer look.

    Posted 6 months ago #
  10. klbrunet
    Member

    Elliott, how do I configure an image and video set for the slideshow? Here are the fields I see available:

    1) I see that I put the YouTube video URL into the Image/Video URL field
    2) I add an image description in the image alt attribute
    3) I leave the link URL blank because I don't want them to go anywhere off the page. I want the video to play on the page.
    4) I add the title in the Title field
    5) I select the stage effect I want

    So where do I insert the URL for the image associated with the video? Or did I misunderstand the instructions?

    I tried putting an image URL in the 1st field and putting the YouTube video link in the 3rd field. But that didn't work because then the slideshow displays the image (not the video) and links to YouTube.com to watch the video.

    Once I know how to add the image with the YouTube video, I'll set that up in a site without plugins to test and let you know how it goes.

    Thanks again!

    Posted 6 months ago #
  11. Elliott
    Support

    Hello klbrunet,

    You set it in the "Image / Video URL field". You either upload an image there or insert a link to your youtube / vimeo video.

    Posted 6 months ago #
  12. klbrunet
    Member

    Elliot,

    OK, I installed a brand new version of WP 3.2.1 and the Elegance theme 1.4. I have no plugins active. The slideshow videos still didn't play, But I figured out PART of the problem. Here's what I need help with...

    Problem #1
    Now I can see the video and click to play. BUT there is no control bar to see how long the video is or the ability to FF or RW or see progression. Is this a limitation of the Slideshow? It seems that if YouTube provides a player with a control bar there should be one in the slideshow.

    Problem #2
    I'm using thumbnails instead of dots. But the slideshow gives me no image in the thumbnail for the video. Any way for me to add an image for the thumbnail of a video?

    Problem #3
    If you set the slideshow to "Automatic Slider Transitions", the videos will continue to rotate EVEN after the play button is pressed. So you press play, watch a few seconds and then the slider transitions to the next video. The only ways to prevent this is to hover the mouse cursor over the video to stop the transitions (which webpage visitors won't know to do) or disable the "Automatic Slider Transitions". It would make sense to stop any transitions when the video is playing AND also allow for automatic slider transitions when the videos are not playing. Is this possible to fix now or in a coming theme update?

    For any of you members still having the same problem with videos not playing, this solution might help you:

    Initially, I got a short URL from YouTube for each video by clicking on the "Share" button below the video, e.g. http://youtu.be/Mhj2remYgBQ. I found out these URLs will NOT work. Instead you have to put the short URL into your browser address bar and get a longer URL, e.g. http://www.youtube.com/watch?v=Mhj2remYgBQ&feature=youtu.be. Use the longer URL in the Slideshow field for "Image/Video URL". Then the video will actually show up in your slideshow. Of course, you still have to also include at least one image slide in your slideshow as well or none of the videos will show up.

    Posted 5 months ago #
  13. Elliott
    Support

    1. Try opening up /wp-content/themes/[your_theme]/lib/functions/core.php and change line 456 from this,

    return do_shortcode( '[youtube url="' . $url . '" controls="' . ( empty( $video_controls ) ? 0 : 1 ) . '" showinfo="0" fs="1" height="' . $height . '" width="' . $width . '"]' );

    To this,

    return do_shortcode( '[youtube url="' . $url . '" controls="' . ( empty( $video_controls ) ? 1 : 1 ) . '" showinfo="1" fs="1" height="' . $height . '" width="' . $width . '"]' );

    2. + 3. We are currently looking into some workarounds for these and we'll most likely see something added in a future update.

    Posted 5 months ago #
  14. klbrunet
    Member

    This was great. Thank you!

    For anyone else using this, I added some small extra touches. My line 456 looks like this:

    return do_shortcode( '[youtube url="' . $url . '" controls="' . ( empty( $video_controls ) ? 1 : 1 ) . '" showinfo="0" rel="0" showsearch="0" fs="1" height="' . $height . '" width="' . $width . '"]' );

    This way the YouTube video player doesn't show other recommended videos at the end. Also make note that when you add the player controls, you can no longer use the thumbnail navigation for the slideshow because it overlaps the control bar preventing you from accessing it. You have to use the navigation dots instead.

    Posted 5 months ago #
  15. Well I downloaded and replaced the sliders.php file as you suggested - and I updated the slider (there's just the one slider containing the link to one of the movies pictured above) - but the homepage slider is still just spinning it's wheels.

    Posted 1 month ago #
  16. ceubri
    Member

    I downloaded and replaced the sliders.php file
    I updated the core.php with (i add autohide="1")
    return do_shortcode( '[youtube url="' . $url . '" controls="' . ( empty( $video_controls ) ? 1 : 1 ) . '" showinfo="0" autohide="1" rel="0" showsearch="0" fs="1" height="' . $height . '" width="' . $width . '"]' );
    ..and it works with only youtube videos (I use Infocus theme)

    Posted 4 weeks ago #
  17. Elliott
    Support

    The vimeo line is on 468,

    return do_shortcode( '[vimeo url="' . $url . '" title="0" fs="0" portrait="0" height="' . $height . '" width="' . $width . '"]' );

    http://mysitemyway.com/docs/index.php/Video_Shortcodes

    Posted 4 weeks ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme