diff --git a/src/listing.html b/src/listing.html index 1858332..27c20b6 100644 --- a/src/listing.html +++ b/src/listing.html @@ -8,6 +8,28 @@ @@ -461,30 +451,31 @@

~{linked-path}

return createElem('div', { className: 'thumbnail' }, [ + createElem('a', { + className: 'behind thumbnail icon-video', + textContent: name, + href, + }), createElem('video', { className: 'thumbnail', src: href, - title: name, + alt: name, loop: true, currentTime: 5, }), - createElem('a', { - className: 'behind', - textContent: name, - href, - }), createElem('a', { className: 'front', href, + title: name, }), ]); } - const makeAudio = makeImage; + const makeAudio = makeIcon('icon-audio'); const makeVideoLink = makeIcon('icon-video'); const makeAudioLink = makeIcon('icon-audio'); const makeFolderLink = makeIcon('icon-folder'); - const makeExeLink = makeImage; + const makeExeLink = makeLink; const extFNs = { jpg: makeImage, @@ -499,6 +490,7 @@

~{linked-path}

mkv: makeVideo, wmv: makeVideoLink, mp3: makeAudio, + m4a: makeAudio, ogg: makeAudioLink, wav: makeAudioLink, flac: makeAudioLink,