Skip to content

Commit

Permalink
Merge pull request #432 from mrdziuban/fix-streamable
Browse files Browse the repository at this point in the history
Fix streamable
  • Loading branch information
extesy committed Feb 26, 2019
2 parents 1a3652a + cdfe40c commit 49d61c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/streamable_a.js
Expand Up @@ -5,7 +5,7 @@ hoverZoomPlugins.push({
if (!options.zoomVideos) return;
$('a[href*="//streamable.com/"]').one('mouseenter', function () {
hoverZoom.prepareFromDocument($(this), this.href, function(doc) {
return doc.querySelector('source').getAttribute('src');
return doc.querySelector('video').getAttribute('src');
});
});
}
Expand Down

0 comments on commit 49d61c7

Please sign in to comment.