Video Thumbnails
[resolved] Thumnail not found for Dailymotion videos (7 posts)

  1. cortex123
    Posted 3 years ago #


    I'm trying to use this plugin for Dailymotion thumbs, but it doesn't find any.

    Example URL video: http://www.dailymotion.com/video/xn9mou_les-20-super-gestes-techniques-en-2011_sport

    Any help?



  2. Sutherland Boswell
    Plugin Author

    Posted 3 years ago #

    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?

  3. cortex123
    Posted 3 years ago #

    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

  4. cortex123
    Posted 3 years ago #

    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.

  5. Sutherland Boswell
    Plugin Author

    Posted 3 years ago #

    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);

    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.

  6. cortex123
    Posted 3 years ago #

    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.

  7. Thanks for finding the bug. I'll fix it on my end. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Video Thumbnails
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic