As designed Vine video issues

Yep.

It usually requires custom code to pull the thumbnails through.

Some simpler options are available in Admin CP > Applications > Gallery Options > Media Sites:

upload_2014-12-7_13-40-16.webp

e.g. you could select Vine from the drop down and supply the path to an image you'd like to use as a thumbnail, that would give each Vine video the same thumbnail, but at least that might be more desirable than the stock "no thumbnail" image.

Aside from Facebook, the other ones in the screenshot are actually PHP classes. This is where you could get some custom code written to retrieve the thumbnail from Vine programmatically.

There is another option, but it depends very much on the media site. This is as an example which obviously won't work because I've not looked into it, but if a Vine URL is like this:

http://vine.co/v/12345

And Vine thumbnail URLs are like this:

http://vine.co/thumbnail/12345

Then you could just enter:

http://vine.co/thumbnail/{$id}

That would only work if there's a 1:1 relation between the ID they use for their videos and the ID they use in their thumbnails. This is surprisingly rare, so far in the default media sites, only YouTube provide an easy URL for their thumbnails.

Finally, the other option is for each video that is uploaded, you can "Change Media Thumbnail" and upload your own thumbnail.
 
Last edited:
I found this, perhaps if you ever decide to have it function as one would desire, this may help. It was on a few sites referencing this issue.

Code:
function get_vine_thumbnail( $id )
{
    $vine = file_get_contents("http://vine.co/v/{$id}");
    preg_match('/property="og:image" content="(.*?)"/', $vine, $matches);

    return ($matches[1]) ? $matches[1] : false;
}

echo get_vine_thumbnail('bv5ZeQjY352');
 
We would only support that in the Gallery if XenForo supported Vine officially, which it doesn't.

An add-on developer should be able to implement that for you quite easily. Actually I think @JoshyPHP has done a few thumbnail classes for Media Gallery thumbnails if he is available for custom work it may be worth asking him.
 
We would only support that in the Gallery if XenForo supported Vine officially, which it doesn't.

Ok, just strange then that "unsupported" video sites would be an Xenforo Gallery "option" if the function of the thumbs or any other particular gallery look or function doesn't work as one would expect, or desire. At this time I wouldn't be interested in paying additional money on top of the Gallery price for that feature to work properly, thanks for the suggestion though. :)
 
The feature does work properly, thank you.

You have chosen to customise XenForo by adding a non supported media site, hence to have that properly supported in the Media Gallery it would require additional code.

I'm sure you can appreciate it isn't feasible for XenForo to support every single video site out there, nor is it feasible for us to write a load of code "just in case" someone wishes to generate thumbnails from an unsupported site.
 
Back
Top Bottom