DUOBAT 120+

PRE-INSTALLATION AND STORAGE

STEP 1: CALCULATOR (DISTANCE A)

STEP 1: STRING MARKER (J-LOCK LINE A)

FLOOR BOARDS: CENTER FLOOR BOARD AND LOOSE TONGUES

FLOOR BOARDS: NAILING AND LAST ROW FLOOR BOARD

Error executing template "Designs/junckers/Paragraph/Video.cshtml"
System.ArgumentNullException: Value cannot be null.
Parameter name: input
   at System.Text.RegularExpressions.Regex.Match(String input)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
   at CompiledRazorTemplates.Dynamic.RazorEngine_75631620b1654d02a664f185f49b0625.Execute() in D:\dynamicweb.net\Solutions\junckers.espresso4.dk\Files\Templates\Designs\junckers\Paragraph\Video.cshtml:line 42
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.<RunCompile>b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.RazorTemplateRenderingProvider.Render(Template template)
   at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits Co3.Espresso.Website.TemplateBases.Paragraphs.Video 2 @using System.Text; 3 @using System.Text.RegularExpressions; 4 @using Co3.Espresso.Website.Services 5 @using Co3.Espresso.Website.TemplateBases.Paragraphs 6 @using Dynamicweb.Content 7 @using Dynamicweb.Frontend 8 @using Dynamicweb.Rendering.Designer 9 @{ 10 Espresso.Container.ClassList.Add( "p-video" ); 11 12 bool HideOnDesktop = Espresso.Item.HideOnDesktop == "True"; 13 bool HideOnPhone = Espresso.Item.HideOnPhone == "True"; 14 if ( HideOnDesktop ) 15 { 16 Espresso.Container.ClassList.Add( "d-lg-none" ); 17 } 18 if ( HideOnPhone ) 19 { 20 Espresso.Container.ClassList.Add( "d-none" ); 21 if ( !HideOnDesktop ) 22 { 23 Espresso.Container.ClassList.Add( "d-lg-block" ); 24 } 25 } 26 27 Area area = PageView.Current().Area; 28 29 string IsUsingCookiebot = area.Item[ "IsUsingCookiebot" ] != null ? area.Item[ "IsUsingCookiebot" ].ToString() : string.Empty; 30 31 var Url = Espresso.Item.Video; 32 var UrlRegex = new Regex( @"^.*((youtu.be\/|vimeo.com\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*" ); 33 34 var VimeoControlsColor = Espresso.Item.VideoVimeoControlsColor ?? string.Empty; 35 var VimeoShowTitle = Espresso.Item.VideoVimeoTitle; 36 var VimeoShowByLine = Espresso.Item.VideoVimeoByline; 37 38 var YoutubeShowControls = Espresso.Item.VideoYoutubeTitle; 39 var YoutubeShowTitle = Espresso.Item.VideoYoutubeControls; 40 var YoutubeShowLogo = Espresso.Item.VideoYoutubeLogo; 41 42 Match videoUrlMatch = UrlRegex.Match( Url ); 43 var EmbedUrl = String.Empty; 44 45 if(Espresso.Item.VideoProvider == "vimeo"){ 46 if( videoUrlMatch.Success && videoUrlMatch.Groups.Count >= 8 ) { 47 if( videoUrlMatch.Groups[ 1 ].Value == "vimeo.com/" ) { 48 EmbedUrl = string.Format( "//player.vimeo.com/video/{0}?title={1}&byline={2}&portrait=0&color={3}", videoUrlMatch.Groups[ 7 ].Value, VimeoShowTitle == "True" ? "1" : "0", VimeoShowByLine == "True" ? "1" : "0", VimeoControlsColor ); 49 } 50 } 51 } else if(Espresso.Item.VideoProvider == "youtube"){ 52 if( videoUrlMatch.Success && videoUrlMatch.Groups.Count >= 8 ) { 53 EmbedUrl = string.Format( "https://www.youtube.com/embed/{0}?controls={1}&showinfo={2}&modestbranding={3}&rel=0", videoUrlMatch.Groups[ 7 ].Value, YoutubeShowTitle == "True" ? "1" : "0", YoutubeShowControls == "True" ? "1" : "0", YoutubeShowLogo == "True" ? "0" : "1"); 54 } 55 } 56 } 57 <div class="@Espresso.Container.ClassList" id="@Espresso.Id"> 58 <div class="@Espresso.Wrapper.ClassList"> 59 @if( string.IsNullOrEmpty( Espresso.Text.Raw ) == false ){ 60 <div class="@Espresso.Text.Container.ClassList"> 61 @Espresso.Text.Raw 62 </div> 63 } 64 <div class="@Espresso.Video.Container.ClassList"> 65 <div class="embed-responsive embed-responsive-16by9"> 66 @if ( IsUsingCookiebot == "False") 67 { 68 <div id="video-player-@(Espresso.Id)" data-videoid="@videoUrlMatch.Groups[ 7 ].Value" data-provider="@Espresso.Item.VideoProvider" class="js-junckers-video-observer-element"></div> 69 } 70 else 71 { 72 <div class="cookieconsent-optout-marketing "> 73 <a href="javascript:Cookiebot.renew()" class="btn btn-primary">@Translate( "Cookies - Accept to watch", "Accepter marketing-cookies for at se denne video." )</a> 74 </div> 75 <div id="video-player-@(Espresso.Id)" data-cookieconsent="marketing" data-videoid="@videoUrlMatch.Groups[ 7 ].Value" data-provider="@Espresso.Item.VideoProvider" class="js-junckers-video-observer-element"></div> 76 } 77 </div> 78 </div> 79 </div> 80 </div> 81
keyboard_arrow_up



picture_as_pdf