• Resolved kentgravelle

    (@kentgravelle)


    Hi,
    I am caching the thumbnails locally. I’d like to cache and serve the mqdefault.jpg instead of the hqdefault.jpg vesion of the youtube thumbnail

    I have very limited coding experience but I saw another question similar on this support form.
    Would this code be correct for replacing the hq with the mq version?

    
    $mq_origThumbUrl = str_replace('hqdefault.jpg', 'mqdefault.jpg', $origThumbUrl); 
    
    $mq_lyte_match_thumburl = str_replace('hqdefault.jpg', 'mqdefault.jpg', $lyte_match_thumburl );
    

    Thanks for your awesome plugin! It has greatly improved my page load speed.
    Kent

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘replace hqdefault with mqdefault’ is closed to new replies.