Still-picture songs save and play as audio plus one picture
This commit is contained in:
@@ -43,7 +43,7 @@ async function getVideosDir() {
|
||||
|
||||
function extFromContentType(ct) {
|
||||
ct = ct || 'video/mp4';
|
||||
return ct.includes('webm') ? 'webm' : ct.includes('ogg') ? 'ogg' : 'mp4';
|
||||
return ct.includes('webm') ? 'webm' : ct.includes('ogg') ? 'ogg' : ct.includes('audio/mp4') ? 'm4a' : 'mp4';
|
||||
}
|
||||
|
||||
// .part → permanent name. Prefer the native rename, but treat ANY move()
|
||||
|
||||
Reference in New Issue
Block a user