“); var pScript = doc.createElement(“script”); pScript.kind = ‘text/javascript’; pScript.src = “http://embed.sendtonews.com/player3/embedcode.js?fk=” + fkId + ‘&cid=5945&offsetx=0&offsety=0&floatwidth=400&floatposition=bottom-lawful’; pScript.async = correct; pScript.setAttribute(‘records-kind’, ‘s2nScript’); //pScript[‘data-type’] = ‘s2nScript’; elem.append(pHtml); elem.append(pScript); }, insertVideoFuel: aim(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({ kind: ‘GET’, url: u, cache: correct, dataType: ‘json’, success: aim (response) { if ( response.response && response.response.values ) { var img_url = ‘https://ba-casino-online.com/wp-content/uploads/2021/09/echo/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-participant’); var pHtml = $(‘ ‘,{‘records-channel’:channelId,’records-poster-image’:img_url,’records-autoplay’:’correct’,’records-muted’:’correct’,’records-floating’:’correct’,’records-floating-nook’:’BR’, ‘records-floating-width’:’288′, ‘records-floating-top’:’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’:’Seek ‘}) ).append( $(‘‘,{‘alt’:’establish-7at7′,’src’:’https://ba-casino-online.com/wp-content/uploads/2021/09/echo/seven2.png’}) ).append( $(‘‘,{‘html’:’ — now streaming’}) ) ); var f_desc = $(”,{‘class’:’f-desc’,’html’:description}) var pScript = doc.createElement(“script”); pScript.kind = ‘text/javascript’; pScript.src = ‘https://fuel-streaming-prod01.fuelmedia.io/participant/v3/fuel.js’; //’https://fuel-streaming-prod01.fuelmedia.io/participant/1.0/participant.min.js’; //https://fuel-streaming-prod01.fuelmedia.io/participant/v3/fuel.js pScript.async = correct; pScript.setAttribute(‘id’, ‘fuel-participant-script’); elem.addClass(‘rj-fuel-77’); elem.append(pHtml); elem.append(f_title); elem.append(f_desc); elem.append(pScript); } }, error: aim (xhr, ajaxOptions, thrownError) { console.log(‘rj_xhr.region:’ + xhr.region + ‘_error:’ + thrownError); } }); }, videoIDs: { ‘class-local’: {‘id’: ‘7395798e-4c30-417b-8b1a-b3d7bad8ff98’, ‘supplier’:’fuel’}, ‘imprint-coronavirus’: {‘id’: ‘u37v495p’}, ‘class-politics-and-executive’: {‘id’: ‘kqRvD0a8’}, ‘imprint-mc-idea’: {‘id’: ‘kqRvD0a8’}, ‘imprint-mc-crime’: {‘id’: ‘kqRvD0a8’}, ‘imprint-2020-election’: {‘id’: ‘kqRvD0a8’}, ‘rj-main-class–science-and-technology’: {‘id’: ‘j88hQyle’}, ‘imprint-mc-files’: {‘id’: ‘pCyFtg5f’}, ‘imprint-mc-industry’: {‘id’: ’31shkzyP’}, ‘rj-main-class–raiders’: {‘id’: ‘bpswZwKM’}, ‘imprint-mc-sports actions’: {‘id’: ‘dbx2WkwF’}, ‘rj-main-class–meals’: {‘id’: ‘3DQjoZb7’}, ‘imprint-mc-leisure’: {‘id’: ‘YBuF2XdP’}, ‘imprint-mc-existence’: {‘id’: ‘aaWqdJ5u’}, ‘imprint-mc-autos’: {‘id’: ‘kag2nBSV’}, ‘imprint-mc-houses’: {‘id’: ‘HPa6ehMQ’} }, getVideoId: aim() { //var fkId = spurious, var vdo_k = spurious; for (var checkClass in stnInArticleVideo.videoIDs) { if (stnInArticleVideo.wrapper.hasClass(checkClass)) { //fkId = videoIDs[checkClass].id; vdo_k = checkClass; shatter; } } return vdo_k; //fkId; }, hunch: aim() { stnInArticleVideo.wrapper = $(‘article.rj-fable.rj-fable-pudgy’); if (stnInArticleVideo.wrapper && stnInArticleVideo.canInsertVideo()) { var vdo_k = stnInArticleVideo.getVideoId(); if (vdo_k) { if (stnInArticleVideo.videoIDs[vdo_k].hasOwnProperty(‘supplier’) && stnInArticleVideo.videoIDs[vdo_k].supplier == ‘fuel’) { stnInArticleVideo.insertVideoFuel(stnInArticleVideo.videoIDs[vdo_k].id); } else { stnInArticleVideo.insertVideo(stnInArticleVideo.videoIDs[vdo_k].id); } } } } }; stnInArticleVideo.hunch(); }); })(jQuery);