Update ffmpeg loader to work with newer fluent-ffmpeg; fix playlists
This commit is contained in:
parent
02771e6623
commit
ac10f05f21
8 changed files with 72 additions and 28 deletions
|
|
@ -398,7 +398,7 @@ $("#mediaurl").keyup(function(ev) {
|
|||
}
|
||||
|
||||
var url = $("#mediaurl").val().split("?")[0];
|
||||
if (url.match(/^https?:\/\/(.*)?\.(flv|mp4|og[gv]|webm|mp3)$/)) {
|
||||
if (url.match(/^https?:\/\/(.*)?\.(flv|mp4|og[gv]|webm|mp3|mov)$/)) {
|
||||
var title = $("#addfromurl-title");
|
||||
if (title.length === 0) {
|
||||
title = $("<div/>")
|
||||
|
|
|
|||
|
|
@ -1289,7 +1289,7 @@ function parseMediaLink(url) {
|
|||
/* Raw file */
|
||||
var tmp = url.split("?")[0];
|
||||
if (tmp.match(/^https?:\/\//)) {
|
||||
if (tmp.match(/\.(mp4|flv|webm|og[gv]|mp3)$/)) {
|
||||
if (tmp.match(/\.(mp4|flv|webm|og[gv]|mp3|mov)$/)) {
|
||||
return {
|
||||
id: url,
|
||||
type: "fi"
|
||||
|
|
@ -1298,7 +1298,7 @@ function parseMediaLink(url) {
|
|||
Callbacks.queueFail({
|
||||
link: url,
|
||||
msg: "The file you are attempting to queue does not match the supported " +
|
||||
"file extensions mp4, flv, webm, ogg, ogv, mp3."
|
||||
"file extensions mp4, flv, webm, ogg, ogv, mp3, mov."
|
||||
});
|
||||
throw new Error("ERROR_QUEUE_UNSUPPORTED_EXTENSION");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue