Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arr = [];
- obj = jQuery.parseJSON($('.play.playable').attr('data-list'));
- $.each(obj, function(i, v) {
- if (v.playable_url) arr.push('https://storage.bananastreet.ru' + v.playable_url);
- });
- $.each(arr, function(key, value) {
- $('<iframe></iframe>').hide().attr('src', value).appendTo($('body')).load(function() {
- var that = this;
- setTimeout(function() {
- $(that).remove();
- }, 100);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement