Dry, mild Las Vegas conditions forecast through Thanksgiving week – Las Vegas Review-Journal

Posted: November 21, 2021 at 10:13 pm

"); var pScript = document.createElement("script"); pScript.type = 'text/javascript'; pScript.src = '//embed.sendtonews.com/player3/embedcode.js?fk=' + fkId + '&cid=5945&offsetx=0&offsety=0&floatwidth=400&floatposition=bottom-right'; pScript.async = true; pScript.setAttribute('data-type', 's2nScript'); //pScript['data-type'] = 's2nScript'; elem.append(pHtml); elem.append(pScript); }, insertVideoFuel: function(channelId) { //var u = 'https://spreadsheets.google.com/feeds/list/1jVoUBFY2Xpt9g_eSOhoUipSA_OOh7hMbPDYAqYWx3nI/1/public/values?alt=json'; var u = '/wp-json/rj/v2/api?name=spreadsheetsv4&end_point=/1jVoUBFY2Xpt9g_eSOhoUipSA_OOh7hMbPDYAqYWx3nI/values/sheet1¶m=alt%3Djson'; $.ajax({ type: 'GET', url: u, cache: true, dataType: 'json', success: function (response) { if ( response.response && response.response.values ) { var img_url = 'https://res.cloudinary.com/review-journal/image/upload/f_auto,q_auto,c_scale,w_1200/v1611081380/webdev/New7at7onGray.jpg'; //response.feed.entry[0]['gsx$imageurl']['$t']; var description = response.response.values[1][3];//response.feed.entry[0]['gsx$description']['$t']; var elem = $('#stn-in-article-player'); //'https://fuel-streaming-prod01.fuelmedia.io/player/1.0/player.min.js'; //https://fuel-streaming-prod01.fuelmedia.io/player/v3/fuel.js var pScript = document.createElement("script"); pScript.type = 'text/javascript'; pScript.src = 'https://fuel-streaming-prod01.fuelmedia.io/player/v3/fuel.js'; //pScript.async = true; pScript.setAttribute('id', 'fuel-player-script'); elem.append(pScript); elem.addClass('rj-fuel-77'); var pHtml = $('',{'data-channel':channelId,'data-poster-image':img_url,'data-autoplay':'true','data-muted':'true','data-floating':'true','data-floating-corner':'BR', 'data-floating-width':'288', 'data-floating-height':'162'}); var click_url = '/7at7/?utm_campaign=7at7&utm_medium=insert_widget&utm_source=article_page'; var f_title = $('',{'class':'f-title'}).append( $('',{'href':click_url, 'alt':'7at7'}).append( $('',{'html':'Watch '}) ).append( $('',{'alt':'logo-7at7','src':'https://res.cloudinary.com/review-journal/image/upload/f_auto,q_auto,c_scale,w_50/v1611100661/webdev/seven2.png'}) ).append( $('',{'html':' now streaming'}) ) ); var f_desc = $('',{'class':'f-desc','html':description}) elem.append(pHtml); elem.append(f_title); elem.append(f_desc); var is_android = /(android)/i.test(navigator.userAgent); if (is_android) { var tmr = setInterval(function() { document.getElementsByTagName('fuel-video')[0].player.play(); clearInterval(tmr); },1000); } } }, error: function (xhr, ajaxOptions, thrownError) { console.log('rj_xhr.status:' + xhr.status + '_error:' + thrownError); } }); }, videoIDs: { 'category-local': {'id': '7395798e-4c30-417b-8b1a-b3d7bad8ff98', 'provider':'fuel'}, 'tag-coronavirus': {'id': 'u37v495p'}, 'category-politics-and-government': {'id': 'kqRvD0a8'}, 'tag-mc-opinion': {'id': 'kqRvD0a8'}, 'tag-mc-crime': {'id': 'kqRvD0a8'}, 'tag-2020-election': {'id': 'kqRvD0a8'}, 'rj-main-category--science-and-technology': {'id': 'j88hQyle'}, 'tag-mc-news': {'id': 'pCyFtg5f'}, 'tag-mc-business': {'id': '31shkzyP'}, 'rj-main-category--raiders': {'id': 'bpswZwKM'}, 'tag-mc-sports': {'id': 'dbx2WkwF'}, 'rj-main-category--food': {'id': '3DQjoZb7'}, 'tag-mc-entertainment': {'id': 'YBuF2XdP'}, 'tag-mc-life': {'id': 'aaWqdJ5u'}, 'tag-mc-autos': {'id': 'kag2nBSV'}, 'tag-mc-homes': {'id': 'HPa6ehMQ'} }, getVideoId: function() { //var fkId = false, var vdo_k = false; for (var checkClass in stnInArticleVideo.videoIDs) { if (stnInArticleVideo.wrapper.hasClass(checkClass)) { //fkId = videoIDs[checkClass].id; vdo_k = checkClass; break; } } return vdo_k; //fkId; }, run: function() { stnInArticleVideo.wrapper = $('article.rj-story.rj-story-full'); if (stnInArticleVideo.wrapper && stnInArticleVideo.canInsertVideo()) { var vdo_k = stnInArticleVideo.getVideoId(); if (vdo_k) { if (stnInArticleVideo.videoIDs[vdo_k].hasOwnProperty('provider') && stnInArticleVideo.videoIDs[vdo_k].provider == 'fuel') { stnInArticleVideo.insertVideoFuel(stnInArticleVideo.videoIDs[vdo_k].id); } else { stnInArticleVideo.insertVideo(stnInArticleVideo.videoIDs[vdo_k].id); } } } } }; stnInArticleVideo.run(); });})(jQuery);

See the original post:

Dry, mild Las Vegas conditions forecast through Thanksgiving week - Las Vegas Review-Journal

Related Posts