1angular.module("YepCom").directive("forubgvideolocal",function($state,deviceDetector,$timeout){return{restrict:"E",replace:!0,scope:{url:"="},templateUrl:function(elem,attrs){return"preview2"!==$state.current.name&&"localpreview"!==$state.current.name&&$state.current.name,"preview/forubgvideolocal/forubgvideolocal.html"},link:function(scope,element,attrs){$("body").css("background-color","black"),scope.canPlay=function(){document.getElementById("localvideobg").play()},scope.hideButton=function(){scope.showPlayBtn=!1},$timeout(function(){document.getElementById("localvideobg").addEventListener("canplaythrough",scope.canPlay,!1),document.getElementById("localvideobg").addEventListener("playing",scope.hideButton,!1)},100),scope.showPlayBtn=!1,"preview2"!==$state.current.name&&"localpreview"!==$state.current.name||deviceDetector.isMobile()&&(scope.showPlayBtn=!0),scope.playBgVideo=function(){$("#localvideobg").length&&($("#localvideobg")[0].play(),scope.showPlayBtn=!1)}}}});
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.