14 recipes you won't believe actually existed in the 1970s (2024)

On MeTV Now

Vote now in Me Madness 2024: Fan-Favorite Episodes!

Up Next:

11:35PM The Twilight Zone

Up Next:

'); $videoEl.append('' + '' + ''); setTimeout(function(){ $('.mute-overlay').on('touchstart click', function(e){ if(e.handled === false) return; e.stopPropagation(); e.preventDefault(); e.handled = true; player.muted(false); //console.log("volumee " + WVM.activePlayer.volume()); $(this).hide(); $(this).css('display', 'none'); var currentTime = player.currentTime(); if(currentTime < 3){ player.currentTime(0); } var adsManager = player.ima.getAdsManager(); adsManager.setVolume(player.volume()); }); $('.video-close-floating').on('click', function(){ WVM['player_state' + videoId]['CANCEL_FLOATING'] = true; WVM.IS_FLOATING = false; window.dispatchEvent(WVM.FloatEventEnd); $('#media-container-' + videoId).css('width', "100%"); $('#media-container-' + videoId).removeClass('floating-video'); $('#media-placeholder-' + videoId).css('display', 'none'); player.pause(); WVM.NO_FLOAT_COOKIE(); var adsManager = player.ima.getAdsManager(); if(adsManager){ adsManager.pause(); } }); if(hideClose){ setTimeout(function(){ $('.video-close-floating').css('display', 'none'); $('.video-close-floating').remove(); }, 500); } }, 500); } else{ //wait 500 sec call again setTimeout(function(){ WVM.addMuteButton(videoId, player, hideClose); }, 500); } }; WVM.addFloatingAbility = function(videoId, player){ var deviceName = 'desktop'; if($('#media-container-' + videoId).length > 0){ if(deviceName == 'desktop'){ WVM.VIDEO_TOP = $('#media-container-' + videoId).offset().top; }else{ WVM.VIDEO_TOP = $('#media-container-' + videoId).offset().top - $('.next-dropdown-accordion').height(); } if(deviceName == 'desktop'){ WVM.VIDEO_HEIGHT = $('#html5-video-' + videoId).outerHeight(); }else{ WVM.VIDEO_HEIGHT = $('#html5-video-' + videoId).outerHeight(); } WVM.CONTAINER_HEIGHT = $('#media-container-' + videoId).height(); //console.log("container height: " + WVM.CONTAINER_HEIGHT); $(window).on( "resize", function() { if(deviceName == 'desktop'){ WVM.VIDEO_TOP = $('#media-container-' + videoId).offset().top; }else{ WVM.VIDEO_TOP = $('#media-container-' + videoId).offset().top - $('.next-dropdown-accordion').height(); } if(deviceName == 'desktop'){ WVM.VIDEO_HEIGHT = $('#html5-video-' + videoId).outerHeight(); }else{ WVM.VIDEO_HEIGHT = $('#html5-video-' + videoId).outerHeight(); } WVM.CONTAINER_HEIGHT = $('#media-container-' + videoId).height(); console.log("container height: " + WVM.CONTAINER_HEIGHT); }); //console.log("VIDEOTOP: " + WVM.VIDEO_TOP); //console.log("VIDEOHEIGHT: " + WVM.VIDEO_HEIGHT); $(window).on( "scroll", function() { if(!WVM.IS_FLOATING){ if(deviceName == 'desktop'){ WVM.CONTAINER_HEIGHT = $('#media-container-' + videoId).height(); }else{ WVM.CONTAINER_HEIGHT = $('#media-container-' + videoId + " .hlsvideo-wrapper").height() + $('#media-container-' + videoId + " .now-playing-container").height(); } } //var top = $('#media-container-' + videoId).offset().top; var offset = WVM.VIDEO_TOP + (WVM.VIDEO_HEIGHT / 2); var offsetBack = WVM.VIDEO_TOP; var changed = false; //console.log("VIDEOTOP: " + WVM.VIDEO_TOP); //console.log("VIDEOHEIGHT: " + WVM.VIDEO_HEIGHT); //console.log("scrolltop " + $(window).scrollTop()); //only float if playing var isPlaying = WVM['player_state' + videoId]['IS_PLAYING'] || WVM['player_state' + videoId]['AD_IS_PLAYING']; if(isPlaying){ $('.vjs-loading-spinner').hide(); } var offsetFloatAd = 99999999; if(deviceName == 'desktop' && $('#float_anchor').length > 0){ offsetFloatAd = $('#float_anchor').offset().top - WVM.VIDEO_HEIGHT; //console.log("float anchor offset top " + offsetFloatAd); } if($(window).scrollTop() > offset && isPlaying && !WVM['player_state' + videoId]['CANCEL_FLOATING']){ $('#media-placeholder-' + videoId).height(WVM.CONTAINER_HEIGHT); $('#media-placeholder-' + videoId).css('display', 'block'); if(!WVM.IS_FLOATING){ changed = true; window.dispatchEvent(WVM.FloatEventStart); } WVM.IS_FLOATING = true; $('#media-container-' + videoId).addClass('floating-video'); //set right var sWidth = window.innerWidth || document.documentElement.clientWidth; var sHeight = window.innerHeight || document.documentElement.clientHeight; if(sWidth > 700 && WADS.IS_STICKING){ $('#media-container-' + videoId).addClass('desktop-ad-is-sticky'); }else if(!WADS.IS_STICKING){ $('#media-container-' + videoId).removeClass('desktop-ad-is-sticky'); } if(sWidth <= 700 && WADS.IS_STICKING){ $('#media-container-' + videoId).addClass('mobile-ad-is-sticky'); }else if(sWidth <= 700 && !WADS.IS_STICKING){ $('#media-container-' + videoId).removeClass('mobile-ad-is-sticky'); } if(deviceName == 'desktop' || sWidth > 900){ var leftPos2 = $('aside').get(0).getBoundingClientRect().left; var leftPos = $('aside').offset().left - 50; $('#media-container-' + videoId).css('left', leftPos + "px"); var newWidth = Math.floor(sWidth / 3.5); $('#media-container-' + videoId).css('width', newWidth + "px"); } else{ $('#media-container-' + videoId).css('width', "100% !important"); if(!WVM['player_state' + videoId]['PROMO_PLAYER']){ $('#media-container-' + videoId + ' .now-playing-container').css('display', 'block'); $('#media-container-' + videoId + ' .next-dropdown-accordion').css('display', 'block'); } } if(sWidth < 900 && sWidth > 500 && WVM['player_state' + videoId]['PROMO_PLAYER']){ $('#media-container-' + videoId).addClass('floating-video'); $('#media-container-' + videoId).addClass('mobile-container'); $('#media-container-' + videoId).addClass('promo-playlist'); } //floating-video $('#media-container-' + videoId + " " + '.page-carousel-wrapper').hide(); setTimeout(function(){ var hWrapper = $('.floating-video .hlsvideo-wrapper').height(); var npWidth = $('.floating-video .now-playing-container').height(); var ndWidth = $('.floating-video .next-dropdown-header').height() + 20; var scrollerHeight = sHeight - (hWrapper + npWidth + ndWidth); scrollerHeight = 180; //scrollerHeight = parseInt(scrollerHeight * 0.5); if(WVM.device_name == 'desktop'){ $('#media-container-' + videoId + " " + " .mobile-list-videos").height(scrollerHeight); } }, 100); } if($(window).scrollTop() < offsetBack || $(window).scrollTop() > offsetFloatAd){ if(WVM.IS_FLOATING){ changed = true; window.dispatchEvent(WVM.FloatEventEnd); } WVM.IS_FLOATING = false; $('#media-container-' + videoId).css('width', "100%"); $('#media-container-' + videoId).removeClass('desktop-ad-is-sticky'); $('#media-container-' + videoId).removeClass('mobile-ad-is-sticky'); $('#media-container-' + videoId).removeClass('floating-video'); $('#media-placeholder-' + videoId).css('display', 'none'); $('#media-container-' + videoId + ' .now-playing-container').css('display', 'block'); if(WVM['player_state' + videoId]['PROMO_PLAYER']){ $('#media-container-' + videoId + ' .now-playing-container').css('display', 'none'); $('#media-container-' + videoId + ' .next-dropdown-accordion').css('display', 'none'); } } if($('#next-dropdown-accordion-button-' + videoId).find('i').hasClass('fa-chevron-up')){ if(deviceName == "desktop" && !$('#media-container-' + videoId).hasClass('floating-video')){ $('#media-container-' + videoId + " " + '.page-carousel-wrapper').show(); $('#media-container-' + videoId + " " + '.mobile-list-wrapper').hide(); //console.log("showing desktop"); if(!WVM.player_state240387['CAROUSEL_INIT']){ WVM.setupCarousel(videoId); } }else{ if(changed){ //default closed for mobile/floating player $('#next-dropdown-accordion-button-' + videoId).find('i').removeClass('fa-chevron-up'); $('#next-dropdown-accordion-button-' + videoId).find('i').addClass('fa-chevron-down'); $('#media-container-' + videoId + " " + '.page-carousel-wrapper').hide(); $('#media-container-' + videoId + " " + '.mobile-list-wrapper').hide(); var currVideoId = WVM['player_state' + videoId]['VIDEO_ID']; if(currVideoId == '9999999999'){ currVideoId = WVM.playlist_ids[0]; } var nextVideoId = WVM.getNextPlaylistIndex(currVideoId); var myTitle = WVM.getPlaylistData(videoId, currVideoId, 'noprefixtitle'); $('#video-slider-nexttitle' + videoId).css('display', 'inline'); $('#video-slider-nexttitle' + videoId).html(myTitle); }else{ $('#media-container-' + videoId + " " + '.page-carousel-wrapper').hide(); $('#media-container-' + videoId + " " + '.mobile-list-wrapper').show(); } } }else{ $('#media-container-' + videoId + " " + '.page-carousel-wrapper').hide(); $('#media-container-' + videoId + " " + '.mobile-list-wrapper').hide(); } } ); $('#media-container-' + videoId + ' .video-close').on('click',function(){ //set back to paused and stop floating WVM['player_state' + videoId]['CANCEL_FLOATING'] = true; WVM.IS_FLOATING = false; window.dispatchEvent(WVM.FloatEventEnd); $('#media-container-' + videoId).css('width', "100%"); $('#media-container-' + videoId).removeClass('desktop-ad-is-sticky'); $('#media-container-' + videoId).removeClass('mobile-ad-is-sticky'); $('#media-container-' + videoId).removeClass('floating-video'); $('#media-placeholder-' + videoId).css('display', 'none'); WVM.NO_FLOAT_COOKIE(); player.pause(); player.ima.getAdsManager().pause(); }); } }; WVM.setupCarousel = function(fullVideoId, player){ // initialize Masonry after all images have loaded //alert("setting up carousel"); console.log("setting up carousel on desktop"); $('#page-carousel-' + fullVideoId).css('display', 'block'); WVM['player_state' + fullVideoId]['CAROUSEL_INIT'] = true; if($('#page-carousel-' + fullVideoId).length > 0){ var container = document.querySelector('#page-carousel-' + fullVideoId); imagesLoaded( container, function() { var screenWidth = window.innerWidth || document.documentElement.clientWidth; if(screenWidth > 850){ //alert("setting up carousel3"); WVM.IS_DESKTOP = true; $('#page-carousel-' + fullVideoId + ' .page-carousel-lg-slides').css('display', 'block'); WVM['player_settings' + fullVideoId].slider = $('#page-carousel-' + fullVideoId).owlCarousel({ loop: false, center: false, nav: false, dots: false, autoplay: false, autoplayHoverPause: true, margin: 25, responsiveClass: true, animateOut: 'slideOutDown', animateIn: 'flipInX', navText : ["",""], responsive:{ 0:{ items:3 } } }); }else{ WVM.IS_DESKTOP = false; $('.page-carousel-wrapper').css('display', 'block'); } }); } }; WVM.setupToggleButton = function(fullVideoId, player){ if($('.nextplay-switch-' + fullVideoId).length > 0){ new DG.OnOffSwitchAuto({ cls:'.nextplay-switch-' + fullVideoId, height: 24, trackColorOn:'#F9F9F9', trackColorOff:'#222', textColorOn: '#222', textColorOff: '#222', textOn:'On', textOff:'Off', listener:function(name, checked){ var theVal = 1; if(!checked){ theVal = 0; } $.ajax({ url: '/ajax/update_autoplay_video/', data: { autoplay_on: theVal }, type: 'POST', dataType: 'json', success: function(data) { WVM['player_settings' + fullVideoId]['autoplay'] = checked; }, error : function(){ console.log("Error loading video"); } }); } }); } }; WVM.setupAccordionButton = function(fullVideoId){ var deviceName = 'desktop'; $('#next-dropdown-accordion-button-' + fullVideoId).on('click', function(){ if($(this).find('i').hasClass('fa-chevron-up')){ //hide $(this).find('i').removeClass('fa-chevron-up'); $(this).find('i').addClass('fa-chevron-down'); if(deviceName == "desktop" && !$('#media-container-' + fullVideoId).hasClass('floating-video')){ $('#media-container-' + fullVideoId + " " + '.page-carousel-wrapper').slideUp(); $('#media-container-' + fullVideoId + " " + '.mobile-list-wrapper').hide(); }else{ $('#media-container-' + fullVideoId + " " + '.mobile-list-wrapper').slideUp(); $('#media-container-' + fullVideoId + " " + '.page-carousel-wrapper').hide(); } var currVideoId = WVM['player_state' + fullVideoId]['VIDEO_ID']; if(currVideoId == '9999999999'){ currVideoId = WVM.playlist_ids[0]; } var nextVideoId = WVM.getNextPlaylistIndex(currVideoId); //playerId, mediaId, fieldName var myTitle = WVM.getPlaylistData(fullVideoId, nextVideoId, 'noprefixtitle'); //alert("Getting title " + myTitle); $('#video-slider-nexttitle' + fullVideoId).css('display', 'inline'); $('#video-slider-nexttitle' + fullVideoId).html(myTitle); }else{ //expand $(this).find('i').addClass('fa-chevron-up'); $(this).find('i').removeClass('fa-chevron-down'); $('#media-container-' + fullVideoId + " " + '.mobile-list-wrapper').css('display', 'block'); if(deviceName == "desktop" && !$('#media-container-' + fullVideoId).hasClass('floating-video')){ $('#media-container-' + fullVideoId + " " + '.page-carousel-wrapper').css('display', 'block'); $('#media-container-' + fullVideoId + " " + '.page-carousel-wrapper').slideDown(); $('#media-container-' + fullVideoId + " " + '.mobile-list-wrapper').hide(); if(!WVM.player_state240387['CAROUSEL_INIT']){ WVM.setupCarousel(fullVideoId); } }else{ $('#media-container-' + fullVideoId + " " + '.mobile-list-wrapper').slideDown(); $('#media-container-' + fullVideoId + " " + '.page-carousel-wrapper').hide(); if(!$('#media-container-' + fullVideoId).hasClass('floating-video')){ if(!WVM.player_state240387['CAROUSEL_INIT']){ WVM.setupCarousel(fullVideoId); } } } $('#video-slider-nexttitle' + fullVideoId).css('display', 'none'); } }); var currVideoId = WVM['player_state' + fullVideoId]['VIDEO_ID']; if(currVideoId == '9999999999'){ currVideoId = WVM.playlist_ids[0]; } //console.log("current Video " + currVideoId); var nextVideoId = WVM.getNextPlaylistIndex(currVideoId); var myTitle = WVM.getPlaylistData(fullVideoId, nextVideoId, 'noprefixtitle'); //console.log("setting title " + myTitle); $('#video-slider-nexttitle' + fullVideoId).css('display', 'inline'); $('#video-slider-nexttitle' + fullVideoId).html(myTitle); }; WVM.sendbeacon = function(action, nonInteraction, value, eventLabel) { if(WCS.ONLY_CONTENT || WEBVIEW.is_webview){ WEBVIEW.log_stats("video-" + action, value, WCS.THREAD_URL); var eventCategory = 'app_video'; if (window.gtag) { gtag('event', action, { 'event_category': eventCategory, 'event_label': eventLabel, 'value': value, 'non_interaction': nonInteraction }); } }else{ console.log('test'); var eventCategory = 'video'; if (window.gtag) { gtag('event', action, { 'event_category': eventCategory, 'event_label': eventLabel, 'value': value, 'non_interaction': nonInteraction }); } } }; WVM.getNextPlaylistIndex = function(mediaId, returnArrayIndex){ var currId = null; if(mediaId == null){ return null; } var found = false; for(var x =0; x < WVM.playlist_ids.length; x++){ var myMediaId = WVM.playlist_ids[x]; if(myMediaId == mediaId){ found = true; currId = myMediaId; break; } } var nextId = x + 1; if(nextId < WVM.playlist_ids.length && currId !== null){ if(!returnArrayIndex){ return WVM.playlist_ids[nextId]; }else{ return nextId; } } return null; }; WVM.getPlaylistArrayId = function(mediaId){ for(var x =0; x < WVM.playlist_ids.length; x++){ var myMediaId = WVM.playlist_ids[x]; if(myMediaId == mediaId){ return x; } } return null; }; //unimportant stuff like tracking... don't put anything platform specific here WVM.finishPlayer = function(player, playerState, playerSettings){ var percentsPlayedInterval = 25; //player.off('ready'); player.on('ready', function(){ playerState.PLAYER_READY = true; }); //player.off(['waiting', 'pause']); player.on(['waiting', 'pause'], function() { playerState.IS_PLAYING = false; $('.vjs-loading-spinner').removeClass('badspinner'); }); //player.off('playing'); player.on('playing', function() { console.log('playing'); }); player.on('loadedmetadata', function(){ if(playerState.PLAYER_META){ return; } playerState.PLAYER_META = true; var currId = playerState.VIDEO_ID; if(currId == '9999999999'){ currId = WVM.playlist_ids[0]; } if(!playerState.PROMO_PLAYER){ WVM.sendbeacon("loadedmetadata", true, currId, playerState.VIDEO_TITLE); }else{ WVM.sendbeacon("promoloadedmetadata", true, currId, playerState.VIDEO_TITLE); } }); //player.off('adstart'); player.on('adstart', function(){ console.log("starting ads"); WVM.lastAdRequest = new Date().getTime() / 1000; playerState.AD_IS_PLAYING = true; playerState.PLAYED_AD = true; var currId = playerState.VIDEO_ID if(currId == '9999999999'){ currId = WVM.playlist_ids[0]; } if(!playerState.PROMO_PLAYER){ WVM.sendbeacon("adstart", true, currId, playerState.VIDEO_TITLE); } else{ WVM.sendbeacon("promoadstart", true, currId, playerState.VIDEO_TITLE); } }); //player.off('adend'); player.on('adend', function(){ var playPromise = null; console.log("ad end"); playerState.AD_IS_PLAYING = false; setTimeout(function(){ if(!playerState.IS_PLAYING || player.paused()){ } }, 500); WVM.lastAdRequest = new Date().getTime() / 1000; var currId = playerState.VIDEO_ID; if(currId == '9999999999'){ currId = WVM.playlist_ids[0]; } if(!playerState.PROMO_PLAYER){ WVM.sendbeacon("adend", true, currId, playerState.VIDEO_TITLE); } else{ WVM.sendbeacon("promoadend", true, currId, playerState.VIDEO_TITLE); } }); //player.off('timeupdate'); player.on('timeupdate', function(){ playerState.IS_PLAYING = true; var fullDuration = this.duration() * 1000; var fullCurrent = this.currentTime() * 1000; var rand = parseInt(Math.random() * 100); //console.log("timeupdate " + fullCurrent + " out of " + fullDuration); if(rand > 20){ if(fullDuration > 1 && ((fullDuration - fullCurrent) > 1) && !$('.vjs-loading-spinner').hasClass('badspinner')){ console.log("hiding spinner"); $('.vjs-loading-spinner').addClass('badspinner'); } } var duration_time = Math.floor(this.duration()); //this is a hack because the end video event is not firing... var current_time = Math.floor(this.currentTime()); if ( current_time > 0 && ( fullCurrent >= (fullDuration - 10) )){ var currId = playerState.VIDEO_ID; if(currId == '9999999999'){ currId = WVM.playlist_ids[0]; } var newMediaId = WVM.getNextPlaylistIndex(currId); //if(playerSettings.autoplay_next && newMediaId){ if(newMediaId){ if('desktop' == "iphone" && playerState.AD_ERROR){ console.log("skipped timeupdate end"); }else{ WVM.load_video(newMediaId, true, playerState.ORIGINAL_ID); } } } if(!playerState.START_SENT){ if(!playerState.PROMO_PLAYER){ WVM.sendbeacon('start', true, currId, playerState.VIDEO_TITLE); }else{ WVM.sendbeacon('promostart', true, currId, playerState.VIDEO_TITLE); } playerState.START_SENT = true; } var currentTime, duration, percent, percentPlayed, _i; currentTime = Math.round(this.currentTime()); duration = Math.round(this.duration()); percentPlayed = Math.round(currentTime / duration * 100); for (percent = _i = 0; _i <= 99; percent = _i += percentsPlayedInterval) { if (percentPlayed >= percent && __indexOf.call(playerState['PERCENTS_TRACKED'], percent) < 0) { if (percentPlayed !== 0) { if(!playerState.PROMO_PLAYER){ WVM.sendbeacon('percent-' + percent, true, currId, playerState.VIDEO_TITLE); } else{ WVM.sendbeacon('promopercent-' + percent, true, currId, playerState.VIDEO_TITLE); } } if (percentPlayed > 0) { playerState['PERCENTS_TRACKED'].push(percent); } } } }); //player.off('ended'); player.on('ended', function(){ console.log("ended"); playerState.IS_PLAYING = false; var currId = playerState.VIDEO_ID; if(currId == '9999999999'){ currId = WVM.playlist_ids[0]; } if(!playerState.PROMO_PLAYER){ WVM.sendbeacon("complete", true, currId, playerState.VIDEO_TITLE); } else{ WVM.sendbeacon("promocomplete", true, currId, playerState.VIDEO_TITLE); } console.log("current id " + currId); console.log("playlist ids"); console.log(WVM.playlist_ids); var newMediaId = WVM.getNextPlaylistIndex(currId); //if(playerSettings.autoplay_next && newMediaId){ if(newMediaId){ WVM.load_video(newMediaId, true, playerState.ORIGINAL_ID); }else{ var videoId = playerState.ORIGINAL_ID; WVM['player_state' + videoId]['CANCEL_FLOATING'] = true; WVM.IS_FLOATING = false; window.dispatchEvent(WVM.FloatEventEnd); $('#media-container-' + videoId).css('width', "100%"); $('#media-container-' + videoId).removeClass('floating-video'); $('#media-placeholder-' + videoId).css('display', 'none'); console.log("Playlist complete (no more videos)"); } }); //player.off('adserror'); player.on('adserror', function(e){ //$('#ima-ad-container').remove(); WVM.lastAdRequest = new Date().getTime() / 1000; console.log(e); console.log("ads error"); var errMessage = e['data']['AdError']['l']; playerState.AD_IS_PLAYING = false; playerState.IS_PLAYING = false; // && errMessage == 'The VAST response document is empty.' if(!playerState.AD_ERROR){ var dTime = new Date().getTime(); WVM.firstPrerollTagUrl = WVM.getFirstPrerollUrl(); //console.log("not calling backup ad tag url: " + WVM.adTagUrl); /* WVM.activePlayer.ima.changeAdTag(WVM.adTagUrl + "?" + dTime); WVM.activePlayer.ima.requestAds(); //reload src WVM.activePlayer.src({ src: masterSrc, type: 'video/mp4' }); //firefox *really* hates this load event WVM.activePlayer.load(); */ } playerState.AD_ERROR = true; }); //player.off('error'); player.on('error', function(event) { if (player.error().code === 4) { player.error(null); // clear out the old error player.options().sources.shift(); // drop the highest precedence source console.log("now doing src"); console.log(player.options().sources[0]); player.src(player.options().sources[0]); // retry return; } }); //player.off('volumechange'); player.on('volumechange', function(event) { console.log(event); var theHeight = $('#media-container-' + playerState.ORIGINAL_ID + ' .vjs-volume-level').css('height'); var cssVolume = 0; if(theHeight){ cssVolume = parseInt(theHeight.replace('%', '')); } var theVolume = player.volume(); if(theVolume > 0.0 || cssVolume > 0){ $('#media-container-' + playerState.ORIGINAL_ID + ' .mute-overlay').css('display', 'none'); }else{ $('#media-container-' + playerState.ORIGINAL_ID + ' .mute-overlay').css('display', 'block'); } }); //WVM.reinitRawEvents(playerState.ORIGINAL_ID); //setInterval(function(){ // WVM.reinitRawEvents(playerState.ORIGINAL_ID); //}, 2000); WVM.allPlayers.push(player); } if(!WVM.rawCompleteEvent){ WVM.rawCompleteEvent = function(e){ var playerState = WVM['player_state240387']; }; } if(!WVM.rawTimeupdateEvent){ WVM.rawTimeupdateEvent = function(e){ var playerState = WVM['player_state240387']; var rawVideoElem = document.getElementById('html5-video-' + playerState['ORIGINAL_ID'] + '_html5_api'); var fullCurrent = rawVideoElem.currentTime * 1000; var fullDuration = rawVideoElem.duration * 1000; var current_time = Math.floor(rawVideoElem.currentTime); console.log("raw timeupdate: " + fullCurrent + " out of " + fullDuration); if ( current_time > 0 && ( fullCurrent >= (fullDuration - 50) )){ var currId = playerState.VIDEO_ID; if(currId == '9999999999'){ currId = WVM.playlist_ids[0]; } var newMediaId = WVM.getNextPlaylistIndex(currId); if(newMediaId){ console.log("loading new video from rawtimeupdate"); WVM.load_video(newMediaId, true, playerState.ORIGINAL_ID); } } if(!$('.vjs-loading-spinner').hasClass('badspinner')){ $('.vjs-loading-spinner').addClass('badspinner') } }; } WVM.reinitRawEvents = function(playerId){ var playerState = WVM['player_state' + playerId]; var rawVideoElem = document.getElementById('html5-video-' + WVM['player_state' + playerId]['ORIGINAL_ID'] + '_html5_api'); //COMPLETE EENT if( WVM['player_state' + playerId].COMPLETE_EVENT){ rawVideoElem.removeEventListener('ended', WVM.rawCompleteEvent, false); } rawVideoElem.addEventListener('ended', WVM.rawCompleteEvent, false); //TIME UPDATE EVENT if( WVM['player_state' + playerId].TIMEUPDATE_EVENT){ rawVideoElem.removeEventListener('ended', WVM.rawTimeupdateEvent, false); } rawVideoElem.addEventListener('ended', WVM.rawTimeupdateEvent, false); WVM['player_state' + playerId].COMPLETE_EVENT = true; WVM['player_state' + playerId].TIMEUPDATE_EVENT = true; };

'); } $('#media-container-' + playerId + ' a.videolink').removeClass('selected'); $('#media-container-' + playerId + ' a#videolink2_' + mediaID).addClass('selected'); $('#media-container-' + playerId + ' a#videolink_' + mediaID).addClass('selected'); $('#media-container-' + playerId + ' h5').removeClass('selected'); $('#media-container-' + playerId + ' a#videolink2_' + mediaID).parent().addClass('selected'); $('#media-container-' + playerId + ' a#videolink_' + mediaID).parent().addClass('selected'); $('#media-container-' + playerId + ' #video-slider-nexttitle' + playerId).html(NEXT_TITLE); $('#video-slider-nexttitle' + playerId).css('display', 'inline'); $('#video-slider-nexttitle' + playerId).html(NEXT_TITLE); if(WVM['player_settings' + playerId].slider !== null) { playerSettings.slider.trigger('to.owl.carousel', [0, 1]); //WVM['player_settings' + playerId].slider.goToSlide(0); } WVM.activePlayer.pause(); var sixtySecondsAgo = (new Date().getTime() / 1000) - 60; //console.log(sixtySecondsAgo + " VS "); //console.log(WVM.lastAdRequest); playerState.START_SENT = false; playerState.PERCENTS_TRACKED = []; var has_prerolls = true; try { var playPromise = null; //WVM.activePlayer.reset(); //wvm console.log("change ad " + changeAd); console.log(WVM.lastAdRequest); console.log(sixtySecondsAgo); if(changeAd && (WVM.lastAdRequest < sixtySecondsAgo)){ var dTime = new Date().getTime(); console.log("requesting ad " + WVM.adTagUrl); //alert("requesting ad " + WVM.adTagUrl); var adTag = ''; if(WVM.adTagUrl != ''){ adTag = WVM.adTagUrl + WVM.getCustomParams("ap", "1", "1") + "?" + dTime; if(!playerState.PROMO_PLAYER){ WVM.sendbeacon("adcall", true, '240387', WVM.adTagUrl); }else{ WVM.sendbeacon("promoadcall", true, '240387', WVM.adTagUrl); } } WVM.activePlayer.ima.changeAdTag(adTag); WVM.activePlayer.ima.requestAds(); WVM.activePlayer.src({ src: masterSrc, type: 'video/mp4' }); //firefox *really* hates this load event WVM.activePlayer.load(); playPromise = WVM.activePlayer.play(); //play will be handled by adend $('#media-container-' + playerId + ' .vjs-loading-spinner').addClass('badspinner'); }else{ //alert("master src " + masterSrc); WVM.activePlayer.src({ src: masterSrc, type: 'video/mp4' }); WVM.activePlayer.load(); playPromise = WVM.activePlayer.play(); $('#media-container-' + playerId + ' .vjs-loading-spinner').addClass('badspinner'); } WVM.ACTIVE_PLAYING = true; var oldTracks = WVM.activePlayer.remoteTextTracks(); var i = oldTracks.length; while (i--) { WVM.activePlayer.removeRemoteTextTrack(oldTracks[i]); } if(hasCaptions == 'yes'){ WVM.activePlayer.addRemoteTextTrack({ kind: 'captions', srclang: "en", label:'English', src: captionUrl }, false); } //console.log("date2 " + new Date().getTime()); if(playPromise !== null){ WVM.printPromise(playPromise, "adend"); } } catch(error) { console.error(error); //alert("There was an error in the video player."); //reset the stupid player for being stupid WVM.activePlayer.reset(); } setTimeout(function(){ var isPlaying = WVM['player_state' + playerId]['IS_PLAYING'] || WVM['player_state' + playerId]['AD_IS_PLAYING']; if(!isPlaying){ //alert("restarting because stupid"); console.log("restarting because not started after loaded"); playPromise = WVM.activePlayer.play(); if(playPromise !== null){ WVM.printPromise(playPromise, "adend"); } } }, 300); var theHeight = $('#media-container-' + playerState.ORIGINAL_ID + ' .vjs-volume-level').css('height'); var cssVolume = 0; if(theHeight){ cssVolume = parseInt(theHeight.replace('%', '')); } var theVolume = WVM.activePlayer.volume(); if(theVolume > 0.0 || cssVolume > 0){ $('#media-container-' + playerState.ORIGINAL_ID + ' .mute-overlay').css('display', 'none'); }else{ $('#media-container-' + playerState.ORIGINAL_ID + ' .mute-overlay').css('display', 'block'); } //cant believe I have to do this.... re-init all events //WVM.finishPlayer(WVM.activePlayer, playerState, playerSettings); } } function checkUnmutedAutoplaySupport(callback) { canAutoplay.video({ timeout: 500, muted: false }) .then(({ result, error }) => { if(result === false) { // Unmuted autoplay is not allowed. checkMutedAutoplaySupport(callback); } else { // Unmuted autoplay is allowed. WVM.autoplayAllowed = true; WVM.autoplayRequiresMute = false; callback(); } }) } function checkMutedAutoplaySupport(callback) { canAutoplay .video({ timeout: 500, muted: true }) .then(({ result, error }) => { if(result === false) { // Muted autoplay is not allowed. WVM.autoplayAllowed = false; WVM.autoplayRequiresMute = false; } else { // Muted autoplay is allowed. WVM.autoplayAllowed = true; WVM.autoplayRequiresMute = true; } callback(); }); } WVM.autoplayAllowed = false; WVM.autoplayRequiresMute = false; WVM.printPromise = function(playPromise, theType){ if (playPromise !== undefined) { playPromise.then(_ => { console.log("PLAY-PROMISE: success for " + theType); }) .catch(error => { console.log("PLAY-PROMISE: failure for " + theType); }); } }; WVM.DO_STARTUP240387 = function(){ var didCheck; if(!didCheck){ checkUnmutedAutoplaySupport(function(){ console.log("is promo"); var maxTries = 10; var imagesInterval = window.setInterval(function(){ try{ if(!google){ console.log("no ads"); } }catch(exx){ console.log("no ads"); window.clearInterval(imagesInterval); } var screenWidth = window.innerWidth || document.documentElement.clientWidth; if(screenWidth >= 900){ initPlayer240387(); window.clearInterval(imagesInterval); }else if(screenWidth < 900) { var $promo_mobile = $('#promo_player_mobile'); var $playerElement = $('#promo_player_desktop').first(); $('#promo_player_desktop').first().detach(); $promo_mobile.append($playerElement); setTimeout(function(){ $('.desktop-only').remove(); initPlayer240387(); }, 100); //initPlayer240387(); window.clearInterval(imagesInterval); } else{ console.log("imagesloaded waiiiiiitting"); } }, 500); }); didCheck = true; }else{ var imagesInterval = window.setInterval(function(){ var screenWidth = window.innerWidth || document.documentElement.clientWidth; var playerId = 240387; if(screenWidth > 900){ $('.mobile-only').remove(); initPlayer240387(); }else if(screenWidth <= 900){ var $promo_mobile = $('#promo_player_mobile'); var $playerElement = $('#promo_player_desktop').first(); $('#promo_player_desktop').first().detach(); $promo_mobile.append($playerElement); setTimeout(function(){ $('.desktop-only').remove(); initPlayer240387(); }, 100); } window.clearInterval(imagesInterval); }, 500); } }; WVM.load_script = function(uri){ return new Promise((resolve, reject) => { var tag = document.createElement('script'); tag.src = uri; tag.async = true; tag.onload = () => { resolve(); }; var s = document.getElementsByTagName('head')[0]; s.appendChild(tag); }); }; var maxWaitTime = 80; var startInterval240387 = setInterval(function(){ var COLLECTORS_CALL = false; var FIRST_TIME_VISITOR = true; if(typeof(TOP_AD_VIEWED) == "undefined"){ TOP_AD_VIEWED = false; } if(WEBVIEW.is_webview || TOP_AD_VIEWED || COLLECTORS_CALL || FIRST_TIME_VISITOR || maxWaitTime < 0){ WVM.DO_STARTUP240387(); window.clearInterval(startInterval240387); }else{ maxWaitTime--; } }, 100); // Helper function to check if element is in view function isElementInView(element) { const rect = element.getBoundingClientRect(); return ( rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth) ); } // Function to toggle video playback function toggleVideoPlayback(video, isVisible) { let propertyName = 'player_state' + '240387'; //console.log(240387) //console.log(propertyName); // To see what property name is formed console.log(WVM[propertyName].AD_IS_PLAYING); // If the above log shows correct property name if (WVM[propertyName].AD_IS_PLAYING == true) return; if (!WVM.activePlayer) return; if (isVisible) { WVM.activePlayer.play(); } else { WVM.activePlayer.pause(); } } // Event handler for scroll and resize events function checkVideoVisibility() { const videoPlayer = document.getElementById('html5-video-240387'); // Replace with your video element ID const isVisible = isElementInView(videoPlayer); toggleVideoPlayback(videoPlayer, isVisible); } // Add scroll and resize event listeners window.addEventListener('scroll', checkVideoVisibility); window.addEventListener('resize', checkVideoVisibility); // Initial check checkVideoVisibility();

