Last active
December 11, 2019 16:20
-
-
Save ianlintner-wf/5a1b5164f40773773b686d7ad080baad to your computer and use it in GitHub Desktop.
Wistia Templates for Generating IFrame
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import compiledVideoTemplate from "./video.handlebars"; | |
/*** | |
* Wistia Video Template Webpack/ES6 | |
* See https://handlebarsjs.com/installation/integrations.html#webpack-handlebars-loader | |
* See https://github.com/pcardune/handlebars-loader for integrations | |
***/ | |
export default function video_wistia(wistia_id) { | |
return $(compiledVideoTemplate({wistia_id: wistia_id})); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment