Skip to content

Commit b4d0489

Browse files
committed
remove comments
1 parent c8389da commit b4d0489

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/resources/views/crud/fields/video.blade.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -182,21 +182,6 @@
182182
});
183183
};
184184
185-
/* $.getJSON(api, function( data ){
186-
187-
if (typeof(data.items[0]) != "undefined") {
188-
var v = data.items[0].snippet;
189-
190-
video.id = videoId;
191-
video.title = v.title;
192-
video.image = v.thumbnails.maxres ? v.thumbnails.maxres.url : v.thumbnails.default.url;
193-
video.url = 'https://www.youtube.com/watch?v=' + video.id;
194-
195-
callback(video);
196-
}
197-
});
198-
}; */
199-
200185
var fetchVimeo = function( videoId, callback ){
201186
202187
var api = 'https://vimeo.com/api/v2/video/' + videoId + '.json?callback=?';

0 commit comments

Comments
 (0)