14 recipes you won't believe actually existed in the 1970s (2024)

FAQs

What food was invented in 1970s? ›

1970: Orville Redenbacher's Gourmet Popping Corn is introduced. Agronomist Redenbacher has found a yellow corn that expands nearly twice as much as other brands. In five years, it will be the country's largest-selling brand. 1970: Hamburger Helper is introduced.

What was the terrifying world of 1970s party food? ›

Seafood mousse -- While going through her mother's binders of recipes, Pallai uncovered outlandish, and often nightmarish, creations such as this fish. Tomato Aspic -- Aspic, a savory jello rarely to be found on modern dinner tables, features heavily, often with meat or vegetables suspended inside it.

What food was popular in 1977? ›

What Food People Were Obsessed With the Year You Were Born
  • 1971: Eggs Benedict. Getty. ...
  • 1972: Tequila Sunrise. Getty. ...
  • 1973: Fondue. Getty. ...
  • 1974: Granola. Getty. ...
  • 1975: Pasta Primavera. Getty. ...
  • 1976: General Tso's Chicken. Getty. ...
  • 1977: Buffalo Wings. Getty. ...
  • 1978: Croissants. Getty.
Jul 5, 2016

What was the menu for the classic 70s dinner party? ›

Our 15 Most Popular Dinner Party Recipes From the 1970s
  • 01 of 16. Cheese Ball. View Recipe. ...
  • 02 of 16. Cheese Fondue. View Recipe. ...
  • 03 of 16. Hawaiian Meatballs. ...
  • 04 of 16. Green Goddess Dressing. ...
  • 05 of 16. Seven Layer Salad. ...
  • 06 of 16. Chef John's Beef Goulash. ...
  • 07 of 16. Melinda's Porcupine Meatballs. ...
  • 08 of 16. Chef John's Pasta Primavera.
