diff --git a/helpers/vimeo.helper.js b/helpers/vimeo.helper.js index ffa1144..5f5a174 100644 --- a/helpers/vimeo.helper.js +++ b/helpers/vimeo.helper.js @@ -2,6 +2,27 @@ const config = require('../config'); const Vimeo = require('vimeo').Vimeo; const client = new Vimeo(config.vimeo.CLIENT_ID, config.vimeo.CLIENT_SECRET, config.vimeo.ACCESS_TOKEN); +function getIframeSource(iframeHtml) { + const groups = iframeHtml.match(/\