2

I followed steps described in this article to get thumbnails of some file types:

https://blogs.technet.microsoft.com/sharepointdevelopersupport/2017/11/17/retrieving-thumbnails-using-video-rest-api/

For images, pdf, docx, ppt etc works fine. But I tried with a lot of video files and types and none worked.

I didnt found any official documentation for getpreview.ashx page.

Does anyone know anything about this?

There is another solution to retrive video thumbnails on a document library?

2
  • are you uploading it in a standard document library ? Does it have Video content type associated ? Sep 19, 2018 at 12:28
  • Yes, is a standard document library. I dont know about video content type associated, how can I check this?
    – Joao Paulo
    Sep 19, 2018 at 12:52

1 Answer 1

2

I'm using Sharepoint 2013 and had a similar issue, no thumbnail was displayed. I found that there was a .png file missing. Try editing the properties and make a new thumbnail (see final picture below). Otherwise, read this whole post to troubleshoot the issue.

To troubleshoot this, open the Video Library using Windows Explorer.

If I show you pictures it's helpful I think. Here is the Video Library on the left, on the right is the Windows Explorer view.

enter image description here

Note the Additional Content folder - it contains a file called snapshot, a .png image. So if the .png file is missing in your equivalent folder, no thumbnail will show.

The thumbnail is the .png file, taken from the first frame of the video.

enter image description here

If I try uploading a new video I see this screen. I didn't save it though, since I'd be uploading in to a live system. I think the thumbnail should be saved automatically.

enter image description here

If I edit properties of an existing video, if gives the option to make a new thumbnail:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.