How to Get a Wistia Video Thumbnail Without the API

  • read

code snippet

Wistia video provides some handy embed codes for your videos but what if you want to create a custom player or use the thumbnail image by itself. You can use their API but the setup could me more complicated than you need. Thankfully Wistia provides Oauth url’s used in WordPress to grab the data for each video as JSON. You can use jQuery to tap into this data and output however you need. Below is a code example of it working.

Codepen Demo

HTML

JS

 

 

Written by: Jacob Lett - An experienced HubSpot website design & optimization consultant who helps B2B businesses grow their revenue. He recently created the Industrial HubSpot Theme to help manufacturers quickly build their website on the HubSpot CMS platform. Connect on LinkedIn
Category: Code Snippets
Tags:

What Does HubSpot Do?

Signup Free

Advertise Here