Jun 30, 2022

What was 70s hippie food? ›

The cuisine that the counterculture took to in the late 1960s, and then helped introduce to the mainstream in the 1970s, embraced whole grains and legumes; organic, fresh vegetables; soy foods like tofu and tempeh; nutrition-boosters like wheat germ and sprouted grains; and flavors from Eastern European, Asian, and ...

What food was invented in 1972? ›

1972: McDonald's Egg McMuffin

To entice breakfast customers, owner Herb Peterson layered Canadian bacon, eggs and cheese on an English muffin. He even created the mold for that innovative round egg. Learn how to make a copycat Egg McMuffin at home.

What was in 70s buffet? ›

Quiche, vol-au-vents, chicken wings… Part of a sketch from the famous comedian Peter Kay, pair this list with other 70s recipes such as blancmange and cheese and pineapple sticks, and this line-up of pick and mix buffet food is no longer just a part of a joke.

What was the best food in the 1970s? ›

18 retro dishes from your childhood
  1. Bombe Alaska. Nothing screams the 70s quite like sponge, ice cream and meringue drenched in rum and set on fire, right? ...
  2. Vol-au-vents. ...
  3. Mini ham and pineapple pizzas. ...
  4. Battenberg cake. ...
  5. Scotch eggs. ...
  6. Cheese fondue. ...
  7. Crepes Suzette. ...
  8. Apricot chicken.

