import { getImageBaseUrl } from './urlutils' ; export function getThumbnailUrls ( { playbackId , duration } ) { const timestamps = [ ( duration * 0.25 ) , ( duration * 0.33 ) , ( duration * 0.5 ) , ( duration * 0.66 ) , ( duration * 0.75 ) ] ; const urls = timestamps . map ( ( time ) => `${ getImageBaseUrl ( ) }/${ playbackId }/thumbnail.png?time=${ time }` ) ; return urls ; }