‘Ride on the Wild Side’ bike event returns to Milwaukee County Zoo

‘);

if(!WVM.IS_STREAMING){
$videoEl.append(‘‘ +
‘ +
‘);
}
setTimeout(serve as(){
$(‘.mute-overlay’).on(‘touchstart click on’, serve as(e){
if(e.treated === false) go back;
e.stopPropagation();
e.preventDefault();
e.treated = true;

participant.muted(false);
//console.log(“volumee ” + WVM.activePlayer.quantity());
$(this).conceal();
$(this).css(‘show’, ‘none’);
var currentTime = participant.currentTime();
if(currentTime 0){
if(deviceName == ‘desktop’){
WVM.VIDEO_TOP = $(‘#media-container-‘ + videoId).offset().best;
}else{
WVM.VIDEO_TOP = $(‘#media-container-‘ + videoId).offset().best – $(‘.next-dropdown-accordion’).peak();
}
if(deviceName == ‘desktop’){
WVM.VIDEO_HEIGHT = $(‘#html5-video-‘ + videoId).outerHeight();
}else{
WVM.VIDEO_HEIGHT = $(‘#html5-video-‘ + videoId).outerHeight();
}
WVM.CONTAINER_HEIGHT = $(‘#media-container-‘ + videoId).peak();
//console.log(“container peak: ” + WVM.CONTAINER_HEIGHT);
$(window).on( “resize”, serve as() {
if(deviceName == ‘desktop’){
WVM.VIDEO_TOP = $(‘#media-container-‘ + videoId).offset().best;
}else{
WVM.VIDEO_TOP = $(‘#media-container-‘ + videoId).offset().best – $(‘.next-dropdown-accordion’).peak();
}
if(deviceName == ‘desktop’){
WVM.VIDEO_HEIGHT = $(‘#html5-video-‘ + videoId).outerHeight();
}else{
WVM.VIDEO_HEIGHT = $(‘#html5-video-‘ + videoId).outerHeight();
}
WVM.CONTAINER_HEIGHT = $(‘#media-container-‘ + videoId).peak();
console.log(“container peak: ” + WVM.CONTAINER_HEIGHT);
});

//console.log(“VIDEOTOP: ” + WVM.VIDEO_TOP);
//console.log(“VIDEOHEIGHT: ” + WVM.VIDEO_HEIGHT);

$(window).on( “scroll”, serve as() {
if(!WVM.IS_FLOATING){
if(deviceName == ‘desktop’){
WVM.CONTAINER_HEIGHT = $(‘#media-container-‘ + videoId).peak();
}else{
WVM.CONTAINER_HEIGHT = $(‘#media-container-‘ + videoId + ” .hlsvideo-wrapper”).peak() +
$(‘#media-container-‘ + videoId + ” .now-playing-container”).peak();
}
}

//var best = $(‘#media-container-‘ + videoId).offset().best;
var offset = WVM.VIDEO_TOP + (WVM.VIDEO_HEIGHT / 2);
var offsetBack = WVM.VIDEO_TOP;
var modified = false;
//console.log(“VIDEOTOP: ” + WVM.VIDEO_TOP);
//console.log(“VIDEOHEIGHT: ” + WVM.VIDEO_HEIGHT);
//console.log(“scrolltop ” + $(window).scrollTop());
//best go with the flow if gambling
var isPlaying = WVM[‘player_state’ + videoId][‘IS_PLAYING’] || WVM[‘player_state’ + videoId][‘AD_IS_PLAYING’];
if(isPlaying){
$(‘.vjs-loading-spinner’).conceal();
}

var offsetFloatAd = 99999999;
if(deviceName == ‘desktop’ && $(‘#float_anchor’).duration > 0){
offsetFloatAd = $(‘#float_anchor’).offset().best – WVM.VIDEO_HEIGHT;
//console.log(“go with the flow anchor offset best ” + offsetFloatAd);

}

if($(window).scrollTop() > offset && isPlaying && !WVM[‘player_state’ + videoId][‘CANCEL_FLOATING’]){
$(‘#media-placeholder-‘ + videoId).peak(WVM.CONTAINER_HEIGHT);
$(‘#media-placeholder-‘ + videoId).css(‘show’, ‘block’);
if(!WVM.IS_FLOATING){
modified = true;
}
WVM.IS_FLOATING = true;
$(‘#media-container-‘ + videoId).addClass(‘floating-video’);

var sWidth = window.innerWidth || record.documentElement.clientWidth;
var sHeight = window.innerHeight || record.documentElement.clientHeight;
if(sWidth > 900 && WADS.IS_STICKING){
$(‘#media-container-‘ + videoId).addClass(‘desktop-ad-is-sticky’);
}
else if(WADS.IS_STICKING){
if(!TOP_AD_VIEWED){
$(‘#media-container-‘ + videoId).addClass(‘mobile-ad-is-sticky’);
}else{
$(‘#media-container-‘ + videoId).addClass(‘mobile-ad-is-sticky-noad’);
}
}
else if(!WADS.IS_STICKING){
if(!TOP_AD_VIEWED){
$(‘#media-container-‘ + videoId).removeClass(‘desktop-ad-is-sticky’);
}else{
$(‘#media-container-‘ + videoId).addClass(‘desktop-ad-is-sticky-noad’);
}
}

//set proper
var sWidth = window.innerWidth || record.documentElement.clientWidth;
var sHeight = window.innerHeight || record.documentElement.clientHeight;
if(deviceName == ‘desktop’ || sWidth > 900){
var leftPos2 = $(‘apart’).get(0).getBoundingClientRect().left;
var leftPos = $(‘apart’).offset().left ;
$(‘#media-container-‘ + videoId).css(‘left’, leftPos + “px”);
var newWidth = Math.flooring(sWidth / 3.5);
$(‘#media-container-‘ + videoId).css(‘width’, newWidth + “px”);

}
else{
$(‘#media-container-‘ + videoId).css(‘width’, “100% !necessary”);
$(‘#media-container-‘ + videoId + ‘ .now-playing-container’).css(‘show’, ‘block’);
$(‘#media-container-‘ + videoId + ‘ .next-dropdown-accordion’).css(‘show’, ‘block’);
}

//floating-video
$(‘#media-container-‘ + videoId + ” ” + ‘.page-carousel-wrapper’).conceal();
setTimeout(serve as(){
var hWrapper = $(‘.floating-video .hlsvideo-wrapper’).peak();
var npWidth = $(‘.floating-video .now-playing-container’).peak();
var ndWidth = $(‘.floating-video .next-dropdown-header’).peak() + 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”).peak(scrollerHeight);
}
}, 100);
}else if($(window).scrollTop() 0){
var container = record.querySelector(‘#page-carousel-‘ + fullVideoId);
imagesLoaded( container, serve as() {
var screenWidth = window.innerWidth || record.documentElement.clientWidth;
if(screenWidth > 850){
WVM.IS_DESKTOP = true;
$(‘#page-carousel-‘ + fullVideoId + ‘ .page-carousel-lg-slides’).css(‘show’, ‘block’);

WVM[‘player_settings’ + fullVideoId].slider = $(‘#page-carousel-‘ + fullVideoId).bxSlider({
maxSlides: 4,
minSlides: 4,
slideWidth: 305,
infiniteLoop: false,
hideControlOnEnd: true,
useCSS: true,
pager: false,
slideMargin: 15,
moveSlides: 1,
nextText: ‘‘,
prevText: ‘
});
}else{
WVM.IS_DESKTOP = false;
$(‘.page-carousel-wrapper’).css(‘show’, ‘block’);
}
});
}

};

WVM.setupToggleButton = serve as(fullVideoId, participant){
if($(‘.nextplay-switch-‘ + fullVideoId).duration > 0){
new DG.OnOffSwitchAuto({
cls:’.nextplay-switch-‘ + fullVideoId,
peak: 24,
trackColorOn:’#F9F9F9′,
trackColorOff:’#222’,
textColorOn: ‘#222’,
textColorOff: ‘#222′,
textOn:’On’,
textOff:’Off’,
listener:serve as(identify, checked){
var theVal = 1;
if(!checked){
theVal = 0;
}

$.ajax({
url: ‘/ajax/update_autoplay_video/’,
knowledge: {
autoplay_on: theVal
},
sort: ‘POST’,
dataType: ‘json’,
good fortune: serve as(knowledge)
{
WVM[‘player_settings’ + fullVideoId][‘autoplay’] = checked;
},
error : serve as(){
console.log(“Error loading video”);
}
});
}
});
}
};

WVM.setupAccordionButton = serve as(fullVideoId){
var deviceName = ‘desktop’;
$(‘#next-dropdown-accordion-button-‘ + fullVideoId).on(‘click on’, serve as(){
if($(this).in finding(‘i’).hasClass(‘fa-chevron-up’)){
//conceal
$(this).in finding(‘i’).removeClass(‘fa-chevron-up’);
$(this).in finding(‘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’).conceal();

}else{
$(‘#media-container-‘ + fullVideoId + ” ” + ‘.mobile-list-wrapper’).slideUp();
$(‘#media-container-‘ + fullVideoId + ” ” + ‘.page-carousel-wrapper’).conceal();
}
var currVideoId = WVM[‘player_state’ + fullVideoId][‘VIDEO_ID’];
var nextVideoId = WVM.getNextPlaylistIndex(currVideoId);
//playerId, mediaId, fieldName
var myTitle = WVM.getPlaylistData(fullVideoId, nextVideoId, ‘noprefixtitle’);
//alert(“Getting identify ” + myTitle);
$(‘#video-slider-nexttitle’ + fullVideoId).css(‘show’, ‘inline’);
$(‘#video-slider-nexttitle’ + fullVideoId).html(myTitle);
}else{
//extend
$(this).in finding(‘i’).addClass(‘fa-chevron-up’);
$(this).in finding(‘i’).removeClass(‘fa-chevron-down’);
$(‘#media-container-‘ + fullVideoId + ” ” + ‘.mobile-list-wrapper’).css(‘show’, ‘block’);
if(deviceName == “desktop” && !$(‘#media-container-‘ + fullVideoId).hasClass(‘floating-video’)){
$(‘#media-container-‘ + fullVideoId + ” ” + ‘.page-carousel-wrapper’).css(‘show’, ‘block’);
$(‘#media-container-‘ + fullVideoId + ” ” + ‘.page-carousel-wrapper’).slideDown();
$(‘#media-container-‘ + fullVideoId + ” ” + ‘.mobile-list-wrapper’).conceal();
if(!WVM.player_state165884[‘CAROUSEL_INIT’]){
WVM.setupCarousel(fullVideoId);
}

}else{
$(‘#media-container-‘ + fullVideoId + ” ” + ‘.mobile-list-wrapper’).slideDown();
$(‘#media-container-‘ + fullVideoId + ” ” + ‘.page-carousel-wrapper’).conceal();

if(!$(‘#media-container-‘ + fullVideoId).hasClass(‘floating-video’)){
if(!WVM.player_state165884[‘CAROUSEL_INIT’]){
WVM.setupCarousel(fullVideoId);
}
}
}

$(‘#video-slider-nexttitle’ + fullVideoId).css(‘show’, ‘none’);
}
});
var currVideoId = WVM[‘player_state’ + fullVideoId][‘VIDEO_ID’];
//console.log(“present Video ” + currVideoId);
var nextVideoId = WVM.getNextPlaylistIndex(currVideoId);
var myTitle = WVM.getPlaylistData(fullVideoId, nextVideoId, ‘noprefixtitle’);
//console.log(“surroundings identify ” + myTitle);
$(‘#video-slider-nexttitle’ + fullVideoId).css(‘show’, ‘inline’);
$(‘#video-slider-nexttitle’ + fullVideoId).html(myTitle);

};
WVM.sendbeacon = serve as(motion, nonInteraction, worth, eventLabel) {
var eventCategory = ‘Video’;
if (window.ga) {
//console.log(“sending motion: ” + motion + ” val: ” + worth + ” label ” + eventLabel);
ga(‘ship’, ‘match’, {
‘eventCategory’: eventCategory,
‘eventAction’: motion,
‘eventLabel’: eventLabel,
‘eventValue’: worth,
‘nonInteraction’: nonInteraction
});
}
};

WVM.getNextPlaylistIndex = serve as(mediaId, returnArrayIndex){
var currId = null;
if(mediaId == null){
go back null;
}
for(var x =0; x 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.flooring(this.period());

//this can be a hack since the finish video match isn’t firing…
var current_time = Math.flooring(this.currentTime());
if ( current_time > 0 && ( fullCurrent >= (fullDuration – 10) )){
var currId = playerState.VIDEO_ID;
var newMediaId = WVM.getNextPlaylistIndex(currId);
//if(playerSettings.autoplay_next && newMediaId){
if(newMediaId){
if(‘desktop’ == “iphone” && playerState.AD_ERROR){
console.log(“skipped timeupdate finish”);
}else{
WVM.load_video(newMediaId, true, playerState.ORIGINAL_ID);
}
}
}

if(!playerState.START_SENT){
WVM.sendbeacon(‘get started’, true, playerState.VIDEO_ID, playerState.VIDEO_TITLE);
playerState.START_SENT = true;
}

var currentTime, period, %, percentPlayed, _i;
currentTime = Math.spherical(this.currentTime());
period = Math.spherical(this.period());
percentPlayed = Math.spherical(currentTime / period * 100);
for (% = _i = 0; _i = % && __indexOf.name(playerState[‘PERCENTS_TRACKED’], %) 0) {
playerState[‘PERCENTS_TRACKED’].push(%);
}
}
}

});
//participant.off(‘ended’);
participant.on(‘ended’, serve as(){
console.log(“ended”);
playerState.IS_PLAYING = false;
WVM.sendbeacon(“entire”, true, playerState.VIDEO_ID, playerState.VIDEO_TITLE);
var currId = playerState.VIDEO_ID;
var newMediaId = WVM.getNextPlaylistIndex(currId);
//if(playerSettings.autoplay_next && newMediaId){
if(newMediaId){
WVM.load_video(newMediaId, true, playerState.ORIGINAL_ID);
}else{
console.log(“Playlist entire (not more movies)”);
}

});

//participant.off(‘adserror’);
participant.on(‘adserror’, serve as(e){
//$(‘#ima-ad-container’).take away();
WVM.lastAdRequest = new Date().getTime() / 1000;
console.log(e);
console.log(“advertisements error”);

var errMessage = e[‘data’][‘AdError’][‘l’];

playerState.AD_IS_PLAYING = false;
playerState.IS_PLAYING = false;

// && errMessage == ‘The VAST reaction record is empty.’
if(!playerState.AD_ERROR){
var dTime = new Date().getTime();
WVM.firstPrerollTagUrl = WVM.getFirstPrerollUrl();
console.log(“calling backup advert tag url: ” + WVM.firstPrerollTagUrl);
WVM.activePlayer.ima.changeAdTag(WVM.firstPrerollTagUrl + “?” + dTime);
WVM.activePlayer.ima.requestAds();

//WVM.activePlayer.src({
// src: masterSrc,
// sort: ‘video/mp4’
//});
//WVM.firstPrerollTagUrl = “”;
}
playerState.AD_ERROR = true;
});

//participant.off(‘error’);
participant.on(‘error’, serve as(match) {
if (participant.error().code === 4) {
participant.error(null); // filter the outdated error
participant.choices().assets.shift(); // drop the best possible priority supply
console.log(“now doing src”);
console.log(participant.choices().assets[0]);
participant.src(participant.choices().assets[0]); // retry
go back;
}
});

//participant.off(‘volumechange’);
participant.on(‘volumechange’, serve as(match) {
console.log(match);

var theHeight = $(‘#media-container-‘ + playerState.ORIGINAL_ID + ‘ .vjs-volume-level’).css(‘peak’);
var cssVolume = 0;
if(theHeight){
cssVolume = parseInt(theHeight.change(‘%’, ”));
}
var theVolume = participant.quantity();
if(theVolume > 0.0 || cssVolume > 0){
$(‘#media-container-‘ + playerState.ORIGINAL_ID + ‘ .mute-overlay’).css(‘show’, ‘none’);
}else{
$(‘#media-container-‘ + playerState.ORIGINAL_ID + ‘ .mute-overlay’).css(‘show’, ‘block’);
}
});
WVM.reinitRawEvents(playerState.ORIGINAL_ID);
setInterval(serve as(){
WVM.reinitRawEvents(playerState.ORIGINAL_ID);
}, 2000);
}
if(!WVM.rawCompleteEvent){
WVM.rawCompleteEvent = serve as(e){
var playerState = WVM[‘player_state165884’];
};
}
if(!WVM.rawTimeupdateEvent){
WVM.rawTimeupdateEvent = serve as(e){
var playerState = WVM[‘player_state165884’];
var rawVideoElem = record.getElementById(‘html5-video-‘ + playerState[‘ORIGINAL_ID’] + ‘_html5_api’);
var fullCurrent = rawVideoElem.currentTime * 1000;
var fullDuration = rawVideoElem.period * 1000;
var current_time = Math.flooring(rawVideoElem.currentTime);
console.log(“uncooked timeupdate: ” + fullCurrent + ” out of ” + fullDuration);

if ( current_time > 0 && ( fullCurrent >= (fullDuration – 50) )){
var currId = playerState.VIDEO_ID;
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 = serve as(playerId){
var playerState = WVM[‘player_state’ + playerId];
var rawVideoElem = record.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;
};

]]>

MILWAUKEE (CBS 58) — The elements was once nice for a motorcycle journey within the Milwaukee County Zoo on Sunday, Sept. 12.

It was once a part of the twenty sixth annual Trip at the Wild Aspect match. All rides get started and finish on the zoo. 

The two.5 mile kid-friendly journey remains within the zoo. On the other hand, 10, 17,  and 27-mile riders get started and finish within the zoo, however move during the Menomonee River limited-access highway alongside the Oak Leaf motorbike path.

After the development was once canceled closing yr, greater than 800 riders took phase this yr.

“In keeping with our pre-registered rider general, I feel folks have been simply worried to come back again and take part,” Laura Knollenberg of the Zoological Society of Milwaukee mentioned. “It is actually a a laugh day, it is distinctive, the one day you’ll be able to journey your motorbike during the zoo and I feel households and everybody simply experience it.”

The journey is helping lift cash for the Zoological Society of Milwaukee. 

Along with a motorcycle journey, the registration charge incorporated access to the zoo and parking, a continental breakfast, lunch and a t-shirt. 

Proportion this text: