require(["jquery", "plugins_common_custom_vimeo_player", "domReady!"], function($) { if ('youtube' === "youtube") { var root = $("[data-guid=0974cc48-59eb-46e9-a602-d61d26289c13]"); var vidWidth = $(window).width(); window.slideshowVideos = {}; window.slideshowVideos.loadVideoScripts; window.slideshowVideos.onPlayerReady; window.slideshowVideos.onPlayerStateChange; window.slideshowVideos.videoId; // var slide = root.find("[sv-video-slide]"); var slide = root.find("[sv-videotype=youtube]"); if($(slide).hasClass("auto_play")){ window.slideshowVideos.videoId = slide.attr("sv-videoid"); }; // add the video scripts only if we are going to display the video on device width same as in the css window.slideshowVideos.loadVideoScripts = function loadVideoScripts() { if (vidWidth >= 767) { // var firstScript = document.getElementsByTagName('script')[0]; // var youtubeScriptElement = document.createElement('script'); // youtubeScriptElement.src = "//www.youtube.com/iframe_api"; // var vimeoScriptElement = document.createElement('script'); // vimeoScriptElement.src = "//f.vimeocdn.com/js/froogaloop2.min.js"; // firstScript.parentNode.insertBefore(youtubeScriptElement, firstScript); // firstScript.parentNode.insertBefore(vimeoScriptElement, firstScript); } else { // console.log('not loading video scripts'); // console.log(vidWidth); } }; window.slideshowVideos.loadVideoScripts(); window.slideshowVideos.onPlayerReady = function onPlayerReady(event) { if(ytPlayer !== undefined){ ytPlayer.mute(); ytPlayer.playVideo(); if($(window).width() >= 750){ setTimeout(function(){ window.slideshowVideos.hideImg(slide); }, 1500); } } }; window.slideshowVideos.onPlayerStateChange = function onPlayerStateChange(event){ if(ytPlayer !== undefined){ if(event.data === 0) { ytPlayer.playVideo(); } if(event.data === 1) { window.slideshowVideos.onPlayerReady() } } }; window.slideshowVideos.hideImg = function hideImg(slide){ $(slide).fadeOut("slow"); }; window.slideshowVideos.youtubeShow = function youtubeShow() { $("#vimeo-video").hide(); $("#youtube-video").show(); }; window.onYouTubeIframeAPIReady = function onYouTubeIframeAPIReady() { // console.log('onYouTubeIframeAPIReady'); var ratio = vidWidth / 16; var vidHeight = ratio * 9; window.slideshowVideos.youtubeShow(); if(typeof ytPlayer === "undefined"){ ytPlayer = new YT.Player('youtube-video', { videoId: window.slideshowVideos.videoId, height: vidHeight, width: "100%", playerVars: { "autoplay" : 0, "loop" : 1, "controls" : 0, "modestbranding" : 1, 'allowfullscreen': 1, "enablejsapi" : 1, "rel": 0, "showinfo" : 0, "wmode": "transparent", 'allowfullscreen': 1 }, events: { 'onReady': window.slideshowVideos.onPlayerReady, 'onStateChange': window.slideshowVideos.onPlayerStateChange } }); } else{ ytPlayer.loadVideoById(videoId, 0, "large"); } } } }); require(["jquery", "plugins_listings_custom_shadowbox", "domReady!"], function($) { var root = $("[data-guid=0974cc48-59eb-46e9-a602-d61d26289c13]"); var slider = root.find(".slide"); var vidWidth = $(window).width(); var vimeoPlayer; // var slide = root.find("[sv-video-slide]"); var slide = root.find("[sv-videotype=vimeo]"); getImagesForScreenSize(); var loadVideoScripts = function loadVideoScripts() { if (vidWidth >= 767 && 'youtube' === "youtube") { // var firstScript = document.getElementsByTagName('script')[0]; // var vimeoScriptElement = document.createElement('script'); // vimeoScriptElement.src = "//f.vimeocdn.com/js/froogaloop2.min.js"; // firstScript.parentNode.insertBefore(vimeoScriptElement, firstScript); } else { // console.log('not loading video scripts'); // console.log(vidWidth); } }; loadVideoScripts(); function getImagesForScreenSize() { getImage($(window).width()); $(window).resize(function() { getImage($(window).width()); }); function getImage(width) { if(width > 1025) { root.find("img").attr("src", root.find("img").attr("data-large-src")); } else if(width > 767) { root.find("img").attr("src", root.find("img").attr("data-medium-src")); } else { if(width>640)root.find("img").attr("src", root.find("img").attr("data-small-src")); else root.find(".mobile-img").attr("src", root.find(".mobile-img").attr("data-small-mobile-src")); } } } // Play video type: function playSlideVideo(){ if($(slide).hasClass("auto_play")){ var vid_id = $(slide).attr("sv-videoid"); if($(slide).attr("sv-videotype") === "vimeo"){ playVimeo(); } } else{ Shadowbox.init(); root.find('.videoSlide').click(function() { var videoid = $(this).attr('sv-videoid'); var videotype = $(this).attr('sv-videotype'); var youtubeUrl = '//youtube.com/embed/' + videoid + '/?vq=720&autoplay=1'; var vimeoUrl = '//player.vimeo.com/video/' + videoid + '/?autoplay=1&loop=1' Shadowbox.open({ content: (videotype == 'vimeo') ? vimeoUrl : youtubeUrl, type: 'iframe', player: 'iframe' }); }); } } // Vimeo video Settings: function playVimeo(){ $("#youtube-video").hide(); $("#vimeo-video").show(); if(vimeoPlayer === undefined){ var vid_id = $(slide).attr("sv-videoid"); var vimeoUrl = '//player.vimeo.com/video/' + vid_id + '/?api=1&player_id=vimeo-video&autoplay=1&loop=0'; var holder = $("[data-sv-vimeo-player]"); var frame = $('

    砖块区的天际线

    享受镇上的夜晚

    砖墙 has plenty of 夜生活 选项,但我们推荐迈克尔墨菲的摇滚决斗钢琴’s。 Part-Concert,Part Comedy Roast,这个节目肯定有助于笑声滚动并将您的脚趾敲击要求驱动的音乐。


    瓦博利斯大学'S游戏,迷你高尔夫,有趣的披萨,酒吧& grill

    在Brickopolis安排播放日期

    瓦斯波利亚 已经乘坐了该区’通过提供微型高尔夫球,激光标签,街机游戏和多个餐饮选择,提供家庭友好乐趣。


    在砖块运河的水上出租车乐趣

    沿砖块运河巡航

    40分钟的旅行 砖墙 Water Taxi 是通过砖头的完美途径,从市中心的东边一直到达俄克拉荷马河的北部边缘。所有出租车均由大使的员工,沿途叙述兴趣点,并为该地区的独特历史和文化提供感受。


    FEATURED
    {{:~var.bookableOffers}} {{~setVar("prices", helpers.var.bookableOffers.filter(function(val) { return val.price !== undefined; }).map(function(val) { return val.price; }))}} {{~setVar("lowPrice", helpers.var.prices.length > 0 ? Math.min.apply(null, helpers.var.prices) : undefined)}} {{:~var.oncetherelink}} {{~fill(helpers.partial("custom_offer_once_there_book_button"), { price : helpers.var.lowPrice, label : "See Activities", onceThereUrl : helpers.var.oncetherelink })}} {{?}} {{~fill(helpers.partial("custom_offer_once_there_book_button"), { price : helpers.var.lowPrice, label : "See Activities", onceThereUrl : data.detailURL })}} {{/}} {{/}} {{:primary_image}} {{:primary_image.resource}} {{标题}} {{?}} {{标题}} {{/}} {{/primary_image}} {{!primary_image}} {{/primary_image}}

    {{标题}}

    {{:distance}}
    • {{distance.format({ unit : "miles" })}} Miles From You
    {{/distance}} {{:~equal(data.latitude > 0, true)}} {{~var.addressLine}} {{/}}
    {{:isDTN}}
    {{/isDTN}}
    {{/items}}
    赞助