{"id":3109,"date":"2021-03-25T15:02:27","date_gmt":"2021-03-25T15:02:27","guid":{"rendered":"https:\/\/dev.rental.software\/clone333\/patio-heaters\/patio-heater\/"},"modified":"2024-11-19T21:57:47","modified_gmt":"2024-11-19T21:57:47","slug":"patio-heater","status":"publish","type":"page","link":"https:\/\/dev.rental.software\/clone333\/rentals\/patio-heaters\/patio-heater\/","title":{"rendered":"Patio Heater"},"content":{"rendered":"<!-- Start Shortcoder content --><div class=\"io_product_container elementor-widget-text-editor io_product_container_1292157\">\r\n  <!-- Cart -->\r\n  <div class=\"cartInfo\" style=\"display:none\">\r\n    <i class=\"cartIcon fas fa-shopping-cart\"><\/i><!--no linebreak bc elementor--> <span class=\"simpleCart_quantity\"><\/span> items\r\n  <\/div>\r\n\r\n  <!-- Page Content -->\r\n  <div class=\"simpleCart_ioShelfItem\">\r\n    <div class=\"io_product_picbox\">\r\n      <div id=\"io_main_media_container\">\r\n        <a rel=\"img_group noopener\" id=\"single_image\" href=\"https:\/\/dev.rental.software\/clone333\/wp-content\/uploads\/2024\/11\/GridArt_20231220_094612283_1703094439_big-2.jpg\">\r\n          <img decoding=\"async\" class=\"io_image_big item_image\" title=\"Patio Heater\" src=\"https:\/\/dev.rental.software\/clone333\/wp-content\/uploads\/2024\/11\/GridArt_20231220_094612283_1703094439_big-2.jpg\" alt=\"Patio Heater\" \/>\r\n        <\/a>\r\n        <video class=\"io_video_big\" id=\"io_main_video\" controls preload=\"none\" style=\"max-width:100%;\" playsinline>\r\n          <source src=\"\" type=\"video\/mp4\">\r\n        <\/video>\r\n      <\/div>\r\n      <br>\r\n      <div class=\"io_image_thumbbox\" id=\"io_media_thumbbox\">\r\n        <!-- Thumbnails built dynamically by JS from images_arr -->\r\n      <\/div>\r\n    <\/div>\r\n    <div class=\"io_product_infobox\">\r\n      <div class=\"elementor-widget-heading\">\r\n        <h1 class=\"io_product_title elementor-heading-title item_name\">Patio Heater<\/h1>\r\n      <\/div>\r\n\r\n      <p class=\"item_encoded\" style=\"display:none;\">Patio+Heater<\/p>\r\n      <p class=\"item_rentalid\" style=\"display:none;\">1292157<\/p>\r\n      <p class=\"item_quantity\" style=\"display:none;\">1<\/p>\r\n      <p class=\"item_vendorid\" style=\"display:none;\"><\/p>\r\n      <p class=\"item_qtytype\" style=\"display:none;\">Limited<\/p>\r\n      <p class=\"item_inputtype\" style=\"display:none;\">Dropdown<\/p>\r\n      <span class=\"item_qtyincrement\" style=\"display:none;\">1<\/span>\r\n      <div class=\"item_timeslots\" style=\"display:none;\"><\/div>\r\n      <p class=\"item_giftcardvalue\" style=\"display:none;\"><\/p>\r\n      <div class=\"io_star_rating\">\r\n        <div class=\"io_stars_1292157 io_stars\"><\/div>\r\n        <a href=\"#page_product_reviews\">See Reviews<\/a>\r\n      <\/div>\r\n      <div id=\"item_live_price_time_set_message\" style=\"display:none\">\r\n        <p>\r\n                                <span style=\"cursor:pointer; color:blue; text-decoration:underline;\" onclick=checkAvailDateClick()>\r\n                                    click here\r\n                                <\/span>\r\n          to set an event time so you can see a more accurate price for this item\r\n        <\/p>\r\n      <\/div>\r\n      <div id=\"item_additonal_info_open_message\" style=\"display:none\">\r\n        <p>\r\n                                <span style=\"cursor:pointer; color:blue; text-decoration:underline;\" onclick=checkAvailDateClick()>\r\n                                    click here\r\n                                <\/span>\r\n          to provide information required for pricing.\r\n        <\/p>\r\n      <\/div>\r\n      <div id=\"io_all_prices\">\r\n        <div class=\"io_product_price_box io_product_price_1h io_product_price_1h_1292157\">\r\n          <p class=\"io_product_price_top_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_top_right\">per hour<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_2h io_product_price_2h_1292157\">\r\n          <p class=\"io_product_price_top_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_top_right\">for 2 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_3h io_product_price_3h_1292157\">\r\n          <p class=\"io_product_price_top_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_top_right\">for 3 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_4h io_product_price_4h_1292157\">\r\n          <p class=\"io_product_price_top_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_top_right\">for 4 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_5h io_product_price_5h_1292157\">\r\n          <p class=\"io_product_price_top_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_top_right\">for 5 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_6h io_product_price_6h_1292157\">\r\n          <p class=\"io_product_price_top_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_top_right\">for 6 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_7h io_product_price_7h_1292157\">\r\n          <p class=\"io_product_price_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_right\">for 7 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_8h io_product_price_8h_1292157\">\r\n          <p class=\"io_product_price_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_right\">for 8 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_9h io_product_price_9h_1292157\">\r\n          <p class=\"io_product_price_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_right\">for 9 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_10h io_product_price_10h_1292157\">\r\n          <p class=\"io_product_price_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_right\">for 10 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_11h io_product_price_11h_1292157\">\r\n          <p class=\"io_product_price_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_right\">for 11 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_12h io_product_price_12h_1292157\">\r\n          <p class=\"io_product_price_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_right\">for 12 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_13h io_product_price_13h_1292157\">\r\n          <p class=\"io_product_price_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_right\">for 13 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_14h io_product_price_14h_1292157\">\r\n          <p class=\"io_product_price_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_right\">for 14 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_15h io_product_price_15h_1292157\">\r\n          <p class=\"io_product_price_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_right\">for 15 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_16h io_product_price_16h_1292157\">\r\n          <p class=\"io_product_price_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_right\">for 16 hours<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_24h io_product_price_24h_1292157\">\r\n          <p class=\"io_product_price_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_right\">per day<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_additionalhour io_product_price_additionalhour_1292157\">\r\n          <p class=\"io_product_price_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_right\">per additional hour<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_additionalday io_product_price_additionalday_1292157\">\r\n          <p class=\"io_product_price_left\">$90.00<\/p>\r\n          <p class=\"io_product_price_right\">per additional day<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_48h io_product_price_48h_1292157\">\r\n          <p class=\"io_product_price_left\">$180.00<\/p>\r\n          <p class=\"io_product_price_right\">for 2 days<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_72h io_product_price_72h_1292157\">\r\n          <p class=\"io_product_price_left\">$270.00<\/p>\r\n          <p class=\"io_product_price_right\">for 3 days<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_96h io_product_price_96h_1292157\">\r\n          <p class=\"io_product_price_left\">$360.00<\/p>\r\n          <p class=\"io_product_price_right\">for 4 days<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_120h io_product_price_120h_1292157\">\r\n          <p class=\"io_product_price_left\">$450.00<\/p>\r\n          <p class=\"io_product_price_right\">for 5 days<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_168h io_product_price_168h_1292157\">\r\n          <p class=\"io_product_price_left\">$630.00<\/p>\r\n          <p class=\"io_product_price_right\">for 1 week<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_336h io_product_price_336h_1292157\">\r\n          <p class=\"io_product_price_left\">$1,260.00<\/p>\r\n          <p class=\"io_product_price_right\">for 2 weeks<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_504h io_product_price_504h_1292157\">\r\n          <p class=\"io_product_price_left\">$1,890.00<\/p>\r\n          <p class=\"io_product_price_right\">for 3 weeks<\/p>\r\n        <\/div>\r\n        <div class=\"io_product_price_box io_product_price_720h io_product_price_720h_1292157\">\r\n          <p class=\"io_product_price_left\">$2,700.00<\/p>\r\n          <p class=\"io_product_price_right\">for 1 month<\/p>\r\n        <\/div>\r\n      <\/div>\r\n      <div class=\"io_product_price_box io_product_price_fixed io_product_price_fixed_1292157\" style=\"display:none\">\r\n        <p class=\"io_product_price_top_left\">$90.00<\/p>\r\n        <p class=\"io_product_price_top_right\">per item<\/p>\r\n      <\/div>\r\n      <div class=\"io_product_price_box io_product_price_sqfoot io_product_price_sqfoot_1292157\" style=\"display:none\">\r\n        <p class=\"io_product_price_top_left\">$90.00<\/p>\r\n        <p class=\"io_product_price_top_right\">per sq foot<\/p>\r\n      <\/div>\r\n      <div class=\"io_product_acc_pkg\" style=\"margin-top:14px;\"><\/div>\r\n      <div class=\"elementor-widget-button io_phrase_1292157\" style=\"display:none;margin-top:25px; \">\r\n        <label for=\"phraseInput\" style=\"color:darkred\">\r\n          Enter the phrase you want displayed:\r\n        <\/label><br>\r\n        <input\r\n                type=\"text\"\r\n                id=\"phraseInput\"\r\n                class=\"io_phrase_1292157\"\r\n                style=\"width: 300px;\"\r\n                oninput=\"phraseUpdateCount(this)\"\r\n        \/>\r\n      <\/div>\r\n      <div style=\"display: inline-flex\">\r\n        <div>\r\n          <div class=\"elementor-widget-button add_cart_1292157\">\r\n            <a id=\"bookNowBtn\"\r\n               class=\"item_add elementor-button elementor-size-sm elementor-animation-grow io_button\"\r\n               href=\"javascript:;\"><!--no linebreak bc elementor--><i class=\"fas fa-shopping-cart\"><\/i> Add to Cart<\/a>\r\n          <\/div>\r\n          <div class=\"unavailable_message\" onclick=\"checkAvailDateClick()\">item unavailable (change date)<\/div>\r\n        <\/div>\r\n        <div class=\"delivery_charge_check_container\">\r\n          <div class=\"elementor-widget-button check_delivery_1292157\">\r\n            <a id=\"checkDeliveryButton\"\r\n               class=\"elementor-button elementor-size-sm elementor-animation-grow io_button\"\r\n               href=\"javascript:;\" onClick=\"showAddressEntry()\"><i class=\"fas fa-truck\"><\/i> Check Delivery<\/a>\r\n          <\/div>\r\n        <\/div>\r\n        <div class=\"calc_price_with_map_container\">\r\n          <div class=\"elementor-widget-button calc_price_map_1292157\">\r\n            <a id=\"calcPriceOpenMap\"\r\n               class=\"elementor-button elementor-size-sm elementor-animation-grow io_button\"\r\n               href=\"javascript:;\" onClick=\"openMap(this)\"><i class=\"fas fa-map\"><\/i> Calculate Price <\/a>\r\n          <\/div>\r\n        <\/div>\r\n      <\/div>\r\n      <div class=\"io_product_detailbox\">\r\n        <h3 class=\"io_product_subtitle\">Product Information:<\/h3>\r\n        <div class=\"io_product_desc\"><\/p>\n<p style=\"font-family: Tahoma, Geneva, sans-serif;\"><span style=\"color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;\">Continue to enjoy your outdoor space on cool nights with this stylish and powerful patio heater. The stainless steel propane patio heater can heat an area of up to 200 Sq. Ft. to maintain comfortable warmth for entertaining on your patio. This heater features durable stainless-steel construction and a modern and functional style that will enhance any outdoor decor. A piezoelectric igniter provides quick and easy starting and the adjustable heat control knob allows for the perfect temperature adjustment on a cool night.<\/span><\/p>\n<p style=\"font-family: Tahoma, Geneva, sans-serif;\"><span style=\"color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;\"><strong>Comes with full propane.<\/strong><\/span><\/p>\n<p>Stay warm and cozy on those chilly evenings with the Patio Heater rental. Perfect for outdoor gatherings, this portable heater casts a warm glow, allowing the party to continue regardless of the temperature drop. Experience the comfort of gentle warmth as you enjoy your time outside with friends and family. Whether you&#39;re hosting a festive event or simply enjoying a quiet evening, this is your go-to solution for extending the night and keeping everyone comfortably snug.<\/div>\r\n      <\/div>\r\n      <div class=\"io_product_detail_box\" style=\"margin-top:40px\">\r\n        <p class=\"io_product_circuits_left\">Circuits needed:<\/p>\r\n        <p class=\"io_product_circuits_right\">0<\/p>\r\n      <\/div>\r\n      <div class=\"io_product_detail_box\">\r\n        <p class=\"io_product_dimensions_left\">Item Dimensions:<\/p>\r\n        <p class=\"io_product_dimensions_right\">87.8\"x32.3\"<\/p>\r\n      <\/div>\r\n      <div class=\"io_product_detail_box\">\r\n        <p class=\"io_product_footprint_left\">Space Needed:<\/p>\r\n        <p class=\"io_product_footprint_right\">100\"x40\"<\/p>\r\n      <\/div>\r\n      <!-- Start Shortcoder content -->\r\n<div class=\"eh_additional_description\" style=\"display:none\">\r\n    <ul>\r\n    <li><strong>DELIVERY:<\/strong> We deliver to Victorville CA and surrounding areas (delivery fees calculated at checkout).<\/li>\r\n    <li><strong>COUPONS:<\/strong><a href=\"\/coupon-form\/\">Click here to check for coupons.<\/a><\/li>\r\n    <li><strong>RAIN POLICY:<\/strong> You can reschedule your rental due to rain at no extra cost as long as 24 hour notice is given.<\/li>\r\n    <li><strong>OCCUPANCY:<\/strong> A maximum of 5-6 kids of equal size at one time for bounce houses, and 1 person at a time for slides is what most inflatable manufacturers recommend.<\/li>\r\n    <li><strong>CLEANING:<\/strong> All units are cleaned and sanitized before use.<\/li>\r\n    <li><strong>WHAT'S INCLUDED:<\/strong>\r\n        <ul class=\"square\">\r\n        <li>Extension Cord<\/li>\r\n        <li>Blower<\/li>\r\n        <li>Safety Stakes to secure to ground<\/li>\r\n        <\/ul>\r\n    <\/li>\r\n    <li><strong>WHAT YOU'LL NEED:<\/strong>\r\n        <ul class=\"square\">\r\n        <li>Enough space for us to setup your rental<\/li>\r\n        <li>Electric outlet within 50 feet of setup area<\/li>\r\n        <li>Water source and water hose if renting a water slide<\/li>\r\n        <\/ul>\r\n    <\/li>    \r\n    <\/ul>\r\n<\/div>\r\n<!-- End Shortcoder content -->\r\n    <\/div>\r\n  <\/div>\r\n  <div class=\"io_product_requiredDD_accessories\" style=\"display:none\">\r\n    <h3 class=\"io_acc_h3\">Required Accessories:<\/h3>\r\n    <hr>\r\n  <\/div>\r\n  <div class=\"io_product_accessories\">\r\n    \r\n  <\/div>\r\n  <a name=\"page_product_reviews\"><\/a>\r\n  <div class=\"io_product_reviewbox\">\r\n    \r\n  <\/div>\r\n  <div class=\"io_product_upsell\">\r\n    <h3 class=\"io_upsell_h3\">You might also be interested in:<\/h3>\r\n    <div class=\"page-carousel\"><\/div>\r\n  <\/div>\r\n  <div class=\"io_landingpages io_landingpages_1292157 elementor-widget-text-editor\">\r\n    <!-- Start Shortcoder content -->Professional delivery to <span class=\\\"io_city_list\\\">Victorville CA<\/span> and surrounding areas. Please submit a quote or contact us to be sure we service your area.<!-- End Shortcoder content -->\r\n  <\/div>\r\n<\/div>\r\n<script>\r\n  \/\/stars\r\n  jQuery(document).ready(function () {\r\n    for(i=0;i<00;i++){\r\n      star_html = `<div class=\\\"fas fa-star\\\" style=\\\"color:goldenrod\\\"><\/div>`;\r\n      jQuery(\".io_stars_1292157\").append(star_html);\r\n    }\r\n    var times = getAvailTimes();\r\n    getUpsellsCall(times[0],times[1],times[2],jQuery(\".io_product_infobox .item_rentalid\").first().text(), updatePageUpsell);\r\n    acc_obj_relate = order_acc_obj_relate();\r\n    jQuery(\".io_product_price_top_left\").each(function () {\r\n      if( !Number( this.textContent.replace(\/[^0-9.-]+\/g,\"\") ) ){\r\n        jQuery(this.parentElement).hide();\r\n      }\r\n    });\r\n    jQuery(\".io_product_price_left\").each(function () {\r\n      if( !Number( this.textContent.replace(\/[^0-9.-]+\/g,\"\") ) ){\r\n        jQuery(this.parentElement).attr(\"style\",\"display:none !important\");\r\n      }\r\n    });\r\n  });\r\n\r\n  try{ var acc_obj_relate = JSON.parse('{} '); }\r\n  catch{ var acc_obj_relate = {}; }\r\n\r\n  try{ var images_arr = JSON.parse('{\"0\":{\"rentalimage_id\":\"276465\",\"rentalimage_createtime\":\"0\",\"rentalimage_modifiedtime\":\"0\",\"rentalimage_itemid\":\"1292157\",\"rentalimage_order\":\"0\",\"rentalimage_imageloc\":\"https:\/\/dev.rental.software\/clone333\/wp-content\/uploads\/2024\/11\/GridArt_20231220_094612283_1703094439-2.jpg\",\"rentalimage_imagelocbig\":\"https:\/\/dev.rental.software\/clone333\/wp-content\/uploads\/2024\/11\/GridArt_20231220_094612283_1703094439_big-2.jpg\"}} '); }\r\n  catch { var images_arr = {}; }\r\n\r\n  try{ var acc_obj_order = JSON.parse('{} '); }\r\n  catch { var acc_obj_order = {}; }\r\n\r\n  var rental_name_template = \"Patio Heater\";\r\n  var alt_text_template = \"Patio Heater\";\r\n\r\n  function ioRentalMatchVideoToImage()\r\n  {\r\n    var $bigImage = jQuery('#single_image .io_image_big');\r\n    var $mainVideo = jQuery('#io_main_video');\r\n\r\n    $mainVideo.css(\r\n    {\r\n      width: $bigImage.outerWidth() + 'px',\r\n      height: $bigImage.outerHeight() + 'px',\r\n      display: 'block'\r\n    });\r\n  }\r\n  function ioRentalShowVideo(el)\r\n  {\r\n    var $el = jQuery(el);\r\n    var $container = jQuery('#io_main_media_container');\r\n    var $bigImage = jQuery('#single_image .io_image_big');\r\n    var $mainVideo = jQuery('#io_main_video');\r\n\r\n    var imgHeight = $bigImage.outerHeight();\r\n    if (imgHeight > 0) {\r\n      $container.css('min-height', imgHeight + 'px');\r\n    }\r\n\r\n    $mainVideo.find('source').attr('src', $el.data('video-src'));\r\n\r\n    if ($mainVideo.length && $mainVideo[0]) {\r\n      $mainVideo[0].load();\r\n    }\r\n\r\n    $container.addClass('is-video-active');\r\n  }\r\n\r\n  function ioRentalShowImage(el)\r\n  {\r\n    var $el = jQuery(el);\r\n    var $container = jQuery('#io_main_media_container');\r\n    var $singleImage = jQuery('#single_image');\r\n    var $bigImage = jQuery('#single_image .io_image_big');\r\n    var $mainVideo = jQuery('#io_main_video');\r\n\r\n    if ($el.data('big'))\r\n    {\r\n      $bigImage.attr('src', $el.data('big'));\r\n      $singleImage.attr('href', $el.data('big'));\r\n    }\r\n\r\n    $container.removeClass('is-video-active');\r\n\r\n    if ($mainVideo.length && $mainVideo[0]) {\r\n      $mainVideo[0].pause();\r\n      $mainVideo[0].currentTime = 0;\r\n    }\r\n  }\r\n\r\n  \/\/ Build unified media thumbnails and lightbox links from images_arr\r\n  jQuery(document).ready(function()\r\n  {\r\n    var thumbbox = jQuery('#io_media_thumbbox');\r\n    if (jQuery.isEmptyObject(images_arr)) return;\r\n\r\n    jQuery('#single_image').attr('data-elementor-open-lightbox', 'no');\r\n\r\n    \/\/ If first media item is a video, show video player instead of broken image on page load\r\n    var firstMedia = images_arr[Object.keys(images_arr)[0]];\r\n    if (firstMedia && firstMedia.media_type === 'video' && firstMedia.rentalimage_imagelocbig)\r\n    {\r\n      var mainVideo = jQuery('#io_main_video');\r\n      mainVideo.find('source').attr('src', firstMedia.rentalimage_imagelocbig);\r\n      if (mainVideo.length && mainVideo[0]) mainVideo[0].load();\r\n      jQuery('#io_main_media_container').addClass('is-video-active');\r\n    }\r\n\r\n    var count = 0;\r\n    for (var key in images_arr)\r\n    {\r\n      var media = images_arr[key];\r\n      count++;\r\n\r\n      if (media.media_type === 'video' && media.rentalimage_imagelocbig)\r\n      {\r\n        var thumb = jQuery(\r\n          '<div class=\"io_media_thumb_wrapper io_video_thumb_wrapper\">' +\r\n            '<img class=\"io_image_thumb io_video_thumb skip-lazy\" ' +\r\n            'src=\"' + media.rentalimage_imageloc + '\" ' +\r\n            'data-video-src=\"' + media.rentalimage_imagelocbig + '\" ' +\r\n            'data-media-type=\"video\" ' +\r\n            'title=\"' + rental_name_template + '\" ' +\r\n            'alt=\"' + alt_text_template + '\" ' +\r\n            'id=\"io_img_thumb' + count + '\" \/>' +\r\n            '<div class=\"io_video_play_icon\"><i class=\"fas fa-play-circle\"><\/i><\/div>' +\r\n          '<\/div>'\r\n        );\r\n\r\n        thumb.find('img').on('click', function()\r\n        {\r\n          ioRentalShowVideo(this);\r\n        });\r\n\r\n        thumbbox.append(thumb);\r\n      }\r\n      else if (media.rentalimage_imageloc)\r\n      {\r\n        var thumb = jQuery(\r\n          '<img class=\"io_image_thumb skip-lazy\" ' +\r\n          'title=\"' + rental_name_template + '\" ' +\r\n          'src=\"' + media.rentalimage_imageloc + '\" ' +\r\n          'alt=\"' + alt_text_template + '\" ' +\r\n          'data-big=\"' + media.rentalimage_imagelocbig + '\" ' +\r\n          'data-media-type=\"image\" ' +\r\n          'id=\"io_img_thumb' + count + '\" \/>'\r\n        );\r\n\r\n        thumb.on('click', function()\r\n        {\r\n          ioRentalShowImage(this);\r\n        });\r\n\r\n        thumbbox.append(thumb);\r\n      }\r\n    }\r\n  });\r\n\r\n  function updatePageUpsell(data){\r\n    let page_carousel = jQuery(\".page-carousel\");\r\n    data.forEach(function(upsell){\r\n      cell = createPageCarouselCell(upsell[\"image\"], upsell[\"name\"], upsell[\"page\"], upsell[\"rental_id\"]);\r\n      page_carousel.append(cell);\r\n    });\r\n    makeCarousel(page_carousel);\r\n    setTimeout(pageFlickityRefresh, 500);\r\n    if(io_upsell_price == \"on\"){\r\n      let times = getAvailTimes();\r\n      let upsell_rental_id_str = getUpsellIDforPrice();\r\n      let return_id = 0;\r\n      let rental_names = \"off\";\r\n      if(upsell_rental_id_str != \"\"){\r\n        checkAvailCall(times[0],times[1],times[2],rental_names,upsell_rental_id_str,displayUpsellPrices,0,[],[],return_id,0,null,1,\"\",1);\r\n      }\r\n    }\r\n  }\r\n  function createPageCarouselCell(image, name, page, rental_id){\r\n    cell = `<div class=\"io_page_carousel_cell\"> <a href=\"`+page+`\" class=\"page-carousel-link\"> <img decoding=\"async\" class=\"page-carousel-image skip-lazy\" src=\"`+image+`\"> <p class=\"page-carousel-name\"> `+name+` <\/p> <span class=\"page-carousel-rid\" id=\"rid`+rental_id+`\" style=\"display:none\">`+rental_id+`<\/span> <\/a> <\/div>`;\r\n    return cell;\r\n  }\r\n  function pageFlickityRefresh(){\r\n    jQuery(\".page-carousel\").flickity(\"resize\");\r\n  }\r\n  function order_acc_obj_relate(){\r\n    let new_acc_obj_relate = new Map();\r\n    if(!jQuery.isEmptyObject(acc_obj_relate) && !jQuery.isEmptyObject(acc_obj_order)){\r\n      for(const [index, rid] of Object.entries(acc_obj_order)){\r\n        new_acc_obj_relate.set(rid, acc_obj_relate[rid])\r\n      }\r\n    }\r\n    return new_acc_obj_relate\r\n  }\r\n  \/* if an item is consumable IO-21288*\/\r\n  if(jQuery(\".item_qtytype\")[0].innerText == \"Supply\"){\r\n    jQuery(\"#io_all_prices\").hide();\r\n    jQuery(\".io_product_price_fixed\").show();\r\n  }\r\n<\/script><!-- End Shortcoder content -->\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":26259,"parent":3107,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"io_meta_description":"","footnotes":""},"class_list":["post-3109","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/dev.rental.software\/clone333\/wp-json\/wp\/v2\/pages\/3109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.rental.software\/clone333\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dev.rental.software\/clone333\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dev.rental.software\/clone333\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.rental.software\/clone333\/wp-json\/wp\/v2\/comments?post=3109"}],"version-history":[{"count":2,"href":"https:\/\/dev.rental.software\/clone333\/wp-json\/wp\/v2\/pages\/3109\/revisions"}],"predecessor-version":[{"id":26634,"href":"https:\/\/dev.rental.software\/clone333\/wp-json\/wp\/v2\/pages\/3109\/revisions\/26634"}],"up":[{"embeddable":true,"href":"https:\/\/dev.rental.software\/clone333\/wp-json\/wp\/v2\/pages\/3107"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dev.rental.software\/clone333\/wp-json\/wp\/v2\/media\/26259"}],"wp:attachment":[{"href":"https:\/\/dev.rental.software\/clone333\/wp-json\/wp\/v2\/media?parent=3109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}