WordPress.org

Support

Support » Plugins and Hacks » Video Thumbnails » [Resolved] [Plugin: Video Thumbnails] Thumnail not found for Dailymotion videos

[Resolved] [Plugin: Video Thumbnails] Thumnail not found for Dailymotion videos

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sutherland Boswell

    @sutherlandboswell

    I just tested it out with that URL but it worked for me, can you try it with a Vimeo video and see if it works for that?

    Vimeo works fine, and so Youtube.

    I’m using video thumbnails with Viper’s Video Quicktags, I get the dailymotion video embed, but for some reason I can’t get the thumbnail, it still says it couldn’t find a thumbnail. What’s wrong?

    PS: WP 3.3.1

    Ok found out the problem is from Viper’s Video Quicktags, can u check to see what can be done to Viper’s work ok with your plugin? Right now only dailymotion not working.

    Plugin Author Sutherland Boswell

    @sutherlandboswell

    It looks like this may be from a bug in Viper’s Video Quicktags. I was testing it out and this is the code VVQ is embedding the video with:

    <span class="vvqbox vvqdailymotion" style="width:480px;height:221px;"><span id="vvq-923-dailymotion-1"><a href="http://www.dailymotion.com/videoxn9mou">http://www.dailymotion.com/videoxn9mou</a></span></span>
    
    <script type="text/javascript">
    swfobject.embedSWF("http://www.dailymotion.com/swf/xn9mou&colors=&autoPlay=0&related=0", "vvq-923-dailymotion-1", "480", "221", "10", vvqexpressinstall, vvqflashvars, vvqparams, vvqattributes);
    </script>

    The URL http://www.dailymotion.com/videoxn9mou is missing a slash and should actually be http://www.dailymotion.com/video/xn9mou. You can try visiting both URLs and see that the first cannot be found.

    In vipers-video-quicktags.php try changing line 3040 (or somewhere in that area) to

    return '<span class="vvqbox vvqdailymotion" style="width:' . $atts['width'] . 'px;height:' . $atts['height'] . 'px;"><span id="' . $objectid . '"><a href="http://www.dailymotion.com/video/' . $videoid . '">http://www.dailymotion.com/video/' . $videoid . '</a></span></span>';

    This fixed the problem for me, so I’ll notify Viper007Bond about it.

    WOW I was so close on fiding that, but you just nailed it! THANKS ALOT!! It’s working perfect now. Good luck with this amazing plugin and keep with the awesome support.

    Thanks for finding the bug. I’ll fix it on my end. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Video Thumbnails] Thumnail not found for Dailymotion videos’ is closed to new replies.
Skip to toolbar