What food came out 1974? ›

Throwback Thursday: 5 Fun Food Ads From 1974
  • Kraft Singles. Is there anything more classically American than a grilled cheese sandwich? ...
  • Ragu Spaghetti Sauce. There are some timeless staples, and spaghetti sauce is no exception. ...
  • Kraft Squeez-A-Snak Cheese. ...
  • Kraft Real Mayonnaise. ...
  • Kraft Grated Parmesan Cheese.
Feb 20, 2014

What did people eat for breakfast in 1970? ›

People ate eggs, toast, bacon, sausage, cereal, milk, and juice. Breakfast bars and breakfast burritos weren't a thing then.

What did Americans eat in 1970? ›

You Know You're From the '70s When You Crave . . .
  • 1/11. Quiche. ...
  • Getty Images. 2/11. ...
  • Devon Scoble. 3/11. ...
  • 4/11. Hamburger Helper. ...
  • 5/11. Fondue. ...
  • 6/11. Pasta Primavera. ...
  • 7/11. Fajitas. ...
  • 8/11. Black Forest Torte.
Feb 10, 2022

How do you throw a 70s dinner party? ›

Serve snacks with '70s style
  1. Barbecue meatballs.
  2. Pigs-in-a-blanket.
  3. Cheese fondue.
  4. Ambrosia fruit salad.
  5. A cheeseball and crackers.
  6. Deviled eggs.
  7. Pineapple skewers.
  8. Cucumber sandwiches.
