• Robert Knight's avatar
    Strip unknown query params when generating Internet Archive embed URLs · 4d05b426
    Robert Knight authored
    Internet Archive details pages may include params in the query string
    as well as "start" and "end" params in the path. In that case invalid
    URLs were being generated.
    
    Use a more robust approach to generating embed URLs and add some missing
    test cases. Any unrecognized query params are ignored when generating
    the embed URLs.
    4d05b426
media-embedder.js 6.89 KB