'); var newsTplNav = ( '
' + '
'); // $('
') // .insertBefore('.module_date-time'); var mediaObj = []; $('.module_multimedia .module_multimedia-item').each(function (i, item) { if ($(this).find('.module_file-type').text() == "mp4") { item = { fileType: $(this).find('.module_file-type').text(), fileName: $(this).find('.module_file-text').text(), url: $(this).find('> a').attr('href'), thumb: $(this).find('> a img').attr('src'), multimedia: 'video' }; } else { item = { fileType: $(this).find('.module_file-type').text(), fileName: $(this).find('.module_file-text').text(), url: $(this).find('.module_link-text + .module_multimedia-size a').attr('href'), thumb: $(this).find('.module_multimedia-size:last-child a').attr('href'), multimedia: 'image' }; } console.log('item',item); $('.module_media-slider--top').append(Mustache.render(newsTplFor, item)); $('.module_media-slider--thumb').append(Mustache.render(newsTplNav, item)); }); $('.slider-for').slick({ slidesToShow: 1, slidesToScroll: 1, adaptiveHeight: true, arrows: false, fade: true, asNavFor: '.slider-nav' }); $('.slider-nav').slick({ slidesToScroll: 1, asNavFor: '.slider-for', slidesToShow: 1, infinite: false, dots: false, centerMode: true, variableWidth: true, focusOnSelect: true }); // $('.module_multimedia-item').find('img[src*="RyderLogo"]').parent().parent().remove(); var logoTemplate = ( '
' ); if ($('.module_multimedia-item').find('img[src*="RyderLogo"]').length === 0) { $('.module_multimedia').append($(logoTemplate)); }; if ($('.module_item-media').find('img').length > 0) { $('.module-news-details').addClass('module-news-details--no-media'); } imagePopup = function() { $('[data-image-popup]').fancybox({ type: 'iframe', }); }; imagePopup(); // var text = $('.module_body').text(), // quotes = text.match(/“(.*?)”/g), // longQuotes = []; // if (quotes.length > 0) { // $.each(quotes, function (i, item) { // if (item.split(" ").length > 6) { // longQuotes.push(item); // } // }); // if (longQuotes.length > 0) { // var quoteText = longQuotes[Math.floor((Math.random() * longQuotes.length))]; // $('
').text(quoteText).insertBefore('.module-news-details .module_body'); // } // } // Override quote for specific release var quoteOverride1 = "Shoreham Port partners with Ryder Ltd to start own transport operation in response to construction boom"; if ($('.module-news-details .module-details_title span:contains(' + quoteOverride1 + ')').length > 0) { $('.module-news-details .module_quote').text('"Ryder has the expertise and inspires confidence. It’s nice to know that Ryder has the resources to sustain its service in the long term."'); } var quoteOverride2 = "Ryder Ltd celebrates 50 years of customer service"; if ($('.module-news-details .module-details_title span:contains(' + quoteOverride2 + ')').length > 0) { $('.module-news-details .module_quote').text('"This is an important milestone for Ryder in the UK. I’d like to thank every member of the Ryder team, and all our customers, partners and staff, past and present, for their contribution to this successful journey."'); } // var quoteOverride3 = "Ryder Opens Third Multiclient Distribution Center in Columbus—a Key Position in the E-Commerce Race";// if ($('.module-news-details .module-details_title span:contains(' + quoteOverride3 + ')').length > 0) {// $('.module-news-details .module_quote').text('"This is an important milestone for Ryder in the UK. I’d like to thank every member of the Ryder team, and all our customers, partners and staff, past and present, for their contribution to this successful journey."');// } $('.module-news-details .module_links').addClass('a2a_kit a2a_kit_size_32 a2a_default_style clearfix'); $('Share on email').prependTo('.module-news-details .module_links'); $('Print').appendTo('.module-news-details .module_links'); $('RSS').appendTo('.module-news-details .module_links '); $('More').appendTo('.module-news-details .module_links '); $('.module-news-details').find('.module_q4-icon-links').prepend($('.bw-subheadline-wrapper')); $('.module_multimedia-item a[href*="/files/doc_news/2022/Aurora_Ryder_video_nomusic.mp4"]').parent().append('
Download:
'); $('.module_multimedia-item a[href="https://mms.businesswire.com/media/20210916005132/en/906732/19/5259775_Ryder_B-Roll_Final_1.mp4"]').parent().append('
Download:
'); $('.module_multimedia-item a[href*="files/doc_multimedia/2021/10/Gatik-Ryder-edit_final_picture-only_web-ready.mp4"]').parent().append('
Download Video:
'); $('.module_multimedia-item a[href*="files/doc_multimedia/2021/11/Ryder-ISYE-The-Impact-of-Autonomous-Trucking.mp4"]').parent().append('
Download Video:
'); $('.module_multimedia-item a[href*="doc_multimedia/2021/11/UPDATED-11-1-21-Ryder-GA-Tech-Whitepaper.pdf"]').parent().append('
Download:
'); $('.module_multimedia-item a[href*="files/doc_multimedia/2021/12/10914190_robots_b-roll_-_A.mp4"]').parent().append('
Download Video:
'); $('.module_multimedia-item a[href*="files/doc_multimedia/2022/04/COLUMBUS-3-B-ROLL-REVISED-NO-MUSIC-NO-EMPTY-LOC-BOTS-4-22.mp4"]').parent().append('
Download Video:
'); // 00466466 $('.module_multimedia-item a[href*="files/doc_news/2023/02/BEAUTIFULNAME30.mp4"]').parent().append('
Download Video:
'); $('.module_multimedia-item a[href*="files/doc_news/2023/02/BEAUTIFULNAME60.mp4"]').parent().append('
Download Video:
'); $('.module_multimedia-item:contains("PGA TOUR® golfer Sam Ryder sports a new corporate logo on his golf shirt for transportation and logistics giant Ryder, representing a new multimillion-dollar sponsorship and advertising campaign which includes a series of humorous television, print, and digital ads.") .module_multimedia-caption').prepend('Still image');$('.module_multimedia-item:contains("PGA TOUR® golfer Sam Ryder with his fictitious agent during a commercial shoot showcasing a new multimillion-dollar sponsorship and advertising campaign with transportation and logistics giant Ryder. The ad campaign features a series of humorous television, print, and digital ads which follow the two as they explore why the logistics company has taken an interest in Sam. Surely, it’s more than just his last name, isn’t it?") .module_multimedia-caption').prepend('Still image');$('.module_multimedia-item:contains("Ryder announces a multimillion-dollar sponsorship and advertising campaign with PGA TOUR® golfer Sam Ryder. The brand-awareness campaign includes a series of humorous television, print, and digital ads which follow Sam Ryder as he explores why the logistics company has taken an interest in him and what he can contribute to the new relationship. Surely, it’s more than just his namesake, isn’t it?"):contains("156 MB") .module_multimedia-caption').prepend(':60 commercial'); $('.module_multimedia-item:contains("Ryder announces a multimillion-dollar sponsorship and advertising campaign with PGA TOUR® golfer Sam Ryder. The brand-awareness campaign includes a series of humorous television, print, and digital ads which follow Sam Ryder as he explores why the logistics company has taken an interest in him and what he can contribute to the new relationship. Surely, it’s more than just his namesake, isn’t it?"):contains("78.2 MB") .module_multimedia-caption').prepend(':30 commercial'); $('.module_multimedia-item a[href*="files/doc_news/2023/02/03_SAM_RYDER_CLIPS_20221224.mp4"]').next().prepend('B-roll');// 00466466 end$('.module_multimedia-item a[href*="files/doc_news/2023/02/03_SAM_RYDER_CLIPS_20221224.mp4"]').parent().append('
Download Video:
'); // 00634984 $('.module_multimedia-item a[href*="files/doc_news/2024/01/Kodiak_x_Ryder_2.png"]').parent().find('.module_multimedia-sizes > .module_link-text').text('Download Image: '); $('.module_multimedia-item a[href*="files/doc_news/2024/01/Kodiak_x_Ryder_4.jpg"]').parent().find('.module_multimedia-sizes > .module_link-text').text('Download Image: '); $('.module_multimedia-item a[href*="files/doc_news/2024/01/Kodiak_x_Ryder_5.jpg"]').parent().find('.module_multimedia-sizes > .module_link-text').text('Download Image: '); $('.module_multimedia-item a[href*="files/doc_news/2024/01/Kodiak_Ryder_DAL_HOU_Broll_Final.mp4"]').parent().append('
Download Video:
'); // 00639910 $('.module_multimedia-item a[href*="files/doc_news/2024/01/Sam-Ryder-Golf-Course.jpg"]').parent().find('.module_multimedia-sizes > .module_link-text').text('Download Image: '); $('.module_multimedia-item a[href*="files/doc_news/2024/01/Sam-Ryder-Caddie.jpg"]').parent().find('.module_multimedia-sizes > .module_link-text').text('Download Image: '); $('.module_multimedia-item a[href*="files/doc_news/2024/01/Sam-Ryder-Fashion.jpg"]').parent().find('.module_multimedia-sizes > .module_link-text').text('Download Image: '); $('.module_multimedia-item a[href*="files/doc_news/2024/01/sam_ryder_behind_the_scenes_-__30_-_raw_audio-1080p.mp4"]').parent().append('
Download B-Roll:
'); $('.module_multimedia-item a[href*="files/doc_news/2024/01/FASHION_30_V6A_ip05_Online.mp4"]').parent().append('
Download Video:
'); $('.module_multimedia-item a[href*="files/doc_news/2024/01/DRIVER_30_CADDIE_V1_ip05_Online.mp4"]').parent().append('
Download Video:
'); $("p").filter(function() { return $(this).text().trim() === ") %"; }).css("white-space", "nowrap");