1// 9. Fullscreeneo v1.0.0 2// MIT License 3// Copyright (c) 2017 LA Watts 4function sizeEverything(){dimensions=coverDimensions(16,9,window.innerWidth,window.innerHeight),jQueryel.css({position:"absolute",width:dimensions.width,"padding-top":dimensions.height,top:.5*(window.innerHeight-dimensions.height),left:.5*(window.innerWidth-dimensions.width),"max-width":"none"}),jQuerywrap.css({position:"relative",overflow:"hidden",width:window.innerWidth,height:window.innerHeight})}var jQueryiframe=jQuery("iframe[data-fullscreeneo]"),max=function(i,e){return i>e?i:e},coverDimensions=function(i,e,n,o){var t=max(n/i,o/e);return{width:Math.ceil(i*t),height:Math.ceil(e*t)}};jQueryiframe.css({position:"absolute",top:0,left:0,height:"100%",width:"100%"}).wrap('<div class="fullscreeneo-wrap"><div class="fullscreeneo-video-container"></div></div>');var jQuerywrap=jQuery(".fullscreeneo-wrap"),jQueryel=jQuery(".fullscreeneo-video-container");sizeEverything(),window.addEventListener("resize",function(){console.log("Resize!"),sizeEverything()});
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.