Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- exist = $("iframe.note-video-clip").length;
- if (exist > 0) {
- video_code = $("iframe.note-video-clip").attr('src').split('/').pop();
- $("iframe.note-video-clip").replaceWith('<div data-type="youtube" data-video-id="' + video_code + '"></div>');
- };
- plyr.setup();
- });
Add Comment
Please, Sign In to add comment