Mar 10, 2024

How do you throw a 70's theme party? ›

Go with some beaded curtains, green shag rugs, lava lamps, and tapestries if you want to do the rock-and-roll basem*nt theme. Don't skimp on the decorations, though—hang disco balls, beads, and tie-dyed everything. Set a fun, vibrant atmosphere with '70s party supplies, and the party will be a success.

What came out in the 70s? ›

Notable cultural events of the 1970s included the debut of the sports network ESPN and the release of the film classics The Godfather and Star Wars. Jaws made movie news by becoming the first summer blockbuster.

What food was created in 1974? ›

Throwback Thursday: 5 Fun Food Ads From 1974
  • Kraft Singles. Is there anything more classically American than a grilled cheese sandwich? ...
  • Ragu Spaghetti Sauce. There are some timeless staples, and spaghetti sauce is no exception. ...
  • Kraft Squeez-A-Snak Cheese. ...
  • Kraft Real Mayonnaise. ...
  • Kraft Grated Parmesan Cheese.
Feb 20, 2014

Was there fast food in the 1970s? ›

1970s fast food may not have been as "sophisticated" as the restaurants we have today, but boy was it fun! From Fun Meals to fast Mexican to pizza, you could…

Top Articles
Latest Posts
Article information

Author: Gregorio Kreiger

Last Updated:

Views: 6550

Rating: 4.7 / 5 (77 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Gregorio Kreiger

Birthday: 1994-12-18

Address: 89212 Tracey Ramp, Sunside, MT 08453-0951

Phone: +9014805370218

Job: Customer Designer

Hobby: Mountain biking, Orienteering, Hiking, Sewing, Backpacking, Mushroom hunting, Backpacking

Introduction: My name is Gregorio Kreiger, I am a tender, brainy, enthusiastic, combative, agreeable, gentle, gentle person who loves writing and wants to share my knowledge and understanding with you.