1$(document).ready(function () { 2 if (!window["VKPlayerScriptLoaded"]) { 3 var tag = document.createElement('script'); 4 tag.src = "https://vk.com/js/api/videoplayer.js"; 5 var firstScriptTag = document.getElementsByTagName('script')[0]; 6 firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); 7 window["VKPlayerScriptLoaded"] = true; 8 } 9 10 $(document).on('click', '.vk-list__item-preview', function (e) { 11 var _this = $(this); 12 _this.addClass('videoloaded'); 13 14 var videoId = _this.data("video-id"); 15 16 console.log(videoId); 17 18 const playerVK = new VK.VideoPlayer(document.querySelector("#vk-player-id-" + videoId + " iframe")); 19 // console.log(playerVK); 20 playerVK.play(); 21 }); 22});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.