Skip to content

Commit

Permalink
Add custom selector for fitvid.js and wistia iframe embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
jconroy committed Oct 28, 2013
1 parent 8a2c4e5 commit a56f0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/input.js
Expand Up @@ -18,7 +18,7 @@

$(document).live('acf/setup_fields', function(e, postbox){

$(".acf-video-field-embed").fitVids();
$(".acf-video-field-embed").fitVids({ customSelector: "iframe[src^='http://fast.wistia.net']"});

});

Expand Down

0 comments on commit a56f0ac

Please sign in to comment.