1<!DOCTYPE html><html lang=en prefix="og: http://ogp.me/ns#"><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"><meta name=robots content="INDEX, FOLLOW"><meta name=geo.region content=US-MN><meta name=geo.position content=46.729553;-94.6859><meta name=ICBM content="46.729553, -94.6859"><meta name=description content=""><meta name=keywords content=""><title>league</title><meta property=og:title content=league><meta property=og:type content=article><meta property=og:url content="http://nspn.tv/"><meta property=og:image content=https://ssmstorage.blob.core.windows.net/ssmtvassets/SocialThumbnail.png><meta property=og:description content="">
1<script data-ad-client=ca-pub-2988761696952697 async src=//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js></script>
1<script>
vendor: 328 bytes, line 1
1(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create','
1UA-37772976-1
vendor: 32 bytes, line 1
1','auto');ga('send','pageview');
1</script>
1<link rel=stylesheet href=//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css>
1<script src=/node_modules/@mediakind/mkplayer/mkplayer.js></script>
1<link rel=stylesheet href=//cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css><link href="/css/customplayer.css?v=MnSk0egoXRHDA1_vc_sUK1KcnEnCpraZcBD8pHe5t6c" rel=stylesheet>
1<script src=//www.google.com/recaptcha/api.js async defer></script>
1<script src=//www.gstatic.com/cast/sdk/libs/cast.framework/6.0.0/cast_framework.js></script>
1<script src="//www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"></script>
1<link rel=stylesheet href="/fonts/myriad/stylesheet.css?v=R2Aus8z_k-xZDnXTPT_tY-neNbVJSqb9ZJTjHjynZBc"><link rel=stylesheet href="/css/compressionStyle.css?v=khI18mnY03zjj-WwsR-tvjzclxkw7MOkxiiKVQvZeCk">
1<script src=//cdn.jsdelivr.net/jquery/2.2.3/jquery.min.js></script>
1<body><div class=main-wrapper><header class=main-header><div id=HeaderTopSection><div class=header-top><div class=row><div class="large-4 medium-4 column"><h1 class=logo><a href="/"><img src="//ssmstorage.blob.core.windows.net/ssmtvassets/NSPN-Logo-Full-White -LowRes.png" alt=PREPSPOTLIGHT.TV></a></h1></div><div class="large-3 medium-3 column"><p class=school-name>Minnesota</div><div class="large-2 medium-2 column"><select id=urlddl name=url><option value="/">--Select--<option selected value=/MSHSL>Minnesota<option value=/CHSAA>Colorado<option value=/AIA>Arizona<option value=/Townball>Town Ball Minnesota<option value=/IOWA>Iowa</select></div><div class="large-2 medium-2 column"><p><nav class=navigation><ul><li><div class=dropdown><a id=signInLink class=dropbtn href=/auth/signin><i class="fa fa-user"></i>Sign In</a></div></ul></nav></div><div class="large-1 medium-1 column"><nav class=navigation><ul><li><div class=dropdown><a style=cursor:pointer onclick=CheckURLAndRedirect()> <img src=//ssmstorage.blob.core.windows.net/ssmtvassets/Help_icon.png style=width:auto;margin-top:12px width=20></a></div></ul></nav></div></div></div>
1<script src=//kit.fontawesome.com/a076d05399.js></script>
1<link href=/css/ProfileDropdown.css rel=stylesheet>
1<script>$(function(){$('#urlddl').change(function(){var val=$(this).val();if(val!=null&&val!=''&&val!='/'){Set_Cookie("leaguepreference",val,30,"/","","") 2window.location.href=val;} 3else{var leaguepreference=Get_Cookie("leaguepreference");if(leaguepreference!=''){$('#urlddl').val(leaguepreference);}}});});function CheckURLAndRedirect(){var checkUrl='MSHSL';if(checkUrl!=null&&checkUrl!=""){window.location.href="/"+checkUrl+"/Support/";} 4else{window.location.href="/MSHSL/Support/";}}</script>
4<script>var signInLink=document.getElementById('signInLink');var currentURL=window.location.href;var possibleStartURLs=["https://prepspotlight-tv-testing.azurewebsites.net","http://localhost:58660","https://nspn.tv","https://prepspotlight.tv","https://www.nspn.tv","https://www.prepspotlight.tv/","https://nspntvproductioncdn.azureedge.net"];var startURL=possibleStartURLs.find(function(url){return currentURL.includes(url);});var relativeURL=currentURL;if(startURL){relativeURL=relativeURL.replace(startURL,'');} 5var returnUrl=encodeURIComponent(relativeURL);if(signInLink!=null){var newURL=signInLink.getAttribute('href')+'?returnurl='+returnUrl;signInLink.setAttribute('href',newURL);}</script>
5</div><style>.block{width:100%;border:none;background-color:#9E0404;color:white;padding:14px 28px;font-size:1.5rem;cursor:pointer;text-align:center}</style><div class=header-bottom><div class=row><div class="large-12 medium-12 column"><a href=#mobile_menu aria-expanded=false> <img src=//ssmstorage.blob.core.windows.net/ssmtvassets/Icon.png class=menu-icon> </a> <nav class=navigation><ul><li><a href=/MSHSL>Home</a><li><a href=/MSHSL/GameStream>GameStream</a><li><a href=#>Sports <span class=sub-arrow></span></a><ul class=games-dropdown><li><a href=/MSHSL/sport/adaptedfloorhockey-ci>Adapted Floor Hockey CI</a><li><a href=/MSHSL/sport/adaptedfloorhockey-pi>Adapted Floor Hockey PI</a><li><a href=/MSHSL/sport/adaptedsoccerci>Adapted Soccer CI</a><li><a href=/MSHSL/sport/adaptedsoccerpi>Adapted Soccer PI</a><li><a href=/MSHSL/sport/adaptersoftballci>Adapted Softball CI</a><li><a href=/MSHSL/sport/adaptedsoftballpi>Adapted Softball PI</a><li><a href=/MSHSL/sport/AlpineSkiing>Alpine Skiing</a><li><a href=/MSHSL/sport/Badminton>Badminton</a><li><a href=/MSHSL/sport/Baseball>Baseball ( Boys )</a><li><a href=/MSHSL/sport/BoysBasketball>Basketball ( Boys )</a><li><a href=/MSHSL/sport/GirlsBasketball>Basketball ( Girls )</a><li><a href=/MSHSL/sport/BeachVolleyball>Beach Volleyball</a><li><a href=/MSHSL/sport/collegiateswimming>College Swimming</a><li><a href=/MSHSL/sport/CrossCountry>Cross Country</a><li><a href=/MSHSL/sport/Dance>Dance</a><li><a href=/MSHSL/sport/FlagFootball>Flag Football</a><li><a href=/MSHSL/sport/Football>Football</a><li><a href=/MSHSL/sport/Golf>Golf</a><li><a href=/MSHSL/sport/Gymnastics>Gymnastics ( Girls )</a><li><a href=/MSHSL/sport/BoysHockey>Hockey ( Boys )</a><li><a href=/MSHSL/sport/GirlsHockey>Hockey ( Girls )</a><li><a href=/MSHSL/sport/BoysLacrosse>Lacrosse ( Boys )</a><li><a href=/MSHSL/sport/GirlsLacrosse>Lacrosse ( Girls )</a><li><a href=/MSHSL/sport/NordicSkiing>Nordic Skiing</a><li><a href=/MSHSL/sport/Other>Other</a><li><a href=/MSHSL/sport/BoysSoccer>Soccer ( Boys )</a><li><a href=/MSHSL/sport/GirlsSoccer>Soccer ( Girls )</a><li><a href=/MSHSL/sport/Softball>Softball ( Girls )</a><li><a href=/MSHSL/sport/coedswimming>Swimming</a><li><a href=/MSHSL/sport/BoysSwimming>Swimming ( Boys )</a><li><a href=/MSHSL/sport/GirlsSwimming>Swimming ( Girls )</a><li><a href=/MSHSL/sport/BoysTennis>Tennis ( Boys )</a><li><a href=/MSHSL/sport/GirlsTennis>Tennis ( Girls )</a><li><a href=/MSHSL/sport/Track&Field>Track & Field</a><li><a href=/MSHSL/sport/BoysVolleyball>Volleyball ( Boys )</a><li><a href=/MSHSL/sport/GirlsVolleyball>Volleyball ( Girls )</a><li><a href=/MSHSL/sport/Wrestling>Wrestling</a><li><a href=/MSHSL/sport/YouthSoccer>Youth Soccer</a></ul><li><a href=#>Shows <span class=sub-arrow></span></a><ul><li><a href=/MSHSL/SpotlightShow>Prep Spotlight </a><li><a href=/MSHSL/YearBookShow>Prep YearBook </a></ul><li><a href=/MSHSL/StateTournament>State Tournaments</a><li><a href=//schoolspacemedia.com/about target=_blank>About Us</a><li class=last-child></ul></nav></div></div></div><section><div style="padding:1% 17% 0 17%"><div><button class=block onclick="document.location='/MSHSL/Subscription'">My Subscriptions and Packages</button></div></div></section>
5<script src=//code.jquery.com/ui/1.12.1/jquery-ui.min.js integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin=anonymous></script>
5<link rel=stylesheet href=//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css>
5<script>var GetSchoolRequest=[];var jsonobj={"searchtext":""};$(document).ready(function(){var leagueId=$("#hdnLeagueId").val();$("#commonSchoolSearch").autocomplete({source:function(request,response){$.each(GetSchoolRequest,function(key,value){if(typeof(this)!='undefined') 6this.abort();});var urlservice="/AjaxRequest/Ajax/GetSchoolList";jsonobj.searchtext=request.term;var ajaxRequest=$.ajax({type:"GET",url:urlservice+"/?search_text_School="+request.term+"&leagueId="+leagueId,dataType:"json",data:"",contentType:"application/json; charset=utf-8",success:function(data){response($.map(data,function(item){return{label:item.schoolName,val:item.friendlyUrl}}))},error:function(response){},failure:function(response){}});GetSchoolRequest.push(ajaxRequest);},focus:function(event,ui){$("#commonSchoolSearch").val(ui.item.label);return true;},select:function(event,ui){$("#commonSchoolSearch").val(ui.item.label);$("#School-id").val(ui.item.val);CommonSchoolSearch();return true;}});});function CommonSchoolSearch(){if($("#School-id").val()!=null&&$("#School-id").val()!=''){window.location.href=$("#School-id").val();} 7return false;}</script>
7<input type=hidden id=hdnLeagueId value=3> <input type=hidden id=hdnSchoolId value=0> <input type=hidden id=hdnSportId value=0> <input type=hidden id=hdnPageId value=2> <input type=hidden id=hdnShowId value=0> <input type=hidden id=hdnTeamId value=0></header><div class=row><div class="left-sidebar large-9 medium-8 column"><div class=video-container><div class=videobox-section><div id=leaguePostSection><div class=video-container><div class=video-content><h2 style=margin-top:0>Watch Townball Games Here!</h2><p><a href=//nspn.tv/Townball><img src=//ssmstorage.blob.core.windows.net/overlayobs/Townball%20Banner.png></a></div></div><hr><div class="row video-thumbnails-all"><div id=homeThreeTile_32723><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32723 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ForestLakeCretinDerhamHall918202633821AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Forest Lake Vs Cretin-Derham Hall</b><p class=event-date><span id=publishDate32723> </span> <span style=margin-left:11% id=showTimeLeague32723> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span></h3></div>
7<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32723);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32723);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 8else{buttonFeedId.show();} 9var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32723);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32723);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 10else if(isPurchased=='True'){console.log("true"+isPurchased);} 11else{$("#ThreeColVideo"+32723).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32723);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32723);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 12else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 13function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 14else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 15const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 16$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 17var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 18else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 19function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 20else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 21const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 22$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 23else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 24function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 25function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 26function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 27else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
27</div><div id=homeThreeTile_32725><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32725 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ParkWoodbury918202634009AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Park Vs Woodbury</b><p class=event-date><span id=publishDate32725> </span> <span style=margin-left:11% id=showTimeLeague32725> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span></h3></div>
27<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32725);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32725);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 28else{buttonFeedId.show();} 29var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32725);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32725);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 30else if(isPurchased=='True'){console.log("true"+isPurchased);} 31else{$("#ThreeColVideo"+32725).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32725);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32725);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 32else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 33function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 34else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 35const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 36$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 37var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 38else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 39function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 40else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 41const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 42$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 43else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 44function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 45function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 46function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 47else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
47</div><div id=homeThreeTile_32724><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32724 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ForestLakeCretinDerhamHall918202633905AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Forest Lake Vs Cretin-Derham Hall</b><p class=event-date><span id=publishDate32724> </span> <span style=margin-left:11% id=showTimeLeague32724> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span></h3></div>
47<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32724);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32724);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 48else{buttonFeedId.show();} 49var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32724);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32724);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 50else if(isPurchased=='True'){console.log("true"+isPurchased);} 51else{$("#ThreeColVideo"+32724).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32724);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32724);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 52else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 53function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 54else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 55const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 56$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 57var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 58else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 59function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 60else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 61const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 62$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 63else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 64function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 65function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 66function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 67else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
67</div><div id=homeThreeTile_32726><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32726 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ParkWoodbury918202634118AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Park Vs Woodbury</b><p class=event-date><span id=publishDate32726> </span> <span style=margin-left:11% id=showTimeLeague32726> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span></h3></div>
67<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32726);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32726);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 68else{buttonFeedId.show();} 69var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32726);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32726);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 70else if(isPurchased=='True'){console.log("true"+isPurchased);} 71else{$("#ThreeColVideo"+32726).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32726);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32726);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 72else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 73function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 74else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 75const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 76$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 77var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 78else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 79function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 80else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 81const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 82$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 83else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 84function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 85function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 86function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 87else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
87</div><div id=homeThreeTile_32727><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32727 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ForestLakeCretinDerhamHall918202634210AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Forest Lake Vs Cretin-Derham Hall</b><p class=event-date><span id=publishDate32727> </span> <span style=margin-left:11% id=showTimeLeague32727> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span></h3></div>
87<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32727);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32727);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 88else{buttonFeedId.show();} 89var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32727);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32727);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 90else if(isPurchased=='True'){console.log("true"+isPurchased);} 91else{$("#ThreeColVideo"+32727).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32727);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32727);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 92else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 93function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 94else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 95const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 96$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 97var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 98else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 99function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 100else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 101const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 102$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 103else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 104function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 105function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 106function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 107else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
107</div><div id=homeThreeTile_32728><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32728 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ParkWoodbury918202634302AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Park Vs Woodbury</b><p class=event-date><span id=publishDate32728> </span> <span style=margin-left:11% id=showTimeLeague32728> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span></h3></div>
107<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32728);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32728);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 108else{buttonFeedId.show();} 109var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32728);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32728);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 110else if(isPurchased=='True'){console.log("true"+isPurchased);} 111else{$("#ThreeColVideo"+32728).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32728);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32728);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 112else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 113function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 114else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 115const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 116$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 117var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 118else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 119function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 120else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 121const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 122$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 123else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 124function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 125function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 126function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 127else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
127</div><span class=clr></span></div><hr><div class=video-container><div class=video-content><h2 style=margin-top:0>(Girls) Soccer Little Falls Vs St. Cloud Cathedral</h2><p>We apologize for the start of this stream as we work on internet connectivity issues at the venue. </div></div><hr><div class="row video-thumbnails-all"><input type=hidden id=IsPurchased_32772 value=True><div id=homeThreeTile_32772><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32772 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/NSPNPrepUpdateThumbnailS2Ep12png922202643931PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>NSPN Prep Update - Episode 52</b><p class=event-date><span id=publishDate32772> </span> <span style=margin-left:11% id=showTimeLeague32772> </span> <span class=fr>
127Other</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32772'"> Download </button> <span class=clr></span></h3></div>
127<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32772);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32772);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 128else{buttonFeedId.show();} 129var checkUser=false;var isPurchased='True';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32772);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32772);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 130else if(isPurchased=='True'){console.log("true"+isPurchased);} 131else{$("#ThreeColVideo"+32772).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32772);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32772);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 132else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 133function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 134else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 135const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 136$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 137var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 138else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 139function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 140else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 141const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 142$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 143else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 144function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 145function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 146function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 147else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
147</div><div id=homeThreeTile_32710><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32710 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/WaconiaBenildeStMargarets918202632314AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Waconia Vs Benilde-St. Margaret's</b><p class=event-date><span id=publishDate32710> </span> <span style=margin-left:11% id=showTimeLeague32710> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32710'"> Download </button> <span class=clr></span></h3></div>
147<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32710);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32710);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 148else{buttonFeedId.show();} 149var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32710);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32710);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 150else if(isPurchased=='True'){console.log("true"+isPurchased);} 151else{$("#ThreeColVideo"+32710).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32710);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32710);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 152else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 153function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 154else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 155const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 156$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 157var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 158else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 159function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 160else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 161const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 162$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 163else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 164function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 165function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 166function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 167else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
167</div><div id=homeThreeTile_32714><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32714 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/WhiteBearLakePark918202632717AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>White Bear Lake Vs Park</b><p class=event-date><span id=publishDate32714> </span> <span style=margin-left:11% id=showTimeLeague32714> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32714'"> Download </button> <span class=clr></span></h3></div>
167<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32714);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32714);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 168else{buttonFeedId.show();} 169var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32714);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32714);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 170else if(isPurchased=='True'){console.log("true"+isPurchased);} 171else{$("#ThreeColVideo"+32714).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32714);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32714);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 172else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 173function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 174else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 175const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 176$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 177var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 178else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 179function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 180else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 181const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 182$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 183else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 184function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 185function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 186function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 187else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
187</div><div id=homeThreeTile_32716><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32716 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/LittleFallsStCloudCathedral918202632918AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Little Falls Vs St. Cloud Cathedral</b><p class=event-date><span id=publishDate32716> </span> <span style=margin-left:11% id=showTimeLeague32716> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32716'"> Download </button> <span class=clr></span></h3></div>
187<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32716);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32716);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 188else{buttonFeedId.show();} 189var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32716);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32716);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 190else if(isPurchased=='True'){console.log("true"+isPurchased);} 191else{$("#ThreeColVideo"+32716).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32716);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32716);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 192else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 193function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 194else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 195const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 196$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 197var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 198else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 199function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 200else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 201const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 202$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 203else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 204function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 205function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 206function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 207else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
207</div><div id=homeThreeTile_32776><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32776 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/CretinDerhamHallEastRidge9222026110714PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Cretin-Derham Hall Vs East Ridge</b><p class=event-date><span id=publishDate32776> </span> <span style=margin-left:11% id=showTimeLeague32776> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32776'"> Download </button> <span class=clr></span></h3></div>
207<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32776);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32776);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 208else{buttonFeedId.show();} 209var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32776);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32776);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 210else if(isPurchased=='True'){console.log("true"+isPurchased);} 211else{$("#ThreeColVideo"+32776).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32776);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32776);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 212else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 213function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 214else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 215const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 216$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 217var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 218else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 219function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 220else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 221const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 222$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 223else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 224function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 225function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 226function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 227else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
227</div><div id=homeThreeTile_32764><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32764 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/FillmoreCentralChatfield921202642156PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Chatfield vs F-C - JV followed by Varsity</b><p class=event-date><span id=publishDate32764> </span> <span style=margin-left:11% id=showTimeLeague32764> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32764'"> Download </button> <span class=clr></span></h3></div>
227<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32764);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32764);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 228else{buttonFeedId.show();} 229var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32764);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32764);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 230else if(isPurchased=='True'){console.log("true"+isPurchased);} 231else{$("#ThreeColVideo"+32764).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32764);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32764);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 232else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 233function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 234else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 235const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 236$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 237var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 238else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 239function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 240else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 241const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 242$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 243else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 244function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 245function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 246function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 247else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
247</div><div id=homeThreeTile_32711><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32711 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/WaconiaBenildeStMargarets918202632420AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Waconia Vs Benilde-St. Margaret's</b><p class=event-date><span id=publishDate32711> </span> <span style=margin-left:11% id=showTimeLeague32711> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32711'"> Download </button> <span class=clr></span></h3></div>
247<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32711);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32711);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 248else{buttonFeedId.show();} 249var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32711);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32711);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 250else if(isPurchased=='True'){console.log("true"+isPurchased);} 251else{$("#ThreeColVideo"+32711).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32711);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32711);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 252else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 253function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 254else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 255const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 256$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 257var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 258else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 259function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 260else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 261const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 262$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 263else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 264function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 265function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 266function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 267else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
267</div><div id=homeThreeTile_32713><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32713 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/CretinDerhamHallEastRidge918202632614AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Cretin-Derham Hall Vs East Ridge</b><p class=event-date><span id=publishDate32713> </span> <span style=margin-left:11% id=showTimeLeague32713> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32713'"> Download </button> <span class=clr></span></h3></div>
267<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32713);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32713);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 268else{buttonFeedId.show();} 269var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32713);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32713);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 270else if(isPurchased=='True'){console.log("true"+isPurchased);} 271else{$("#ThreeColVideo"+32713).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32713);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32713);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 272else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 273function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 274else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 275const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 276$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 277var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 278else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 279function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 280else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 281const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 282$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 283else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 284function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 285function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 286function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 287else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
287</div><div id=homeThreeTile_32715><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32715 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/WhiteBearLakePark918202632818AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>White Bear Lake Vs Park</b><p class=event-date><span id=publishDate32715> </span> <span style=margin-left:11% id=showTimeLeague32715> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32715'"> Download </button> <span class=clr></span></h3></div>
287<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32715);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32715);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 288else{buttonFeedId.show();} 289var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32715);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32715);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 290else if(isPurchased=='True'){console.log("true"+isPurchased);} 291else{$("#ThreeColVideo"+32715).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32715);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32715);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 292else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 293function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 294else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 295const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 296$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 297var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 298else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 299function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 300else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 301const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 302$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 303else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 304function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 305function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 306function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 307else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
307</div><div id=homeThreeTile_32717><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32717 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/LongPrairieGreyEagleStCloudCathedral918202655057PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Long Prairie-Grey Eagle Vs St. Cloud Cathedral</b><p class=event-date><span id=publishDate32717> </span> <span style=margin-left:11% id=showTimeLeague32717> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32717'"> Download </button> <span class=clr></span></h3></div>
307<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32717);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32717);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 308else{buttonFeedId.show();} 309var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32717);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32717);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 310else if(isPurchased=='True'){console.log("true"+isPurchased);} 311else{$("#ThreeColVideo"+32717).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32717);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32717);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 312else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 313function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 314else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 315const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 316$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 317var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 318else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 319function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 320else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 321const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 322$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 323else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 324function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 325function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 326function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 327else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
327</div><div id=homeThreeTile_32718><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32718 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/AndoverBenildeStMargarets918202633246AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Andover Vs Benilde-St. Margaret's</b><p class=event-date><span id=publishDate32718> </span> <span style=margin-left:11% id=showTimeLeague32718> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32718'"> Download </button> <span class=clr></span></h3></div>
327<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32718);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32718);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 328else{buttonFeedId.show();} 329var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32718);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32718);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 330else if(isPurchased=='True'){console.log("true"+isPurchased);} 331else{$("#ThreeColVideo"+32718).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32718);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32718);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 332else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 333function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 334else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 335const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 336$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 337var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 338else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 339function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 340else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 341const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 342$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 343else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 344function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 345function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 346function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 347else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
347</div><div id=homeThreeTile_32719><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32719 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/CretinDerhamHallEastRidge918202633359AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Cretin-Derham Hall Vs East Ridge</b><p class=event-date><span id=publishDate32719> </span> <span style=margin-left:11% id=showTimeLeague32719> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32719'"> Download </button> <span class=clr></span></h3></div>
347<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32719);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32719);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 348else{buttonFeedId.show();} 349var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32719);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32719);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 350else if(isPurchased=='True'){console.log("true"+isPurchased);} 351else{$("#ThreeColVideo"+32719).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32719);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32719);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 352else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 353function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 354else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 355const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 356$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 357var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 358else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 359function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 360else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 361const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 362$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 363else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 364function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 365function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 366function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 367else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
367</div><div id=homeThreeTile_32720><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32720 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/WhiteBearLakePark918202633454AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>White Bear Lake Vs Park</b><p class=event-date><span id=publishDate32720> </span> <span style=margin-left:11% id=showTimeLeague32720> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32720'"> Download </button> <span class=clr></span></h3></div>
367<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32720);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32720);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 368else{buttonFeedId.show();} 369var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32720);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32720);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 370else if(isPurchased=='True'){console.log("true"+isPurchased);} 371else{$("#ThreeColVideo"+32720).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32720);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32720);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 372else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 373function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 374else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 375const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 376$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 377var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 378else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 379function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 380else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 381const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 382$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 383else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 384function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 385function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 386function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 387else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
387</div><div id=homeThreeTile_32721><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32721 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/PierzStCloudCathedral918202633602AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Pierz Vs St. Cloud Cathedral</b><p class=event-date><span id=publishDate32721> </span> <span style=margin-left:11% id=showTimeLeague32721> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32721'"> Download </button> <span class=clr></span></h3></div>
387<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32721);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32721);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 388else{buttonFeedId.show();} 389var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32721);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32721);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 390else if(isPurchased=='True'){console.log("true"+isPurchased);} 391else{$("#ThreeColVideo"+32721).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32721);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32721);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 392else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 393function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 394else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 395const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 396$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 397var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 398else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 399function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 400else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 401const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 402$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 403else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 404function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 405function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 406function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 407else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
407</div><div id=homeThreeTile_32722><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32722 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/RedWingZumbrotaMazeppa918202633721AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Red Wing Vs Zumbrota-Mazeppa</b><p class=event-date><span id=publishDate32722> </span> <span style=margin-left:11% id=showTimeLeague32722> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32722'"> Download </button> <span class=clr></span></h3></div>
407<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32722);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32722);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 408else{buttonFeedId.show();} 409var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32722);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32722);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 410else if(isPurchased=='True'){console.log("true"+isPurchased);} 411else{$("#ThreeColVideo"+32722).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32722);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32722);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 412else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 413function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 414else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 415const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 416$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 417var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 418else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 419function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 420else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 421const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 422$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 423else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 424function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 425function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 426function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 427else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
427</div><span class=clr></span></div><hr><div class="row video-thumbnails-all"><div id=homeThreeTile_32703><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32703 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/LesterPrairieLakeCity918202630152AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Lester Prairie Vs Lake City</b><p class=event-date><span id=publishDate32703> </span> <span style=margin-left:11% id=showTimeLeague32703> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32703'"> Download </button> <span class=clr></span></h3></div>
427<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32703);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32703);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 428else{buttonFeedId.show();} 429var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32703);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32703);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 430else if(isPurchased=='True'){console.log("true"+isPurchased);} 431else{$("#ThreeColVideo"+32703).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32703);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32703);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 432else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 433function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 434else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 435const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 436$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 437var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 438else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 439function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 440else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 441const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 442$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 443else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 444function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 445function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 446function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 447else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
447</div><span class=clr></span></div><hr><div class="row video-thumbnails-all"><div id=homeThreeTile_32651><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32651 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/MoorheadHillMurray911202654704PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Moorhead Vs Hill-Murray</b><p class=event-date><span id=publishDate32651> </span> <span style=margin-left:11% id=showTimeLeague32651> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32651'"> Download </button> <span class=clr></span></h3></div>
447<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32651);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32651);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 448else{buttonFeedId.show();} 449var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32651);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32651);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 450else if(isPurchased=='True'){console.log("true"+isPurchased);} 451else{$("#ThreeColVideo"+32651).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32651);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32651);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 452else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 453function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 454else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 455const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 456$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 457var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 458else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 459function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 460else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 461const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 462$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 463else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 464function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 465function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 466function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 467else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
467</div><div id=homeThreeTile_32653><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32653 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/CristoReyJesuitStCloudCathedral911202654829PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Cristo Rey Jesuit Vs St. Cloud Cathedral</b><p class=event-date><span id=publishDate32653> </span> <span style=margin-left:11% id=showTimeLeague32653> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32653'"> Download </button> <span class=clr></span></h3></div>
467<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32653);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32653);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 468else{buttonFeedId.show();} 469var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32653);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32653);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 470else if(isPurchased=='True'){console.log("true"+isPurchased);} 471else{$("#ThreeColVideo"+32653).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32653);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32653);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 472else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 473function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 474else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 475const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 476$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 477var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 478else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 479function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 480else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 481const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 482$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 483else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 484function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 485function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 486function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 487else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
487</div><div id=homeThreeTile_32654><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32654 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/EaganWoodbury911202654907PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Eagan Vs Woodbury</b><p class=event-date><span id=publishDate32654> </span> <span style=margin-left:11% id=showTimeLeague32654> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32654'"> Download </button> <span class=clr></span></h3></div>
487<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32654);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32654);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 488else{buttonFeedId.show();} 489var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32654);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32654);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 490else if(isPurchased=='True'){console.log("true"+isPurchased);} 491else{$("#ThreeColVideo"+32654).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32654);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32654);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 492else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 493function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 494else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 495const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 496$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 497var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 498else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 499function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 500else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 501const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 502$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 503else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 504function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 505function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 506function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 507else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
507</div><div id=homeThreeTile_32652><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32652 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/HudsonWIHillMurray911202654747PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Hudson (WI) Vs Hill-Murray</b><p class=event-date><span id=publishDate32652> </span> <span style=margin-left:11% id=showTimeLeague32652> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32652'"> Download </button> <span class=clr></span></h3></div>
507<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32652);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32652);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 508else{buttonFeedId.show();} 509var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32652);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32652);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 510else if(isPurchased=='True'){console.log("true"+isPurchased);} 511else{$("#ThreeColVideo"+32652).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32652);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32652);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 512else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 513function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 514else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 515const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 516$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 517var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 518else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 519function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 520else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 521const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 522$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 523else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 524function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 525function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 526function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 527else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
527</div><div id=homeThreeTile_32655><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32655 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/HastingsCretinDerhamHall911202654942PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Hastings Vs Cretin-Derham Hall</b><p class=event-date><span id=publishDate32655> </span> <span style=margin-left:11% id=showTimeLeague32655> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32655'"> Download </button> <span class=clr></span></h3></div>
527<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32655);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32655);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 528else{buttonFeedId.show();} 529var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32655);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32655);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 530else if(isPurchased=='True'){console.log("true"+isPurchased);} 531else{$("#ThreeColVideo"+32655).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32655);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32655);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 532else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 533function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 534else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 535const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 536$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 537var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 538else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 539function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 540else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 541const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 542$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 543else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 544function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 545function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 546function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 547else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
547</div><div id=homeThreeTile_32656><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32656 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/LakevilleSouthEastRidge911202655023PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Lakeville South Vs East Ridge</b><p class=event-date><span id=publishDate32656> </span> <span style=margin-left:11% id=showTimeLeague32656> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32656'"> Download </button> <span class=clr></span></h3></div>
547<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32656);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32656);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 548else{buttonFeedId.show();} 549var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32656);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32656);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 550else if(isPurchased=='True'){console.log("true"+isPurchased);} 551else{$("#ThreeColVideo"+32656).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32656);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32656);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 552else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 553function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 554else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 555const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 556$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 557var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 558else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 559function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 560else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 561const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 562$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 563else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 564function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 565function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 566function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 567else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
567</div><span class=clr></span></div><hr><div class="row video-thumbnails-all"><div id=homeThreeTile_32662><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32662 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/CannonFallsChatfield917202612840PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Chatfield vs Cannon Falls - JV followed by Varsity</b><p class=event-date><span id=publishDate32662> </span> <span style=margin-left:11% id=showTimeLeague32662> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32662'"> Download </button> <span class=clr></span></h3></div>
567<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32662);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32662);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 568else{buttonFeedId.show();} 569var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32662);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32662);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 570else if(isPurchased=='True'){console.log("true"+isPurchased);} 571else{$("#ThreeColVideo"+32662).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32662);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32662);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 572else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 573function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 574else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 575const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 576$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 577var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 578else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 579function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 580else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 581const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 582$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 583else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 584function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 585function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 586function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 587else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
587</div><div id=homeThreeTile_32646><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32646 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/BloomingtonJeffersonCretinDerhamHall911202654212PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Bloomington Jefferson Vs Cretin-Derham Hall</b><p class=event-date><span id=publishDate32646> </span> <span style=margin-left:11% id=showTimeLeague32646> </span> <span class=fr>Football</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32646'"> Download </button> <span class=clr></span></h3></div>
587<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32646);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32646);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 588else{buttonFeedId.show();} 589var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32646);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32646);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 590else if(isPurchased=='True'){console.log("true"+isPurchased);} 591else{$("#ThreeColVideo"+32646).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32646);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32646);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 592else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 593function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 594else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 595const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 596$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 597var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 598else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 599function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 600else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 601const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 602$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 603else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 604function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 605function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 606function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 607else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
607</div><div id=homeThreeTile_32649><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32649 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ForestLakePark911202654533PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Forest Lake Vs Park</b><p class=event-date><span id=publishDate32649> </span> <span style=margin-left:11% id=showTimeLeague32649> </span> <span class=fr>Football</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32649'"> Download </button> <span class=clr></span></h3></div>
607<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32649);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32649);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 608else{buttonFeedId.show();} 609var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32649);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32649);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 610else if(isPurchased=='True'){console.log("true"+isPurchased);} 611else{$("#ThreeColVideo"+32649).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32649);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32649);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 612else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 613function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 614else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 615const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 616$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 617var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 618else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 619function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 620else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 621const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 622$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 623else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 624function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 625function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 626function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 627else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
627</div><div id=homeThreeTile_32684><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32684 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ChamplinParkCentennial916202644723PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Champlin Park Vs Centennial</b><p class=event-date><span id=publishDate32684> </span> <span style=margin-left:11% id=showTimeLeague32684> </span> <span class=fr>Football</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32684'"> Download </button> <span class=clr></span></h3></div>
627<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32684);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32684);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 628else{buttonFeedId.show();} 629var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32684);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32684);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 630else if(isPurchased=='True'){console.log("true"+isPurchased);} 631else{$("#ThreeColVideo"+32684).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32684);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32684);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 632else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 633function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 634else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 635const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 636$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 637var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 638else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 639function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 640else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 641const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 642$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 643else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 644function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 645function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 646function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 647else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
647</div><div id=homeThreeTile_32754><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32754 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/MinnesotaSportsRadioNSPNWeek32026png919202623515AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>After the Game - Week 3</b><p class=event-date><span id=publishDate32754> </span> <span style=margin-left:11% id=showTimeLeague32754> </span> <span class=fr>Football</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32754'"> Download </button> <span class=clr></span></h3></div>
647<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32754);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32754);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 648else{buttonFeedId.show();} 649var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32754);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32754);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 650else if(isPurchased=='True'){console.log("true"+isPurchased);} 651else{$("#ThreeColVideo"+32754).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32754);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32754);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 652else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 653function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 654else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 655const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 656$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 657var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 658else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 659function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 660else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 661const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 662$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 663else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 664function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 665function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 666function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 667else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
667</div><span class=clr></span></div><hr><div class="row video-thumbnails-all"><div id=homeThreeTile_32644><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32644 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ChanhassenNewPrague9172026115958PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Chanhassen Vs New Prague</b><p class=event-date><span id=publishDate32644> </span> <span style=margin-left:11% id=showTimeLeague32644> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32644'"> Download </button> <span class=clr></span></h3></div>
667<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32644);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32644);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();} 668else{buttonFeedId.show();} 669var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32644);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32644);buttonNotPurchased.show();buttonPurchasedUrl.hide();}} 670else if(isPurchased=='True'){console.log("true"+isPurchased);} 671else{$("#ThreeColVideo"+32644).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32644);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32644);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 672else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 673function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 674else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 675const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 676$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState) 677var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 678else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 679function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});} 680else{elements.forEach(element=>{element.style.paddingBottom='0%';});} 681const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")} 682$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();} 683else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}} 684function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});} 685function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();} 686function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;} 687else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
687</div><span class=clr></span></div><hr>
687<script>$(document).ready(function() 688{const d=new Date();var year=d.getFullYear();var month=d.getMonth()+1;var day=d.getDate();let diff=d.getTimezoneOffset();var modelList=[];var itemObject={PublishDate:"8/2/2027 12:00:00 AM",ShowTime:"",LeagueId:"3",PostId:"32072",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/24/2026 12:00:00 AM",ShowTime:"",LeagueId:"3",PostId:"32774",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/24/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32723",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/24/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32724",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/24/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32725",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/24/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32726",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/24/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32727",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/24/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32728",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32710",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32711",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32713",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32714",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32715",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32716",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32717",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32718",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32719",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32720",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32721",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"7:15 PM",LeagueId:"3",PostId:"32722",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"6:00 PM",LeagueId:"3",PostId:"32764",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"11:45 AM",LeagueId:"3",PostId:"32772",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/22/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32776",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/21/2026 12:00:00 AM",ShowTime:"7:15 PM",LeagueId:"3",PostId:"32703",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/19/2026 12:00:00 AM",ShowTime:"1:00 PM",LeagueId:"3",PostId:"32651",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/19/2026 12:00:00 AM",ShowTime:"3:00 PM",LeagueId:"3",PostId:"32652",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/19/2026 12:00:00 AM",ShowTime:"1:00 PM",LeagueId:"3",PostId:"32653",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/19/2026 12:00:00 AM",ShowTime:"1:00 PM",LeagueId:"3",PostId:"32654",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/19/2026 12:00:00 AM",ShowTime:"3:00 PM",LeagueId:"3",PostId:"32655",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/19/2026 12:00:00 AM",ShowTime:"7:15 PM",LeagueId:"3",PostId:"32656",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/18/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32646",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/18/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32649",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/18/2026 12:00:00 AM",ShowTime:"6:00 PM",LeagueId:"3",PostId:"32662",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/18/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32684",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/18/2026 12:00:00 AM",ShowTime:"9:30 PM",LeagueId:"3",PostId:"32754",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/17/2026 12:00:00 AM",ShowTime:"7:05 PM",LeagueId:"3",PostId:"32644",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var localDateTime=getLocalPublishDateAndTimeForAll(modelList);function getLocalPublishDateAndTimeForAll(modelList){$.ajax({type:"POST",url:"/Your/GetLocalPublishDateAndTimeleagueForAllList",data:JSON.stringify(modelList),contentType:"application/json",dataType:"json",success:function(response){response.forEach(function(item){const dateTime=new Date(item.updatedPublishDateTime);const formattedDate=(dateTime.getMonth()+1).toString().padStart(2,'0')+'/'+ 689dateTime.getDate().toString().padStart(2,'0')+'/'+ 690dateTime.getFullYear();const hours=dateTime.getHours();const minutes=dateTime.getMinutes();const ampm=hours>=12?'PM':'AM';const formattedTime=((hours%12)||12).toString().padStart(2,'0')+':'+ 691minutes.toString().padStart(2,'0')+' '+ 692ampm;var publishDateElement=document.getElementById('publishDate'+item.postId);var showTimeElement=document.getElementById('showTimeLeague'+item.postId);if(publishDateElement!==null){publishDateElement.textContent=formattedDate;} 693if(showTimeElement!==null){showTimeElement.textContent=formattedTime;} 694if(item.stateId==1&&formattedDate!=(month.toString().padStart(2,'0')+"/"+day.toString().padStart(2,'0')+"/"+year)){var divId="homeThreeTile_"+item.postId;var divElement=document.getElementById(divId);if(divElement){divElement.innerHTML=null;}}});},error:function(req,status,error){console.error(error);}});}});</script>
694</div></div><span class=clr></span><div class=align-right><a id=LeagueSeeMore class=view-all title="See More Videos" href=javascript:void(0)>See More</a> <input type=hidden id=hdnleagueSeeMoreCount value=2></div><div id=imgleagueLoader style=display:none class=align-center><img src=//ssmstorage.blob.core.windows.net/prepespotlightasset/images/ring.gif width=80></div></div><hr>
694<script>$(document).ready(function(){$.ajax({url:"https://geolocation-db.com/json/",type:'GET',dataType:'json',success:function(res){$.ajax({url:"/LeagueHome/GetLocation",datatype:"json",type:"POST",data:{"json":res},success:function(data){if(data!=null){}},error:function(err){}});}});});</script>
694</div><div class="right-sidebar large-3 medium-4 column"><div class=filter-game-streams style=height:270px><h4>Search</h4><div><ul><li><input id=Search_Sport name=Sport class="search-field margin-btm-none" placeholder="( Sport )"> <span class=clr></span> <input type=hidden id=Search_Sport_Id value=0><li><input id=Search_Team name=Team class="search-field margin-btm-none" placeholder="( Home Team )"> <span class=clr></span> <input type=hidden id=Search_Team_Id value=0><li><input id=Search_VisitingTeam name=Team class="search-field margin-btm-none" placeholder="( Visiting Team )"> <span class=clr></span> <input type=hidden id=Search_VisitingTeam_Id value=0><li><table><tbody><tr><td><div class=picker style=margin-right:5px><label for=fromperiod><b>FROM</b></label> <input style="padding:2px 0 2px 0;width:130px" type=date id=fromperiod name=from></div><td><div class=picker><label for=toperiod><b>TO</b></label> <input style="padding:2px 0 2px 0;width:130px" type=date id=toperiod name=to></div></table><span class=clr></span> <input type=hidden id=Search_EventDate value=0><li style=margin-right:0;margin-top:-17px;padding:8px;width:260px;margin-left:16px><button id=btnSchoolSearch class="small-btn-schedule fr" style=width:inherit onclick=SchoolSportSearch()>Search</button></ul></div></div>
694<script>var GetSportRequest=[];var GetTeamRequest=[];var GetVisitingTeamRequest=[];var jsonobjSchool={"search_text_School":""};var jsonobjSport={"search_text_Sport":""};var jsonobjTeam={"search_text_Team":""};var jsonobjVisitingTeam={"search_text_VisitingTeam":""};$(document).ready(function(){var leagueId=$("#hdnLeagueId").val();$("#fromperiod").val('');$("#toperiod").val('');$("#Search_Sport").val('');$("#Search_Team").val('');$("#Search_VisitingTeam").val('');$("#Search_Sport_Id").val('0');$("#Search_Team_Id").val('0');$("#Search_VisitingTeam_Id").val('0');$("#Search_Team").autocomplete({source:function(request,response) 695{$.each(GetTeamRequest,function(key,value){if(typeof(this)!='undefined') 696this.abort();});var urlservice="/AjaxRequest/Ajax/GetSchoolList";jsonobjTeam.searchtext=request.term;var ajaxTeamRequest=$.ajax({type:"GET",url:urlservice+"/?search_text_School="+request.term+"&leagueId="+leagueId,dataType:"json",data:"",contentType:"application/json; charset=utf-8",success:function(data){response($.map(data,function(item){return{label:item.schoolName,val:item.schoolId}}))},error:function(response){},failure:function(response){}});GetTeamRequest.push(ajaxTeamRequest);},focus:function(event,ui){$("#project").val(ui.item.label);return true;},select:function(event,ui){$("#Search_Team").val(ui.item.label);$("#Search_Team_Id").val(ui.item.val);return true;}});$("#Search_VisitingTeam").autocomplete({source:function(request,response) 697{$.each(GetVisitingTeamRequest,function(key,value){if(typeof(this)!='undefined') 698this.abort();});var urlservice="/AjaxRequest/Ajax/GetSchoolList";jsonobjVisitingTeam.searchtext=request.term;var ajaxTeamRequest=$.ajax({type:"GET",url:urlservice+"/?search_text_School="+request.term+"&leagueId="+leagueId,dataType:"json",data:"",contentType:"application/json; charset=utf-8",success:function(data){response($.map(data,function(item){return{label:item.schoolName,val:item.schoolId}}))},error:function(response){},failure:function(response){}});GetVisitingTeamRequest.push(ajaxTeamRequest);},focus:function(event,ui){$("#project").val(ui.item.label);return true;},select:function(event,ui){$("#Search_VisitingTeam").val(ui.item.label);$("#Search_VisitingTeam_Id").val(ui.item.val);return true;}});$("#Search_Sport").autocomplete({source:function(request,response){$.each(GetSportRequest,function(key,value){if(typeof(this)!='undefined') 699this.abort();});var urlservice="/AjaxRequest/Ajax/GetSportList";jsonobjSport.searchtext=request.term;var ajaxSportRequest=$.ajax({type:"GET",url:urlservice+"/?search_text_Sport="+request.term,dataType:"json",data:"",contentType:"application/json; charset=utf-8",success:function(data){response($.map(data,function(item){return{label:item.sportName,val:item.sportId}}))},error:function(response){},failure:function(response){}});GetSportRequest.push(ajaxSportRequest);},focus:function(event,ui){$("#Search_Sport").val(ui.item.label);return true;},select:function(event,ui){$("#Search_Sport").val(ui.item.label);$("#Search_Sport_Id").val(ui.item.val);return true;}});});function SchoolSportSearch() 700{var leagueId=$("#hdnLeagueId").val();var SportId=$("#Search_Sport_Id").val();var SportName=$("#Search_Sport").val()==""?"null":$("#Search_Sport").val();var SchoolId=$("#Search_School_Id").val();var TeamID=$("#Search_Team_Id").val();var TeamName=$("#Search_Team").val()==""?"null":$("#Search_Team").val();var VisitingTeamID=$("#Search_VisitingTeam_Id").val();var VisitingName=$("#Search_VisitingTeam").val()==""?"null":$("#Search_VisitingTeam").val();var FromDate=$("#fromperiod").val()==""?"null":$("#fromperiod").val();var ToDate=$("#toperiod").val()==""?"null":$("#toperiod").val();if(leagueId!=""&&leagueId!="0"&&(SportId!="0"||SchoolId!="0"||TeamID!="0"||VisitingTeamID!="0"||FromDate!=""||ToDate!="")) 701{var t1=window.location.href;var t2=t1.split('/');var t3=t2[0]+'//'+t2[2]+'/'+t2[3];var url=t3+"/"+"GameStreamById/"+leagueId+"&"+SportName+"&"+SportId+"&"+TeamName+"&"+TeamID+"&"+VisitingName+"&"+VisitingTeamID+"&"+FromDate+"&"+ToDate;window.location.href=url;} 702return false;}</script>
702<link href=//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.1/css/bootstrap-datepicker.css rel=stylesheet>
702<script src=/js/jquery-migrate.min.js></script>
702<script src=/js/moment.js></script>
702<script src=/js/bootstrap-datepicker.js></script>
702<script src=/js/bootstrap-datepaginator.js></script>
702<script>var GetScheduleRequest=[];var currentDate="";var endDate="";$(document).ready(function(){currentDate=GetTodayDate();endDate=GetEndDate();selectedDate=GetTodayDateInFormat();fnAjaxMethod.fn_GetScheduleSection();fnAjaxMethod.fn_GetScheduleByDate(selectedDate);});var fnAjaxMethod={fn_GetScheduleByDate:function(selectedDate) 703{var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Showid=$("#hdnShowId").val();$.each(GetScheduleRequest,function(key,value) 704{if(typeof(this)!='undefined') 705this.abort();});Type="Post";Url="/AjaxRequest/Ajax/GetTeamSchedule";Data={"SelDate":""+selectedDate+"","leagueId":""+leagueid+"","SportId":""+Sportid+"","SchoolId":""+Schoolid+"","ShowId":""+Showid+"","leagueName":""+'MSHSL'+"","widgetId":""+''+""};ProcessData=true;var ajaxRequest=$.ajax({type:Type,url:Url,data:Data,success:function(data){$("#ScheduleSection").html(data);},error:function(){}});GetScheduleRequest.push(ajaxRequest);},fn_GetScheduleSection:function(){var options={endDateFormat:'DD-MM-YYYY',selectedDateFormat:'DD-MM-YYYY',selectedDate:currentDate,highlightSelectedDate:true,injectStyle:true,itemWidth:'30',navItemWidth:'16',selectedItemWidth:'10',showCalendar:true,showStartOfWeek:true,size:'small',startOfWeek:'Mon',text:'dd<br/>Do',textSelected:'ddd<br/>Do,MMM <br/>YYYY',width:'172',onSelectedDateChanged:function(event,date){var dateAsObject=$.datepicker.formatDate('mm/dd/yy',new Date(date));fnAjaxMethod.fn_GetScheduleByDate(dateAsObject);}} 706$('#DatePaginator').datepaginator(options);}} 707function GetTodayDate(){var today=new Date();var dd=today.getDate();var mm=today.getMonth()+1;var yyyy=today.getFullYear();if(dd<10){dd='0'+dd} 708if(mm<10){mm='0'+mm} 709var today=dd+'/'+mm+'/'+yyyy;return today;} 710function GetEndDate(){var today=new Date();var dd=today.getDate();var mm=today.getMonth()+2;var yyyy=today.getFullYear();if(dd<10){dd='0'+dd} 711if(mm<10){mm='0'+mm} 712else{if(mm=13){mm=mm-1}} 713var today=dd+'/'+mm+'/'+yyyy;return today;} 714function GetTodayDateInFormat(){var today=new Date();var dd=today.getDate();var mm=today.getMonth()+1;var yyyy=today.getFullYear();if(dd<10){dd='0'+dd} 715if(mm<10){mm='0'+mm} 716var today=mm+'/'+dd+'/'+yyyy;return today;}</script>
716<div class=event-detail-section><div style=text-align:center><button class=streaming-schedule-button onclick="location.href='/MSHSL/StreamingSchedule'"> STREAMING SCHEDULE </button></div><span class=clr></span> <a style=color:blue;cursor:pointer;text-decoration:underline onclick="location.href='/MSHSL/StreamingSchedule'"> View Full Schedule </a> <span class=clr></span><div id=DatePaginator></div><div id=ScheduleSection><style>.time-block{font-weight:bold;margin:10px;display:initial !important}</style><div id=tab-1 class="schedule-data tab-content"><h5>Sep 24th</h5><div class=scroll-list><ul><li>Forest Lake Vs Cretin-Derham Hall<span> BoysSoccer <span class=time-block id=showTimeLeagueSchedule32723></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32723'">Watch Now</button> </span><li>Park Vs Woodbury<span> BoysSoccer <span class=time-block id=showTimeLeagueSchedule32725></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32725'">Watch Now</button> </span><li>Forest Lake Vs Cretin-Derham Hall<span> GirlsSoccer <span class=time-block id=showTimeLeagueSchedule32724></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32724'">Watch Now</button> </span><li>Park Vs Woodbury<span> GirlsSoccer <span class=time-block id=showTimeLeagueSchedule32726></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32726'">Watch Now</button> </span><li>Forest Lake Vs Cretin-Derham Hall<span> GirlsVolleyball <span class=time-block id=showTimeLeagueSchedule32727></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32727'">Watch Now</button> </span><li>Park Vs Woodbury<span> GirlsVolleyball <span class=time-block id=showTimeLeagueSchedule32728></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32728'">Watch Now</button> </span></ul></div></div>
716<script>$(document).ready(function(){const d=new Date();var year=d.getFullYear();var month=d.getMonth()+1;var day=d.getDate();let diff=d.getTimezoneOffset();var modelList=[];$('.schedule-data .scroll-list').slimscroll({height:'294px'});var itemObject={PublishDate:"9/24/2026 6:19:06 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32723",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/24/2026 6:19:06 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32725",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/24/2026 6:19:06 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32724",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/24/2026 6:19:06 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32726",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/24/2026 6:19:06 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32727",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/24/2026 6:19:06 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32728",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var localDateTime=getLocalPublishDateAndTimeEventList(modelList);function getLocalPublishDateAndTimeEventList(modelList){$.ajax({type:"POST",url:"/Your/GetLocalPublishDateAndTimeleagueForAllList",data:JSON.stringify(modelList),contentType:"application/json",dataType:"json",success:function(response){response.forEach(function(item){const dateTime=new Date(item.updatedPublishDateTime);const formattedDate=(dateTime.getMonth()+1).toString().padStart(2,'0')+'/'+ 717dateTime.getDate().toString().padStart(2,'0')+'/'+ 718dateTime.getFullYear();const hours=dateTime.getHours();const minutes=dateTime.getMinutes();const ampm=hours>=12?'PM':'AM';const formattedTime=((hours%12)||12).toString().padStart(2,'0')+':'+ 719minutes.toString().padStart(2,'0')+' '+ 720ampm;var showTimeElement=document.getElementById('showTimeLeagueSchedule'+item.postId);if(showTimeElement!==null){showTimeElement.textContent=formattedTime;}});},error:function(req,status,error){console.error(error);}});}});function CheckAndRedirect(id){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){window.location.href="/"+leaguename+"/EventPackage/"+id;} 721else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
721</div></div><div class="add-section align-center"><a href=//schoolspacemedia.com/jobs target=_blank alt=""> <img src=//ssmstorage.blob.core.windows.net/ssmtvassets/JoinOurTeam-WebBanner.png alt=""> </a></div><div class="add-section align-center"><a href="//varsity.startribune.com/" target=_blank alt=""> <img src=//ssmstorage.blob.core.windows.net/ssmtvassets/StribVarsity_DigitalAdsRONROS_2025.jpg alt=""> </a></div><div class=twitter-section><a class=twitter-timeline data-height=600 data-theme=dark href=//twitter.com/NSPNminnesota>Tweets by @NSPNminnesota</a>
721<script async src=//platform.twitter.com/widgets.js charset=utf-8></script>
721</div></div></div><footer class=footer-wraper><div class=footer><p>To read our Terms of Use, <a style=cursor:pointer;text-decoration:underline href="//ssmstorage.blob.core.windows.net/customfiles/School Space Terms of Use.pdf" target=_blank>click here</a> <br> For support using NSPN.tv or questions about game purchases, <a style=cursor:pointer;text-decoration:underline onclick=CheckURLAndRedirect()> visit fan support </a> <br>For story ideas or general questions, please email us at <a href=mailto:[email protected]>[email protected]</a> <br>For sponsorship inquiries, please email us at <a href=mailto:[email protected]>[email protected]</a> <br>For job inquiries, please email us at <a href=mailto:[email protected]>[email protected]</a></div>
721<script>function CheckURLAndRedirect(){var checkUrl='MSHSL';if(checkUrl!=null&&checkUrl!=""){window.location.href="/"+checkUrl+"/Support/";} 722else{window.location.href="/MSHSL/Support/";}}</script>
722</footer>
722<script src="/js/plugins.js?v=HxNZYT7-Jafaa6XvoF-4CL0hUcWyO3Y0ls5k3td0x3E"></script>
722<script src=/js/jquery.slimscroll.min.js></script>
722</div><div class=show-sml><nav id=mobile_menu><ul><li><form class=search-form><input id=MobileCommonSchoolSearch placeholder="( Find Your School )" type=search class="margin-btm-none fl"> <button type=button id=btnMobileCommonSchoolSearch class=fl onclick=MobileSchoolSearch()><img src=//ssmstorage.blob.core.windows.net/prepespotlightasset/images/search-icon.png alt=""></button> <span class=clr></span> <input type=hidden id=MobileSchool-id></form><li><a href=/MSHSL>Home</a><li><a href=/MSHSL/GameStream>GameStream</a><li><a href=/SearchGameStream/MSHSL>Search</a><li><li><a href=#>Shows <span class=sub-arrow></span></a><ul><li><a href=/MSHSL/SpotlightShow>Prep Spotlight </a><li><a href=/MSHSL/YearBookShow>Prep YearBook </a></ul><li><a href=#>Sports <span class=sub-arrow></span></a><ul class=games-dropdown><li><a href=/MSHSL/sport/adaptedfloorhockey-ci>Adapted Floor Hockey CI</a><li><a href=/MSHSL/sport/adaptedfloorhockey-pi>Adapted Floor Hockey PI</a><li><a href=/MSHSL/sport/adaptedsoccerci>Adapted Soccer CI</a><li><a href=/MSHSL/sport/adaptedsoccerpi>Adapted Soccer PI</a><li><a href=/MSHSL/sport/adaptersoftballci>Adapted Softball CI</a><li><a href=/MSHSL/sport/adaptedsoftballpi>Adapted Softball PI</a><li><a href=/MSHSL/sport/AlpineSkiing>Alpine Skiing</a><li><a href=/MSHSL/sport/Badminton>Badminton</a><li><a href=/MSHSL/sport/Baseball>Baseball ( Boys )</a><li><a href=/MSHSL/sport/BoysBasketball>Basketball ( Boys )</a><li><a href=/MSHSL/sport/GirlsBasketball>Basketball ( Girls )</a><li><a href=/MSHSL/sport/BeachVolleyball>Beach Volleyball</a><li><a href=/MSHSL/sport/collegiateswimming>College Swimming</a><li><a href=/MSHSL/sport/CrossCountry>Cross Country</a><li><a href=/MSHSL/sport/Dance>Dance</a><li><a href=/MSHSL/sport/FlagFootball>Flag Football</a><li><a href=/MSHSL/sport/Football>Football</a><li><a href=/MSHSL/sport/Golf>Golf</a><li><a href=/MSHSL/sport/Gymnastics>Gymnastics ( Girls )</a><li><a href=/MSHSL/sport/BoysHockey>Hockey ( Boys )</a><li><a href=/MSHSL/sport/GirlsHockey>Hockey ( Girls )</a><li><a href=/MSHSL/sport/BoysLacrosse>Lacrosse ( Boys )</a><li><a href=/MSHSL/sport/GirlsLacrosse>Lacrosse ( Girls )</a><li><a href=/MSHSL/sport/NordicSkiing>Nordic Skiing</a><li><a href=/MSHSL/sport/Other>Other</a><li><a href=/MSHSL/sport/BoysSoccer>Soccer ( Boys )</a><li><a href=/MSHSL/sport/GirlsSoccer>Soccer ( Girls )</a><li><a href=/MSHSL/sport/Softball>Softball ( Girls )</a><li><a href=/MSHSL/sport/coedswimming>Swimming</a><li><a href=/MSHSL/sport/BoysSwimming>Swimming ( Boys )</a><li><a href=/MSHSL/sport/GirlsSwimming>Swimming ( Girls )</a><li><a href=/MSHSL/sport/BoysTennis>Tennis ( Boys )</a><li><a href=/MSHSL/sport/GirlsTennis>Tennis ( Girls )</a><li><a href=/MSHSL/sport/Track&Field>Track & Field</a><li><a href=/MSHSL/sport/BoysVolleyball>Volleyball ( Boys )</a><li><a href=/MSHSL/sport/GirlsVolleyball>Volleyball ( Girls )</a><li><a href=/MSHSL/sport/Wrestling>Wrestling</a><li><a href=/MSHSL/sport/YouthSoccer>Youth Soccer</a></ul><li><a href=/MSHSL/EventPackage>Buy Packages</a><li><a href=/MSHSL/StateTournament>State Tournaments</a><li><a href="/auth/signin?returnurl=%2FMSHSL"><i class="fa fa-user"></i> Sign In </a><li><a href=/MSHSL/Support>Fan Support</a><li><li class=last-child></ul></nav>
722<script>var GetSchoolRequest=[];var jsonobj={"searchtext":""};$(document).ready(function(){var leagueId=$("#hdnLeagueId").val();$("#MobileCommonSchoolSearch").autocomplete({source:function(request,response){$.each(GetSchoolRequest,function(key,value){if(typeof(this)!='undefined') 723this.abort();});var urlservice="/AjaxRequest/Ajax/GetSchoolList";jsonobj.searchtext=request.term;$.ajax({type:"GET",url:urlservice+"/?search_text_School="+request.term+"&leagueId="+leagueId,dataType:"json",data:"",contentType:"application/json; charset=utf-8",success:function(data){response($.map(data,function(item){return{label:item.schoolName,val:item.friendlyUrl}}))},error:function(response){},failure:function(response){}});GetSchoolRequest.push(ajaxRequest);},focus:function(event,ui){$("#MobileCommonSchoolSearch").val(ui.item.label);return true;},select:function(event,ui){$("#MobileCommonSchoolSearch").val(ui.item.label);$("#MobileSchool-id").val(ui.item.val);CommonSchoolSearch();return true;}});});function MobileSchoolSearch() 724{if($("#MobileSchool-id").val()!=null&&$("#MobileSchool-id").val()!=''){window.location.href=$("#MobileSchool-id").val();} 725return false;}</script>
725</div>
725<script>var Prep_Spotlight_Players=[];var Three_Col_Players=[];var refreshTimer;var timeInterval=1000*(120);var liveRequest=[];$(function(){$('nav#mobile_menu').mmenu({"offCanvas":{"position":"right"},extensions:['effect-slide-menu','pageshadow'],navbars:[{},{content:['close']}]});});$('.bxslider').bxSlider({minSlides:2,maxSlides:4,slideWidth:220,slideMargin:10});$('.bxsliderTwo').bxSlider({adaptiveHeight:true,mode:'fade'});$(document).ready(function(){var leagueTopHeaderId=$("#hdnLeagueId").val();var sportTopHeaderId=$("#hdnSportId").val();var schoolTopHeaderId=$("#hdnSchoolId").val();var showTopHeaderId=$("#hdnShowId").val();var teamTopHeaderId=$("#hdnTeamId").val();var topContainer=$("#HeaderTopSection");var refreshTopComponent=function(){$.get("/National/UpdateTopHeader",{leagueId:leagueTopHeaderId,schoolId:schoolTopHeaderId,sportId:sportTopHeaderId,teamId:teamTopHeaderId,showId:showTopHeaderId},function(data){topContainer.html(data);});};const urlParams=new URLSearchParams(window.location.search);const referralCode=urlParams.get('referral');if(referralCode){window.sessionStorage.setItem("referralCode",referralCode);} 726$(function(){window.setTimeout(refreshTopComponent,2000);});$("#SeeMoreWidgetEvents").click(function(){$("#imgleagueLoader").show();var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Pageid=$("#hdnPageId").val();var container=$("#leaguePostSection");var count=parseInt($("#hdnleagueSeeMoreCount").val());var widgetUrl=$("#widgetid").val();$.get("/WidgetFriendlyURL/SeeMoreVideoTile/",{widgetUrl:widgetUrl,countNew:count},function(data){container.html(data);$("#imgleagueLoader").hide();});count=count+1;$("#hdnleagueSeeMoreCount").val(count);});$("#LeagueSeeMore").click(function(){$("#imgleagueLoader").show();var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Pageid=$("#hdnPageId").val();var container=$("#leaguePostSection");var count=parseInt($("#hdnleagueSeeMoreCount").val());$.get("/LeagueHome/SeeMoreVideoTile/",{leagueId:leagueid,countNew:count,SchoolId:Schoolid,sportId:Sportid,PageId:Pageid},function(data){console.log(data);container.html(data);console.log(container.html(data));$("#imgleagueLoader").hide();});count=count+1;$("#hdnleagueSeeMoreCount").val(count);});$("#SportSeeMore").click(function(){$("#imgleagueLoader").show();var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Pageid=$("#hdnPageId").val();var container=$("#SportPostSection");var count=parseInt($("#hdnSportSeeMoreCount").val());$.get("/Sport/SeeMoreVideoTile/",{leagueId:leagueid,countNew:count,SchoolId:Schoolid,sportId:Sportid,PageId:Pageid},function(data){container.html(data);$("#imgleagueLoader").hide();});count=count+1;$("#hdnSportSeeMoreCount").val(count);});$("#SchoolSeeMore").click(function(){$("#imgleagueLoader").show();var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Pageid=$("#hdnPageId").val();var container=$("#SchoolPostSection");var count=parseInt($("#hdnSchoolSeeMoreCount").val());$.get("/School/SeeMoreVideoTile/",{leagueId:leagueid,countNew:count,SchoolId:Schoolid,sportId:Sportid,PageId:Pageid},function(data){container.html(data);$("#imgleagueLoader").hide();});count=count+1;$("#hdnSchoolSeeMoreCount").val(count);});$("#watchAgainSeeMore").click(function(){$("#imgLoaderwatchagain").show();var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Pageid=$("#hdnPageId").val();var container=$("#watchAgainVideoGallery");var count=parseInt($("#watchAgainvideoGalleryTileCount").val());$.get("/GameStream/watchAgainSeeMore/",{leagueId:leagueid,countNew:count,SchoolId:Schoolid,sportId:Sportid,PageId:Pageid},function(data){container.html(data);$("#imgLoaderwatchagain").hide();});count=count+9;$("#watchAgainvideoGalleryTileCount").val(count);});$("#ShowSeeMore").click(function(){$("#imgShowLoader").show();var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Pageid=$("#hdnPageId").val();
726var Showid=$("#hdnShowId").val();var container=$("#ShowPostSection");var count=parseInt($("#hdnShowSeeMoreCount").val());$.get("/Show/ShowSeeMore/",{leagueId:leagueid,countNew:count,SchoolId:Schoolid,sportId:Sportid,PageId:Pageid,ShowId:Showid},function(data){container.html(data);$("#imgShowLoader").hide();});count=count+9;$("#hdnShowSeeMoreCount").val(count);});$(".tabs-menu td a").click(function(event){event.preventDefault();$(this).parent().addClass("current");$(this).parent().siblings().removeClass("current");var tab=$(this).attr("href");$(tab).parent().find('div').fadeOut();$(tab).fadeIn();});});let inactivityTimeout;let isFullScreen=false;let iosPlayer;let IsPausedByUser=false;function PlayShow(playerid,feedurl,posterImage,image,button,Id){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){if(!feedurl.includes("/manifest(filter=AssetFilter_")){feedurl=data+"/manifest";} 727var userName="";var count=0;var countnew=0;if('False'){var firstName=$("#hdnUserFirstName").val();var lastName=$("#hdnUserLastName").val();if(firstName!=null&&firstName!=""&&firstName!=undefined) 728userName=firstName+" "+lastName;} 729var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);if(buttonHighlightFeedId.text()==""||buttonHighlightFeedId.is(':visible')){buttonHighlightFeedId.hide();buttonFeedId.show();} 730else{buttonHighlightFeedId.show();buttonFeedId.hide();} 731$('#'+image).hide();$('#'+button).hide();var source={src:feedurl,type:"application/vnd.ms-sstr+xml"};var myOptions={"nativeControlsForTouch":false,autoplay:true,controls:true,width:"279.328",height:"156",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",logo:{"enabled":false},plugins:{ga:{'eventLabel':feedurl+" "+userName,'eventsToTrack':['playerConfig','loaded','playTime','percentsPlayed','start','end','play','pause','error','buffering','fullscreen','seek','bitrate'],'debug':false}},ampAds:{preRoll:{sourceUri:'/images/Advertisement_XMLFile2.xml',options:{skipAd:{enabled:false,offset:10}}},mainProgram:{source:source,}}};var PlayerObj=amp(playerid,myOptions);PlayerObj.addEventListener('playing',function(){console.log("playing");console.log(this.id_);$("#homeThreeTile_"+Id).addClass("Livevideoplaying"+Id);$("#friendlyurlwidget_"+Id).addClass("Livevideoplaying"+Id);if(window.matchMedia("(max-width: 1024px)").matches){if(count==0){$("#"+this.id_+" .vjs-progress-control").hide();count=count+1;}} 732document.getElementById("techIssue"+Id).style.display='none';document.getElementById("urlNotFound"+Id).style.display='none';});PlayerObj.addEventListener('ended',function(){console.log('Video Finished!');if(count>0){$("#"+this.id_+" .vjs-progress-control").show();}});PlayerObj.addEventListener('error',function(){if(PlayerObj.error().code&.errorCode.abortedErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("1");} 733else if(PlayerObj.error().code&.errorCode.networkErrHttpUrlNotFound){console.log("2.1");document.getElementById("techIssue"+Id).style.display='block';refreshTimer=setInterval("GetNewFeedforTechIssue("+Id+")",timeInterval);} 734else if(PlayerObj.error().code&.errorCode.networkErrTimeout){console.log("2.2");document.getElementById("techIssue"+Id).style.display='block';refreshTimer=setInterval("GetNewFeedforTechIssue("+Id+")",timeInterval);} 735else if(PlayerObj.error().code&.errorCode.networkErrStart){console.log("2");document.getElementById("techIssue"+Id).style.display='block';refreshTimer=setInterval("GetNewFeedforTechIssue("+Id+")",timeInterval);} 736else if(PlayerObj.error().code&.errorCode.decodeErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("3");} 737else if(PlayerObj.error().code&.errorCode.srcErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("4");} 738else if(PlayerObj.error().code&.errorCode.encryptErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("5");} 739else if(PlayerObj.error().code&.errorCode.srcPlayerMismatchStart){document.getElementById("techIssue"+Id).style.display='block';console.log("6");} 740else{document.getElementById("techIssue"+Id).style.display='block';console.log("7");}});var eventDurInSec=0;PlayerObj.addEventListener('loadeddata',function(){eventDurInSec=parseInt(PlayerObj.duration());});var setTimeForEvent=GetStartTimeForEvent("GAMESTREAM");if(parseInt(setTimeForEvent)>0){PlayerObj.addEventListener(amp.eventName.play,function(){if(eventDurInSec>setTimeForEvent){PlayerObj.currentTime(parseInt(setTimeForEvent));}});} 741Three_Col_Players.push(PlayerObj);},});} 742function PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data){var feedurl;var dashUrl;var hlsUrl;const formatMpd="format=mpd-time-cmaf";const formatM3u8="format=m3u8-cmaf";if(data.includes("/manifest(filter=")){dashUrl=addFormatToUrl(data,formatMpd);hlsUrl=addFormatToUrl(data,formatM3u8);} 743else{dashUrl=data+"/manifest(format=mpd-time-cmaf)";hlsUrl=data+"/manifest(format=m3u8-cmaf)";} 744function addFormatToUrl(url,format){const manifestIndex=url.indexOf("manifest(");if(manifestIndex===-1){return url;} 745const insertPosition=manifestIndex+"manifest(".length;const newUrl=url.slice(0,insertPosition)+format+","+url.slice(insertPosition);return newUrl;} 746var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);if(buttonHighlightFeedId.text()==""||buttonHighlightFeedId.is(':visible')){buttonHighlightFeedId.hide();buttonFeedId.show();} 747else{buttonHighlightFeedId.show();buttonFeedId.hide();} 748$('#'+image).hide();$('#'+button).hide();var controlbar=document.getElementById('controlbar'+Id);if(controlbar){controlbar.classList.remove('hide-content');} 749const videoContainer=document.getElementById("video-container"+Id);videoContainer.classList.add('hide-seekbar');const bufferLoader=document.getElementById("bufferLoader"+Id);const muteBtn=document.getElementById("muteBtn"+Id);const volumeSlider=document.getElementById("volumeSlider"+Id);const seekBar=document.getElementById("seekBar"+Id);const seekBarTooltip=document.getElementById("seekBarTooltip"+Id);const playPauseBtn=document.getElementById("playPauseBtn"+Id);const playPauseBtnBottom=document.getElementById("playPauseBtnBottom"+Id);const currentTimeLabel=document.getElementById("currentTime"+Id);const durationLabel=document.getElementById("duration"+Id);const pipBtn=document.getElementById("pipBtn"+Id);const fullscreenBtns=document.getElementById("fullscreenBtns"+Id);const settingsBtn=document.getElementById("settingsBtn"+Id);const settingsMenu=document.getElementById("settingsMenu"+Id);const qualityOptions=document.getElementById("qualityOptions"+Id);const jumpBackBtn=document.getElementById("jumpBackBtn"+Id);const jumpForwardBtn=document.getElementById("jumpForwardBtn"+Id);const castButton=document.getElementById("castButton"+Id);const goLive=document.getElementById("goLives"+Id);const video=document.getElementById("bitmovinplayer-video-video-container"+Id) 750const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen){$("#video-container"+Id).removeClass("full-screen");$("#video-container"+Id).removeClass("full-width");} 751function updatefontSize(idName,percent){const element=document.getElementById(idName);const currentFontSize=window.getComputedStyle(element).fontSize;const newFontSize=parseFloat(currentFontSize)*percent;element.style.fontSize=`${newFontSize}px`;} 752jumpBackBtn.addEventListener("click",jumpBack);jumpForwardBtn.addEventListener("click",jumpForward);volumeSlider.addEventListener("input",handleVolumeChange);volumeSlider.addEventListener("touchend",handleVolumeChange);goLive.addEventListener("click",GoLive);castButton.addEventListener("click",CastButton);playPauseBtn.addEventListener("click",PlayPauseBtn);playPauseBtnBottom.addEventListener("click",PlayPauseBtn);muteBtn.addEventListener("click",MuteBtn);settingsBtn.addEventListener('click',SettingsBtn);let isJumpBack=false;let newTime=0;let currentTimejumpBack=0;let lastUpdateTime=Date.now();let lastKnownTime=0;let updateInterval;let jumpBackSeconds;let currentTimeIsjumpback=0;let testMyCount=0;let duration=0;let currentTime=0;let isSeekbarInput=false;let seekBarcurrentTime=0;let lastVolume;let durationSeekBar=0;var backwardLive=null;var backwardLiveCurrent=null;var seekbarvalueChanged=null;let lastManualInteractionTime=0;let selectedTimefromLive=null;let lastSeconds=null;let previousMiddleValue=null;let updatedTime=null;let timeString=null;let parts=null;let lastValue=null;
752let currentValue=null;let firstClick=true;let jumpBackTimeout=null;let jumpForwardTimeout=null;let isjumpForward=false;let currentValueForward=null;let durationValueForward=null;let formatedTimeHHMMSS=null;let partsOfTimeHHMMSS=null;let liveSeekBarPercentage=null;let player;let mainSourceConfig;let mainSourceConfigVod;let prerollSourceConfig;const BUFFER_THRESHOLD=0;let currentTimeforResume=0;let isseeked=false;let isPlaybackFinish=false;let stallTimeout;let isPlaybackFinished=false;volumeSlider.value=100;let seekbarvalueChangedlast=0;let incrementtime=0;let liveEnded=false;let playermuted=false;let playerVolume=100;let PIPIsenable=false;const playerConfig={key:"d0167b1c-9767-4287-9ddc-e0fa09d31e02",playback:{muted:false,autoplay:true},ui:false,events:{[mkplayer.MKPlayerEvent.TimeChanged]:(event)=>{if(eventState==1){$("#homeThreeTile_"+Id).addClass("HomeCustomCurrentPlay"+Id);} 753if(eventState==2){$("#homeThreeTile_"+Id).addClass("PlayingLiveEvent"+Id);} 754if(eventState==2||eventState==1){if(player.isLive()){let offsetTime=player.getTimeShift();let duration=player.getDuration();if(offsetTime>=-1){currentTimeLabel.textContent="🔴 Live";} 755else{currentTimeLabel.textContent=FormatSecondsIntoHHMMSS(offsetTime);} 756durationLabel.textContent=FormatSecondsIntoHHMMSS(duration);seekBar.step=0.01;let seconds=Math.abs(offsetTime);seconds=duration-seconds;seekBar.value=parseFloat(((seconds/duration)*100).toFixed(3));} 757else{let currentTime=player.getCurrentTime();let duration=player.getDuration();let onDemandSeekbarPercentage=(currentTime/duration)*100;currentTimeLabel.textContent=FormatSecondsIntoHHMMSS(currentTime);seekBar.value=onDemandSeekbarPercentage;currentTimeforResume=currentTime;}} 758else{let currentTime=player.getCurrentTime();let duration=player.getDuration();let onDemandSeekbarPercentage=(currentTime/duration)*100;currentTimeLabel.textContent=FormatSecondsIntoHHMMSS(currentTime);seekBar.value=onDemandSeekbarPercentage;currentTimeforResume=currentTime;}},[mkplayer.MKPlayerEvent.Playing]:(data)=>{if(eventState==2){$("#homeThreeTile_"+Id).addClass("Livevideoplaying"+Id);$("#friendlyurlwidget_"+Id).addClass("Livevideoplaying"+Id);$("#gameStreamFWV_"+Id).addClass("Livevideoplaying"+Id);} 759if(liveEnded){let currentTime=player.getCurrentTime();let duration=player.getDuration();let onDemandSeekbarPercentage=(currentTime/duration)*100;currentTimeLabel.textContent=FormatSecondsIntoHHMMSS(currentTime);seekBar.value=onDemandSeekbarPercentage;currentTimeforResume=currentTime;}},[mkplayer.MKPlayerEvent.DurationChanged]:(data)=>{const ua=navigator.userAgent||navigator.vendor||window.opera;const isTouch='ontouchstart'in window&&!window.MSStream;if(eventState==2){let isiOSDevicess=(/iPad|iPhone|iPod/.test(navigator.userAgent)||(navigator.userAgent.includes('Macintosh')&&'ontouchend'in document))&&!window.MSStream;if(!player.isLive()&&!isiOSDevicess){let currentTime=player.getCurrentTime();console.log(currentTime);var duration=player.getDuration();console.log(duration);const givenTimestamp=currentTime;const givenDate=new Date(givenTimestamp*1000);liveEnded=true;const currentDate=new Date();const timeDifference=(currentDate-givenDate)/1000;console.log(timeDifference);const seekTimesss=duration-timeDifference;console.log(seekTimesss);player.reload(undefined,{startOffset:Math.floor(seekTimesss)});const goLive=document.querySelector("#video-container"+Id+" .goLive-icon");goLive.style.visibility='hidden';} 760else{console.log("isLive else");}}},[mkplayer.MKPlayerEvent.PlaybackFinished]:(data)=>{if(eventState==2&&player.hasEnded()){if(window.location.pathname.toLowerCase().includes('gamestream')||window.location.pathname.toLowerCase().includes('mediaplayer')){GetStreamEndContent(Id,"GameStreamPage","Finish",'GetReceiveMessage');} 761else{GetStreamEndContent(Id,"HomePage","Finish",'GetReceiveMessage');}} 762else if(eventState!=2&&player.hasEnded()){seekBar.value=0;currentTimeLabel.textContent='00:00:00';player.reload();}},[mkplayer.MKPlayerEvent.SourceLoaded]:()=>{UpdateUI(player);},[mkplayer.MKPlayerEvent.Play]:()=>{playPauseBtn.innerHTML='<i class="fas fa-pause"></i>';playPauseBtnBottom.innerHTML='<i class="fas fa-pause"></i>';},[mkplayer.MKPlayerEvent.Error]:(data)=>
762{if(eventState!=2){console.log('Error');console.error('Error during retry attempt:',data);currentTimeforResume=currentTimeforResume+1;var duration=player.getDuration();if(duration>currentTimeforResume){player.reload(undefined,{startOffset:currentTimeforResume});} 763else{player.reload();currentTimeLabel.textContent='00:00';seekBar.value=0;durationLabel.textContent=FormatSecondsIntoHHMMSS(duration);}} 764else{console.log('Error');var duration=player.getDuration();player.reload(undefined,{startOffset:duration});}},[mkplayer.MKPlayerEvent.Paused]:(data)=>{let isiOSDevice=(/iPad|iPhone|iPod/.test(navigator.userAgent)||(navigator.userAgent.includes('Macintosh')&&'ontouchend'in document))&&!window.MSStream;if(eventState==1&&isiOSDevice){$("#homeThreeTile_"+Id).removeClass("HomeCustomCurrentPlay"+Id);} 765playPauseBtn.innerHTML=`<button id="playPauseBtn`+Id+`" class="icon play-ppi-icon"><i class="fas fa-play"></i></button>`;playPauseBtnBottom.innerHTML=`<button id="playPauseBtnBottom`+Id+`" class="icon"><i class="fas fa-play"></i></button>`;},}};function UpdateUI(player){const duration=player.getDuration();durationLabel.textContent=FormatSecondsIntoHHMMSS(duration);const controlBar=document.querySelector("#video-container"+Id+" .controlbar");const FullWidthcontrolBar=document.querySelector("#video-container"+Id+".full-width");const FullScreecontrolBar=document.querySelector("#video-container"+Id+".full-screen");const midArrow=document.querySelector("#video-container"+Id+" .seekbar-container");const volumeControl=document.querySelector("#video-container"+Id+" .controlbar .volume-button.volume-up");const goLive=document.querySelector("#video-container"+Id+" .goLive-icon");const goLiveButton=document.getElementById("goLives"+Id);const castbuttons=document.getElementById("castButton"+Id);const pipBtns=document.getElementById("pipBtn"+Id);var vQ=player.getAvailableVideoQualities();populateQualityOptions(vQ);initializeCasting(Id);if(prerollSourceConfig.adType==="preroll"||eventState==1){prerollSourceConfig.adType="";controlBar.style.visibility='hidden';midArrow.style.visibility='hidden';goLive.style.visibility='hidden';castbuttons.style.visibility='hidden';pipBtns.style.visibility='hidden';} 766else if(eventState==2||eventState==1){bufferLoader.style.display='block';videoContainer.style.setProperty('filter','blur(1px)');player.play().then(()=>{bufferLoader.style.display='none';videoContainer.style.removeProperty('filter');goLive.style.visibility='initial';videoContainer.classList.remove('hide-seekbar');controlBar.style.visibility='initial';midArrow.style.visibility='initial';castbuttons.style.visibility='initial';pipBtns.style.visibility='initial';controlBar.style.width='94%';if(FullWidthcontrolBar!=null&&FullWidthcontrolBar!=""&&FullWidthcontrolBar!=undefined){controlBar.style.width='93.7%%';} 767if(FullScreecontrolBar!=null&&FullScreecontrolBar!=""&&FullScreecontrolBar!=undefined){controlBar.style.width='93.7%%';}}).catch(error=>{console.error("Playback error:",error);bufferLoader.style.display='none';});} 768else{bufferLoader.style.display='block';videoContainer.style.setProperty('filter','blur(1px)');player.play().then(()=>{bufferLoader.style.display='none';videoContainer.style.removeProperty('filter');videoContainer.classList.remove('hide-seekbar');controlBar.style.visibility='initial';midArrow.style.visibility='initial';castbuttons.style.visibility='initial';pipBtns.style.visibility='initial';controlBar.style.width='94%';if(FullWidthcontrolBar!=null&&FullWidthcontrolBar!=""&&FullWidthcontrolBar!=undefined){controlBar.style.width='97.7%';} 769if(FullScreecontrolBar!=null&&FullScreecontrolBar!=""&&FullScreecontrolBar!=undefined){controlBar.style.width='98.7%';}}).catch(error=>{console.error("Playback error:",error);bufferLoader.style.display='none';});} 770if(eventState!=2||prerollSourceConfig.adType==="preroll"){goLiveButton.disabled=true;} 771else{goLiveButton.disabled=false;} 772volumeControl.style.visibility='initial';} 773player=new mkplayer.MKPlayer(videoContainer,playerConfig);player.on(mkplayer.MKPlayerEvent.Ready,(event)=>{$("#video-container"+Id).addClass("open");});mainSourceConfig={title:"",description:"",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",hls:hlsUrl,dash:dashUrl,assetType:"live",};mainSourceConfigVod={title:"",description:"",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",hls:hlsUrl,dash:dashUrl,assetType:"vod",};prerollSourceConfig={title:"",description:"",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",hls:"https://westus2.av.mk.io/nspnwcdn-nspn-w/e91cbca5-041e-4682-a271-c580b06c5169/2025-PreRoll-Fall-6s.ism/manifest(format=m3u8-cmaf)",dash:"https://westus2.av.mk.io/nspnwcdn-nspn-w/e91cbca5-041e-4682-a271-c580b06c5169/2025-PreRoll-Fall-6s.ism/manifest(format=mpd-time-cmaf)",adType:'preroll'};function loadPrerollSource(){const mainSourceConfigToUse=eventState===3||eventState===1?mainSourceConfigVod:mainSourceConfig;var onPrerollEnded;
773if(eventState==1){player.load(mainSourceConfigToUse).then(()=>{console.log('mainSourceConfigToUse');player.play();});} 774else{player.load(prerollSourceConfig).then(()=>{const isiOS=(/iPad|iPhone|iPod/.test(navigator.userAgent)||(navigator.userAgent.includes('Macintosh')&&'ontouchend'in document))&&!window.MSStream;player.setVolume(playerVolume);if(playermuted){player.mute();} 775player.play();if(isiOS){onPrerollEnded=()=>{playermuted=player.isMuted();playerVolume=player.getVolume();player.load(mainSourceConfigToUse).then(()=>{if(playermuted){player.mute();} 776player.setVolume(playerVolume);player.play();}).catch((error)=>{console.error("Error loading the main source!",error);});const videoElement=player.getVideoElement();if(videoElement){videoElement.removeEventListener('ended',onPrerollEnded);}else{console.error("Video element is null after player reinitialization.");}};} 777else{onPrerollEnded=()=>{let playermuted=player.isMuted();playerVolume=player.getVolume();player.destroy();const playerMultiple=new mkplayer.MKPlayer(videoContainer,playerConfig);player=playerMultiple;player.load(mainSourceConfigToUse).then(()=>{if(playermuted){player.mute();} 778player.setVolume(playerVolume);player.play();}).catch((error)=>{console.error("Error loading the main source!",error);});const videoElement=player.getVideoElement();if(videoElement){videoElement.removeEventListener('ended',onPrerollEnded);}else{console.error("Video element is null after player reinitialization."+videoContainer.id);}};} 779const videoElement=player.getVideoElement();if(videoElement){videoElement.addEventListener('ended',onPrerollEnded);}else{console.error("Video element is null while adding the event listener.");}}).catch((error)=>{console.error("Error loading preroll source:",error);player.load(mainSourceConfigToUse).then(()=>{player.play();console.log("Main source loaded as fallback!");}).catch((mainError)=>{console.error("Error loading fallback main source:",mainError);});});}} 780loadPrerollSource();function loadMedia(){const castContext=cast.framework.CastContext.getInstance();let session=castContext.getCurrentSession();if(session){loadMediaToSession(session);}else{castContext.requestSession().then(newSession=>{session=newSession;loadMediaToSession(session);}).catch(error=>{console.error('Error starting session:',error);});}} 781function loadMediaToSession(session){const dashMediaInfo=new chrome.cast.media.MediaInfo(dashUrl,'application/dash+xml');const hlsMediaInfo=new chrome.cast.media.MediaInfo(hlsUrl,'application/x-mpegurl');const loadRequest=new chrome.cast.media.LoadRequest(dashMediaInfo);session.loadMedia(loadRequest).then(()=>{console.log('Media loaded successfully.');}).catch((error)=>{console.error('Error loading media:',error);});} 782function CastButton(){const context=cast.framework.CastContext.getInstance();if(context){initializeCastApi(Id);context.requestSession().then(session=>{console.log('Session started:',session);loadMedia();}).catch(error=>{console.error('Error requesting session:',error);if(error.code){switch(error.code){case chrome.cast.ErrorCode.CANCEL:console.error('Session request was cancelled.');break;case chrome.cast.ErrorCode.FAILED:console.error('Session request failed.');break;case chrome.cast.ErrorCode.EXTENSION_NOT_INSTALLED:console.error('Cast extension is not installed.');break;default:console.error('Unknown error occurred:',error);}}});}else{console.error('CastContext is not available.');}} 783if('pictureInPictureEnabled'in document){pipBtn.addEventListener('click',()=>{if(document.pictureInPictureElement){document.exitPictureInPicture();}else{const elementId="bitmovinplayer-video-video-container"+Id;const elements=document.querySelectorAll(`[id="${elementId}"]`);if(elements.length>1){elements[0].parentNode.removeChild(elements[0]);} 784const video=document.getElementById("bitmovinplayer-video-video-container"+Id) 785if(video){video.requestPictureInPicture().catch(error=>{console.error('Failed to enter Picture-in-Picture mode:',error);});}else{console.error('No video element found');}}});}else{console.error('Picture-in-Picture is not supported by this browser');pipBtn.disabled=true;} 786function jumpForward(){showBufferingIndicator(true);isseeked=true;if(eventState==1||eventState==2){let duration=player.getDuration();if(duration<=0)return;if(player.getTimeShift()<-11){let currentTime=player.getCurrentTime();let seektime=Math.max(currentTime+10,0);player.seek(seektime);player.play();} 787else{currentTimeLabel.textContent="🔴 Live";player.seekToLiveEdge();player.play();}} 788else{player.seek(player.getCurrentTime()+10);player.play();} 789player.on('seeked',()=>{player.play();showBufferingIndicator(false);},{once:true});} 790function jumpBack(){showBufferingIndicator(true);if(eventState==1||eventState==2){let duration=player.getDuration();if(currentTimeLabel.textContent!="🔴 Live"){let currentTime=player.getCurrentTime();let seektime=Math.max(currentTime-10,0);player.seek(seektime);player.play();} 791else{let currentTime=player.getCurrentTime();let seektime=Math.max(currentTime-10,0);player.seek(seektime);player.play();}} 792else{var currenttimenewr=player.getCurrentTime();player.seek(currenttimenewr-10);player.play();} 793player.on('seeked',()=>{player.play();showBufferingIndicator(false);},{once:true});} 794function populateQualityOptions(levels){qualityOptions.innerHTML='';const autoOption=document.createElement('li');autoOption.textContent='Auto';autoOption.dataset.value='auto';autoOption.classList.add('quality-option');autoOption.classList.add('quality-option');qualityOptions.appendChild(autoOption);
794levels.forEach((level)=>{const option=document.createElement('li');option.textContent=`${level.height}p`;option.dataset.value=level.id;option.classList.add('quality-option');qualityOptions.appendChild(option);});const options=qualityOptions.querySelectorAll('.quality-option');options.forEach(option=>{option.addEventListener('click',function(){const selectedQuality=this.dataset.value;document.querySelectorAll('.quality-option').forEach(li=>li.classList.remove('isActive'));this.classList.add('isActive');if(selectedQuality==='auto'){$('.quality-option').removeClass('check-others').addClass('check-auto');player.setVideoQualityAuto();}else{$('.quality-option').removeClass('check-auto').addClass('check-others');player.setVideoQuality(selectedQuality);} 795qualityOptions.style.display='none';});});} 796function FormatSecondsIntoHHMMSS(seconds){let sign=seconds<0?"-":"";seconds=Math.abs(seconds);let hrs=Math.floor(seconds/3600);let mins=Math.floor((seconds%3600)/60);let secs=Math.floor(seconds%60);return(sign+ 797(hrs<10?"0":"")+hrs+":"+ 798(mins<10?"0":"")+mins+":"+ 799(secs<10?"0":"")+secs);} 800function PlayPauseBtn(){if(player.isPlaying()){player.pause();}else{player.play();}} 801function SettingsBtn(event){const isDropdownVisible=qualityOptions.style.display==='block';qualityOptions.style.display=isDropdownVisible?'none':'block';event.stopPropagation();} 802document.addEventListener('click',(event)=>{if(!settingsBtn.contains(event.target)&&!qualityOptions.contains(event.target)){qualityOptions.style.display='none';}});function MuteBtn(){if(player.isMuted()){volumeSlider.value=player.getVolume();player.unmute();muteBtn.innerHTML='<i class="fas fa-volume-up"></i>';} 803else{muteBtn.innerHTML='<i class="fas fa-volume-mute"></i>';player.mute();volumeSlider.value=0;}} 804function handleVolumeChange(event){event.preventDefault();if(volumeSlider.value==0){player.setVolume(volumeSlider.value);player.mute();muteBtn.innerHTML='<i class="fas fa-volume-mute"></i>';} 805else{player.setVolume(volumeSlider.value);player.unmute();muteBtn.innerHTML='<i class="fas fa-volume-up"></i>';}} 806function debounce(func,wait){let timeout;return function(...args){clearTimeout(timeout);timeout=setTimeout(()=>func.apply(this,args),wait);};} 807const seekVideo=(event)=>{event.preventDefault();const duration=player.getDuration();const rect=seekBar.getBoundingClientRect();seekBar.step=0.01;const seekOffset=((event.clientX||event.touches[0].clientX)-rect.left)/rect.width*duration;seekBar.step=0.01;if(eventState==2){const seekTimes=seekOffset-player.getDuration();currentTimeLabel.textContent=FormatSecondsIntoHHMMSS(seekTimes);} 808else{currentTimeLabel.textContent=FormatSecondsIntoHHMMSS(seekOffset);} 809showBufferingIndicator(true);player.seek(seekOffset);const onSeeked=()=>{showBufferingIndicator(false);player.off('seeked',onSeeked);player.play();};player.on('seeked',onSeeked);if(eventState===1||eventState===2){player.play();}};const debouncedSeek=debounce(seekVideo,100);seekBar.addEventListener("pointerdown",debouncedSeek);seekBar.addEventListener("click",debounce(seekVideo,100));seekBar.addEventListener("pointerup",debouncedSeek);function showBufferingIndicator(isBuffering){if(bufferLoader){bufferLoader.style.display=isBuffering?'block':'none';} 810if(videoContainer){videoContainer.style.setProperty('filter',isBuffering?'blur(1px)':'none');}} 811seekBar.addEventListener('mousemove',(e)=>{const duration=player.getDuration();const rect=seekBar.getBoundingClientRect();seekBar.step=0.01;const seekTime=((e.clientX||e.touches[0].clientX)-rect.left)/rect.width*duration;seekBarTooltip.style.left=`${e.clientX - rect.left}px`;if(player.isLive()){const seekTimes=seekTime-duration;seekBarTooltip.textContent=FormatSecondsIntoHHMMSS(seekTimes);seekBarTooltip.style.display='block';} 812else{seekBarTooltip.textContent=FormatSecondsIntoHHMMSS(seekTime);seekBarTooltip.style.display='block';}});seekBar.addEventListener("mouseleave",()=>{seekBarTooltip.style.display='none';});seekBar.addEventListener("mouseenter",()=>{seekBarTooltip.style.display='block';});function GoLive(){showBufferingIndicator(true);currentTimeLabel.textContent='🔴 Live';var currentDurationofLive=player.getDuration();seekBar.value=100;player.seekToLiveEdge();player.on('seeked',()=>{player.play();showBufferingIndicator(false);},{once:true});} 813connection.on("GetReceiveMessa"+Id,(CheckFeedUrls,PostId)=>{if(Id==PostId){let CheckFeedUrl=CheckFeedUrls.split("/manifest")[0];var feedhlsUrl=CheckFeedUrl;var feedDashUrl=CheckFeedUrl;if(CheckFeedUrls.includes("filter")){var feedhlsUrl=feedhlsUrl+"/manifest(format=m3u8-cmaf,filter=playback)";var feedDashUrl=feedDashUrl+"/manifest(format=mpd-time-cmaf,filter=playback)";} 814else{var feedhlsUrl=feedhlsUrl+"/manifest(format=m3u8-cmaf,filter=live)";var feedDashUrl=feedDashUrl+"/manifest(format=mpd-time-cmaf,filter=live)";} 815mainSourceConfig={title:"",description:"",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",hls:feedhlsUrl,dash:feedDashUrl,assetType:"vod",};console.log(mainSourceConfig,"mainSourceConfig") 816var container=document.getElementById("video-container"+PostId);if(container){var liveElement=document.getElementById('live'+PostId);if(liveElement){liveElement.style.display='block';}} 817let prerollSourceConfiguration={title:"",description:"",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",hls:"https://westus2.av.mk.io/nspnwcdn-nspn-w/e91cbca5-041e-4682-a271-c580b06c5169/2025-PreRoll-Fall-6s.ism/manifest(format=m3u8-cmaf)",dash:"https://westus2.av.mk.io/nspnwcdn-nspn-w/e91cbca5-041e-4682-a271-c580b06c5169/2025-PreRoll-Fall-6s.ism/manifest(format=mpd-time-cmaf)",adType:mkplayer.MKAdType.Preroll};if(($("div").hasClass("CustomCurrentPlay"+PostId))||($("div").hasClass("HomeCustomCurrentPlay"+PostId))){prerollSourceConfig.adType='preroll';const isiOSDevices=(/iPad|iPhone|iPod/.test(navigator.userAgent)||(navigator.userAgent.includes('Macintosh')&&'ontouchend'in document))&&!window.MSStream;if(isiOSDevices){let onPrerollEndeds;let ismutesonprelive=player.isMuted();player.load(prerollSourceConfig).then(()=>
817{if(ismutesonprelive){player.mute();} 818else{player.unmute();} 819player.play();onPrerollEndeds=()=>{eventState=2;player.load(mainSourceConfig).then(()=>{player.seekToLiveEdge();player.on('seeked',()=>{player.play();showBufferingIndicator(false);},{once:true});}).catch((error)=>{console.error("Error loading the main source!",error);});const videoElement=player.getVideoElement();if(videoElement){videoElement.removeEventListener('ended',onPrerollEndeds);}else{console.error("Video element is null after player reinitialization.");}};const videoElement=player.getVideoElement();if(videoElement){videoElement.addEventListener('ended',onPrerollEndeds);}else{console.error("Video element is null while adding the event listener.");}}).catch((error)=>{console.error("Error loading preroll source:");});} 820else{eventState=2;playerVolume=player.getVolume();playermuted=player.isMuted();player=new mkplayer.MKPlayer(container,playerConfig);loadPrerollSource();}} 821else{if(window.location.pathname.toLowerCase().includes('gamestream')&&eventState==1){prerollSourceConfig.adType='preroll';eventState=2;player=new mkplayer.MKPlayer(container,playerConfig);loadPrerollSource();} 822else if(eventState==1){eventState=2;GetStreamEndContent(PostId,"HomePage","Massage","GetReceiveMessage");}}}});} 823function fullscreenBtns(screen,Id){const fullscreenButton=document.getElementById('fullscreenBtns'+Id);const fullWidthscreenBtns=document.getElementById('fullWidthscreenBtns'+Id);const videoContainer=document.getElementById('video-container'+Id);const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;const isiOS=(/iPad|iPhone|iPod/.test(navigator.userAgent)||(navigator.userAgent.includes('Macintosh')&&'ontouchend'in document))&&!window.MSStream;function hideIcons(){if(isFullScreen){videoContainer.classList.remove('open');}} 824function showIcons(){if(isFullScreen){videoContainer.classList.add('open');}} 825function resetInactivityTimeout(){if(isFullScreen){showIcons();clearTimeout(inactivityTimeout);inactivityTimeout=setTimeout(hideIcons,5000);}} 826function exitHandler(event){if(!document.fullscreenElement&&!document.webkitIsFullScreen&&!document.mozFullScreen&&!document.msFullscreenElement){const qualityItems=document.querySelectorAll('.quality-dropdown li');qualityItems.forEach(item=>{item.style.fontSize='15px';});$(".quality-dropdown").css("width","90px");if(isMobileScreen||isIpadScreen){$("#video-container"+Id).removeClass("full-width full-screen").addClass("open");}else{if(videoContainer.classList.contains('normal-screen')){$("#video-container"+Id).removeClass("full-width full-screen").addClass("normal-screen");fullscreenButton.innerHTML='<i class="fas fa-expand"></i>';}else{$("#video-container"+Id).removeClass("full-screen").addClass("full-width");fullscreenButton.innerHTML='<i class="fas fa-expand"></i>';}}}} 827if(document.fullscreenElement){document.exitFullscreen().then(()=>{if(isLandscapeAndroidPhone()){videoContainer.classList.remove('video-container-Fullwidth');const videoElement=videoContainer.querySelector('video');videoElement.classList.remove('video-container-RemoveHieght');} 828if(isiOS){fullscreenButton.innerHTML='<i class="fas fa-expand"></i>';} 829if(isMobileScreen||isIpadScreen){$("#video-container"+Id).removeClass("full-width");}else if(screen=="fullWidth"&&isMobileScreen!=true){$("#video-container"+Id).removeClass("full-screen");$("#video-container"+Id).removeClass("normal-screen ");$("#video-container"+Id).addClass("full-width");}else{$("#video-container"+Id).removeClass("full-screen");$("#video-container"+Id).addClass("normal-screen");} 830fullscreenButton.innerHTML='<i class="fas fa-expand"></i>';isFullScreen=false;document.removeEventListener('mousemove',resetInactivityTimeout);document.removeEventListener('keypress',resetInactivityTimeout);document.removeEventListener('click',resetInactivityTimeout);document.removeEventListener('touchstart',resetInactivityTimeout);document.removeEventListener('fullscreenchange',exitHandler);document.removeEventListener('webkitfullscreenchange',exitHandler);document.removeEventListener('mozfullscreenchange',exitHandler);document.removeEventListener('MSFullscreenChange',exitHandler);clearTimeout(inactivityTimeout);}).catch((err)=>{console.error(`Error attempting to exit fullscreen: ${err.message} (${err.name})`);});if(document.webkitExitFullscreen){document.webkitExitFullscreen();}else if(document.msExitFullscreen){document.msExitFullscreen();}}else{if(isiOS){const videoElement=videoContainer.querySelector('video');if(videoElement&&typeof videoElement.webkitEnterFullscreen==='function'){videoElement.webkitEnterFullscreen();if(isiOS){} 831isFullScreen=true;const qualityItems=document.querySelectorAll('.quality-dropdown li');
831qualityItems.forEach(item=>{item.style.fontSize='25px';});$(".quality-dropdown").css("width","130px");fullscreenButton.innerHTML='<i class="fas fa-expand"></i>';}else{console.error("Fullscreen is not supported on this iOS version.");}}else{if(isLandscapeAndroidPhone()){console.log('go in full screen');videoContainer.classList.add('video-container-Fullwidth');const videoElement=videoContainer.querySelector('video');videoElement.classList.add('video-container-RemoveHieght');} 832const qualityItems=document.querySelectorAll('.quality-dropdown li');qualityItems.forEach(item=>{item.style.fontSize='25px';});$(".quality-dropdown").css("width","130px");videoContainer.requestFullscreen().then(()=>{if(isMobileScreen||isIpadScreen){$("#video-container"+Id).removeClass("full-screen");$("#video-container"+Id).removeClass("full-width");}else{$("#video-container"+Id).addClass("full-screen");$("#video-container"+Id).removeClass("full-width");} 833fullscreenButton.innerHTML='<i class="fas fa-compress"></i>';isFullScreen=true;document.addEventListener('mousemove',resetInactivityTimeout);document.addEventListener('keypress',resetInactivityTimeout);document.addEventListener('click',resetInactivityTimeout);document.addEventListener('touchstart',resetInactivityTimeout);document.addEventListener('fullscreenchange',exitHandler);document.addEventListener('webkitfullscreenchange',exitHandler);document.addEventListener('mozfullscreenchange',exitHandler);document.addEventListener('MSFullscreenChange',exitHandler);resetInactivityTimeout();}).catch((err)=>{console.error(`Error attempting to enter fullscreen: ${err.message} (${err.name})`);});}}} 834function isLandscapeAndroidPhone(){const isAndroid=/Android/i.test(navigator.userAgent);return isAndroid} 835function initializeCasting(Id){const userAgent=navigator.userAgent;const isChrome=userAgent.includes("Chrome")&&!userAgent.includes("Edge")&&!userAgent.includes("OPR")&&!userAgent.includes("Edg");const isSafari=userAgent.includes("Safari")&&!userAgent.includes("Chrome")&&!userAgent.includes("Chromium");if(isChrome){console.log("Initializing Chromecast...");window['__onGCastApiAvailable']=function(isAvailable){if(isAvailable){initializeAirPlay(Id);initializeCastApi(Id);}else{console.error("Chromecast SDK is not available.");}};}else if(isSafari){console.log("Initializing AirPlay...");initializeAirPlay(Id);}else{console.warn("Casting is only supported in Chrome for Chromecast or Safari for AirPlay.");}} 836function initializeCastApi(Id){const context=cast.framework.CastContext.getInstance();context.setOptions({receiverApplicationId:chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,autoJoinPolicy:chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED});} 837function initializeAirPlay(Id){const videoElement=document.getElementById("bitmovinplayer-video-video-container"+Id) 838if(videoElement&&typeof videoElement.webkitShowPlaybackTargetPicker==='function'){videoElement.addEventListener('webkitplaybacktargetavailabilitychanged',event=>{if(event.availability==='available'){document.getElementById('airplayButton'+Id).style.display='block';document.getElementById('castButton'+Id).style.display='none';}});document.getElementById('airplayButton'+Id).addEventListener('click',()=>{videoElement.webkitShowPlaybackTargetPicker();});}else{console.warn("AirPlay is not supported in your browser.");}} 839function PlayShowFWV(playerid,feedurl,posterImage,image,button,Id){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){feedurl=data+"/manifest";var userName="";var count=0;if('False'){var firstName=$("#hdnUserFirstName").val();var lastName=$("#hdnUserLastName").val();if(firstName!=null&&firstName!=""&&firstName!=undefined) 840userName=firstName+" "+lastName;} 841var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);if(buttonHighlightFeedId.text()==""||buttonHighlightFeedId.is(':visible')){buttonHighlightFeedId.hide();buttonFeedId.show();} 842else{buttonHighlightFeedId.show();buttonFeedId.hide();} 843$('#'+image).hide();$('#'+button).hide();var source={src:feedurl,type:"application/vnd.ms-sstr+xml"};var myOptions={"nativeControlsForTouch":false,autoplay:true,controls:true,width:"898",height:"505.125",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",logo:{"enabled":false},plugins:{ga:{'eventLabel':feedurl+" "+userName,'eventsToTrack':['playerConfig','loaded','playT
843ime','percentsPlayed','start','end','play','pause','error','buffering','fullscreen','seek','bitrate'],'debug':false}},ampAds:{preRoll:{sourceUri:'/images/Advertisement_XMLFile2.xml',options:{skipAd:{enabled:false,offset:10}}},mainProgram:{source:source,}}};var PlayerObj=amp(playerid,myOptions);PlayerObj.addEventListener('playing',function(){console.log("playing");console.log(this.id_);$("#gameStreamFWV_"+Id).addClass("Livevideoplaying"+Id);if(window.matchMedia("(max-width: 1024px)").matches){if(count==0){$("#"+this.id_+" .vjs-progress-control").hide();count=count+1;}} 844document.getElementById("techIssue"+Id).style.display='none';document.getElementById("urlNotFound"+Id).style.display='none';});PlayerObj.addEventListener('ended',function(){console.log('Video Finished!');if(count>0){$("#"+this.id_+" .vjs-progress-control").show();}});PlayerObj.addEventListener('error',function(){if(PlayerObj.error().code&.errorCode.abortedErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("1");} 845else if(PlayerObj.error().code&.errorCode.networkErrHttpUrlNotFound){console.log("2.1");document.getElementById("techIssue"+Id).style.display='block';refreshTimer=setInterval("GetNewFeedforTechIssue("+Id+")",timeInterval);} 846else if(PlayerObj.error().code&.errorCode.networkErrTimeout){console.log("2.2");document.getElementById("techIssue"+Id).style.display='block';refreshTimer=setInterval("GetNewFeedforTechIssue("+Id+")",timeInterval);} 847else if(PlayerObj.error().code&.errorCode.networkErrStart){console.log("2");document.getElementById("techIssue"+Id).style.display='block';refreshTimer=setInterval("GetNewFeedforTechIssue("+Id+")",timeInterval);} 848else if(PlayerObj.error().code&.errorCode.decodeErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("3");} 849else if(PlayerObj.error().code&.errorCode.srcErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("4");} 850else if(PlayerObj.error().code&.errorCode.encryptErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("5");} 851else if(PlayerObj.error().code&.errorCode.srcPlayerMismatchStart){document.getElementById("techIssue"+Id).style.display='block';console.log("6");} 852else{document.getElementById("techIssue"+Id).style.display='block';console.log("7");}});var eventDurInSec=0;PlayerObj.addEventListener('loadeddata',function(){eventDurInSec=parseInt(PlayerObj.duration());});var setTimeForEvent=GetStartTimeForEvent("GAMESTREAM");if(parseInt(setTimeForEvent)>0){PlayerObj.addEventListener(amp.eventName.play,function(){if(eventDurInSec>setTimeForEvent){PlayerObj.currentTime(parseInt(setTimeForEvent));}});} 853Three_Col_Players.push(PlayerObj);},});} 854function GetStartTimeForEvent(pageName){var timeInSeconds=0;var location=window.location.href;if(location!=null||location!=""){var urlSegments=location.split('/');for(var i in urlSegments){if(urlSegments[i].toString().toUpperCase()==pageName.toUpperCase()){var startTime=(urlSegments[urlSegments.length-1]).toString().split(':');if(startTime.length==3){for(var i=0;i<startTime.length;i++){if(isInt(startTime[i])){switch(i){case 0:{timeInSeconds=timeInSeconds+(parseInt(startTime[i])*3600);break;} 855case 1:{timeInSeconds=timeInSeconds+(parseInt(startTime[i])*60);break;} 856case 2:{timeInSeconds=timeInSeconds+parseInt(startTime[i]);break;} 857default:{break;}}} 858else{timeInSeconds=0;return timeInSeconds;}}}}}} 859return timeInSeconds;} 860function isInt(value){return!isNaN(value)&&parseInt(Number(value))==value&&!isNaN(parseInt(value,10));} 861function GetNewFeedforTechIssue(Id){$.each(liveRequest,function(key,value){if(typeof(this)!='undefined') 862this.abort();});var urlservice="/AjaxRequest/Ajax/GetNewFeedforTechIssue";var ajaxRequest=$.ajax({type:"GET",url:urlservice+"/?PostId="+Id,dataType:"json",data:"",contentType:"application/json; charset=utf-8",success:function(data){if(data!=null){if(data[0].PublicPubpoint!=""&&data[0].CompId!=""){var Id='colVideoPlayer'+data[0].PostId;var feedurl=data[0].PublicPubpoint;var obj=Three_Col_Players.filter(function(obj){return obj.id_==Id;})[0];obj.src([{"src":feedurl,"type":"application/vnd.ms-sstr+xml"}]);clearInterval(refreshTimer);document.getElementById("techIssue"+data[0].PostId).style.display='none';document.getElementById("urlNotFound"+data[0].PostId).style.display='none';}}},error:function(response){clearInterval(refreshTimer);},failure:function(response){}});liveRequest.push(ajaxRequest);} 863function PurchaseVideo(Id){var container=$("#PlayEpisodeSection");$.get("/Payment/PaymentHome/",{PostId:Id},function(data){container.html(data);$('.bxslider').bxSlider({minSlides:2,maxSlides:4,slideWidth:220,slideMargin:10});$('.bxsliderTwo').bxSlider({adaptiveHeight:true,mode:'fade'});});} 864function PlaySpotlightShow(playerid,feedurl,posterImage,image,button,episodeid){$('#'+image).hide();$('#'+button).hide();var myOptions={techOrder:["flashSS","azureHtml5JS","html5","silverlightSS"],"nativeControlsForTouch":false,autoplay:true,controls:true,width:"898",height:"505.125",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",logo:{"enabled":false}};
864var objplayer=amp(playerid,myOptions);var eventDurInSec=0;objplayer.addEventListener('loadeddata',function(){eventDurInSec=parseInt(objplayer.duration());});var setTimeForEvent=GetStartTimeForEvent("YEARBOOKSHOW");if(parseInt(setTimeForEvent)<=0){setTimeForEvent=GetStartTimeForEvent("SPOTLIGHTSHOW");} 865if(parseInt(setTimeForEvent)>0){objplayer.addEventListener(amp.eventName.play,function(){if(eventDurInSec>setTimeForEvent){objplayer.currentTime(parseInt(setTimeForEvent));}});} 866objplayer.src([{"src":feedurl,"type":"application/vnd.ms-sstr+xml"}]);Prep_Spotlight_Players.push(objplayer);} 867function PlaySegments(subTime,EposideId){var Id='VideoPlayer'+EposideId;var obj=Prep_Spotlight_Players.filter(function(obj){return obj.id_==Id;})[0];if(obj==undefined){document.getElementById('Button'+EposideId).click();setTimeout(function(){obj=Prep_Spotlight_Players.filter(function(obj){return obj.id_==Id;})[0];obj.currentTime(TimeInSec(subTime));},4000);} 868else{obj=Prep_Spotlight_Players.filter(function(obj){return obj.id_==Id;})[0];obj.currentTime(TimeInSec(subTime));}} 869function TimeInSec(time){var timeinsec=parseFloat(time);timeinsec=timeinsec/10000000;return timeinsec} 870function Set_Cookie(name,value,expires,path,domain,secure){expires=expires*60*60*24*1000;var today=new Date();var expires_date=new Date(today.getTime()+(expires));var cookieString=name+"="+escape(value)+ 871((expires)?";expires="+expires_date.toGMTString():"")+ 872((path)?";path="+path:"")+ 873((domain)?";domain="+domain:"")+ 874((secure)?";secure":"");document.cookie=cookieString;} 875function Get_Cookie(cname){var name=cname+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1);} 876if(c.indexOf(name)==0){return c.substring(name.length,c.length);}} 877return"";}</script>
877<script src=/js/SignalR.js></script>
877<script>var purchasedDetails;var subscriptionDetails;const connection=new signalR.HubConnectionBuilder().withUrl("/chat").build();connection.serverTimeoutInMilliseconds=600000;async function start(){try{await connection.start();console.log("SignalR Connected.");}catch(err){console.log(err);setTimeout(()=>start(),5000);}};connection.onclose(async()=>{await start();});start();connection.on("GetReceiveMessageStaging",(PostId)=>{console.log('GetReceiveMessage',PostId);if(($("div").hasClass("CustomCurrentPlay"+PostId))||($("div").hasClass("HomeCustomCurrentPlay"+PostId))){} 878else if(!($("div").hasClass("PlayingLiveEvent"+PostId))){if(window.location.pathname.toLowerCase().includes('gamestream')||window.location.pathname.toLowerCase().includes('mediaplayer')){console.log('if started');if(window.location.pathname.toLowerCase().includes('gamestream')){const container=document.querySelector('#post_'+PostId+' .video-big-box.video-small-box');if(container){const firstImg=container.querySelector('img.big-thumb');const anchor=container.querySelector('a');const secondImg=anchor?anchor.querySelector('img.small-thumb-overlay'):null;const newDiv=document.createElement('div');const newAnchor=document.createElement('a');newAnchor.href=anchor?.href||'#';const liveSpan=document.createElement('span');liveSpan.textContent='Live';newAnchor.appendChild(liveSpan);firstImg.className='';if(firstImg){const img1=firstImg.cloneNode(true);newAnchor.appendChild(img1);} 879if(secondImg){const img2=secondImg.cloneNode(true);newAnchor.appendChild(img2);}else{const fallbackImg=document.createElement('img');fallbackImg.className='samll-thumb-overlay';fallbackImg.src='//ssmstorage.blob.core.windows.net/ssmtvassets/WatchNow-Purchase.png';fallbackImg.alt='';newAnchor.appendChild(fallbackImg);} 880newDiv.appendChild(newAnchor);console.log(newDiv.outerHTML);container.innerHTML='';container.appendChild(newDiv);container.className='';}} 881else{GetStreamEndContent(PostId,"GameStreamPage","Message",'GetReceiveMessage');} 882console.log('if ended');} 883else{console.log('else started');GetStreamEndContent(PostId,"HomePage","Message",'GetReceiveMessage');console.log('else ended');}}});connection.on("ReceiveMessage",(user,message)=>{if(user!=null){if('False'&&''==user){$.ajax({url:"/LeagueHome/LogOut1stLogin",datatype:"json",type:"POST",data:{"userId":user},success:function(data){if(data!=null){if(data!=='undefined'&&data!==''&&data!==null){if(data.message!==undefined&&data.message!==''&&data.message!==null){location.href="https://prepspotlight-tv-testing.azurewebsites.net/LeagueHome/UserSIgnOut/"+data.message;}}}},error:function(err){}});}}});function createGameStreamEventHtml(liveNow,isPurchased,isSubscription,checkFeedURL){let livNowPostId=liveNow.livNowPostId;isPurchased=$("#IsPurchased_"+livNowPostId+"").val();isSubscription=$("#IsSubscriptionPurchased_"+livNowPostId+"").val();if(livNowPostId){let eventPostDiv=$("#EventPost_"+livNowPostId);let includedInSubscription=liveNow.includedInSubscription;let isSubscriptionPurchased=isSubscription;let livNowEventTime=liveNow.livNowEventTime;let liveFeedUrl=liveNow.liveFeedUrl;let liveNowEventDate=liveNow.liveNowEventDate;let liveNowEventName=liveNow.liveNowEventName;let liveNowEventState=liveNow.liveNowEventState;let liveNowIsPurchased=isPurchased;let liveNowPrice=liveNow.liveNowPrice;let liveNowShowDateTime=liveNow.liveNowShowDateTime;let liveNowSportDetail=liveNow.liveNowSportDetail;let liveNowThumbnailImagePath=liveNow.liveNowThumbnailImagePath;let liveNowshowUrl=liveNow.liveNowshowUrl;let IsAuthenticated='False';IsAuthenticated=IsAuthenticated.toLowerCase();let dynamicHtmlContent='';if(liveNowEventState==1){dynamicHtmlContent=`<div class="large-4 medium-6 small-12 column thumb
883-box" id="post_`+livNowPostId+`"> 884 885 <div class="video-big-box video-small-box">`;if(liveNowIsPurchased){if(IsAuthenticated!="false"){dynamicHtmlContent+=`<img id="colImage`+livNowPostId+`" class="big-thumb" src="`+liveNowThumbnailImagePath+`" alt=""> 886 887 <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/EventNotStarted.png" alt="">`;} 888else{dynamicHtmlContent+=`<img id="colImage`+livNowPostId+`" class="big-thumb" src="`+liveNowThumbnailImagePath+`" alt=""> 889 890 <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png" alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'">`;}} 891else{if(includedInSubscription==false){dynamicHtmlContent+=`<img id="colImage`+livNowPostId+`" class="big-thumb" src="`+liveNowThumbnailImagePath+`" alt="" /> 892 893 <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/ClickToBuyNow.png" alt="" onclick="CheckAndRedirect(`+livNowPostId+`)" />`;} 894else{if(liveNowIsPurchased){dynamicHtmlContent+=`<img id="colImage`+livNowPostId+`" class="big-thumb" src="`+liveNowThumbnailImagePath+`" alt=""> 895 896 <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/EventNotStarted.png" alt="">`;} 897else{dynamicHtmlContent+=`<img id="colImage`+livNowPostId+`" class="big-thumb" src="`+liveNowThumbnailImagePath+`" alt="" /> 898 899 <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png" alt="" onclick="document.location='/MSHSL/Subscription'" />`;}}} 900dynamicHtmlContent+=`</div> 901 902 <h3> 903 904 <b>`+livNowPostId+`</b> 905 906 <p class="event-date"> 907 908 `+liveNowEventDate+` <span style="margin-left:11%">
908`+livNowEventTime+`</span><span class="fr">`+liveNowSportDetail+`</span> 909 910 <span class="clr"></span> 911 912 </p> 913 914 </h3> 915 916 </div>`;} 917else{dynamicHtmlContent+=`<div class="large-4 medium-6 small-12 column thumb
917-box" id="post_`+livNowPostId+`"> 918 919 <div onclick="CheckDisabledOrNotLiveById(`+livNowPostId+`)"> 920 921 <div id="GameStreamLiveVideoTile`+livNowPostId+`">`;if(liveNowIsPurchased){if(liveNowPrice.toString()=="0"||liveNowPrice.toString()=="0.00"){if(IsAuthenticated!="false"){dynamicHtmlContent+=`<a href="liveNowshowUrl"> 922 923 <span>LIVE</span> 924 925 <img src="`+liveNowThumbnailImagePath+`" alt=""> 926 927 <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/WatchNow-Free.png" alt=""> 928 929 </a>`;} 930else{dynamicHtmlContent+=`<a href="javascript:ChangeButtonNew(`+livNowPostId+`)"> 931 932 <span>LIVE</span> 933 934 <img src="`+liveNowThumbnailImagePath+`" alt=""> 935 936 <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png" alt=""> 937 938 </a>`;}} 939else{if(includedInSubscription==false){dynamicHtmlContent+=` <a href="liveNowshowUrl"> 940 941 <sp
941an>LIVE</span> 942 943 <img src="`+liveNowThumbnailImagePath+`" alt=""> 944 945 <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/WatchNow-Purchase.png" alt=""> 946 947 </a>`;} 948else{if(isSubscriptionPurchased=="True"){dynamicHtmlContent+=` <a href="liveNowshowUrl"> 949 950 <span>LIVE</span> 951 952 <img src="`+liveNowThumbnailImagePath+`" alt=""> 953 954 <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/WatchNow-Subscription.png" alt=""> 955 956 </a>`;} 957else{dynamicHtmlContent+=`<a href="/MSHSL/Subscription"> 958 959 <img src="`+liveNowThumbnailImagePath+`" alt=""> 960 961 <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png" alt=""> 962 963 </a>`;}}}} 964else{if(includedInSubscription==false){dynamicHtmlContent+=`<a onclick="CheckAndRedirect(`+livNowPostId+`)"> 965 966 <img src="`+liveNowThumbnailImagePath+`" alt=""> 967 968 <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/ClickToBuyNow.png" alt=""> 969 970 </a>`;} 971else{if(isSubscriptionPurchased=="True"){dynamicHtmlContent+=` <a href="liveNowshowUrl"> 972 973 <sp
973an>LIVE</span> 974 975 <img src="`+liveNowThumbnailImagePath+`" alt=""> 976 977 <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/WatchNow-Subscription.png" alt=""> 978 979 </a>`;} 980else{dynamicHtmlContent+=`<a href="/MSHSL/Subscription"> 981 982 <img src="liveNowThumbnailImagePath" alt=""> 983 984 <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png" alt=""> 985 986 </a>`;}}} 987dynamicHtmlContent+=` <h3> 988 989 <b>`+liveNowEventName+`</b> 990 991 <p class="event-date"> 992 993 `+liveNowEventDate+` <span style="margin-left:11%">
993`+livNowEventTime+`</span><span class="fr">`+liveNowSportDetail+`</span> 994 995 <span class="clr"></span> 996 997 </p> 998 999 </h3> 1000 1001 </div> 1002 1003 </div> 1004 1005 </div>`} 1006eventPostDiv.html(dynamicHtmlContent);}} 1007function GetStreamEndContent(Id,PageName,Massage,from){$.ajax({url:"/Ajax/GetViewComponentHtml",type:"GET",data:{PostId:Id,pathname:window.location.pathname,pageName:PageName,offsetTimezone:new Date().getTimezoneOffset(),fromName:from},success:function(data){console.log(data);if(window.location.pathname.toLowerCase().includes('gamestream')&&from=='GetReceiveMessage'){$('gameStreamFWV'+Id).html(data);} 1008if(window.location.pathname.toLowerCase().includes('gamestream')){$('EventPost_'+Id).html(data);} 1009else if(window.location.pathname.toLowerCase().includes('mediaplayer')){$('#gameStreamFWV_'+Id).html(data);} 1010else{$('#homeThreeTile_'+Id).html(data);}},error:function(){}});}</script>
1010<style>.amp-logo{opacity:0;display:none}.amp-tube-skin .vjs-controls-disabled .vjs-control-bar,.amp-tube-skin .vjs-using-native-controls .vjs-control-bar,.amp-tube-skin .vjs-error .vjs-control-bar{opacity:1 !important;visibility:visible !important}.azuremediaplayer .vjs-player:last-child .vjs-progress-control{display:none}.vjs-controls-enabled vjs-player vjs-workinghover amp-touch-enabled vjs-playing vjs-has-started .azuremediaplayer .vjs-player:last-child .vjs-current-time-display{display:none}.azuremediaplayer .vjs-player:last-child .vjs-duration-display{display:none}.azuremediaplayer .vjs-player:last-child .vjs-current-time-display{display:none}.azuremediaplayer .amp-touch-enabled.vjs-player:last-child .vjs-progress-control{display:table-cell}.azuremediaplayer .amp-touch-enabled.vjs-player:last-child .vjs-current-time-display{display:table-cell}.azuremediaplayer .amp-touch-enabled.vjs-player:last-child .vjs-duration-display{display:table-cell}.amp-tube-skin.amp-size-s .vjs-control-bar .amp-controlbaricons-left .vjs-play-control{display:inline-block !important}</style>
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.