This commit is contained in:
jb-alvarado 2022-07-25 17:25:59 +02:00
parent 9832a5e12c
commit c02141af54
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "ffplayout-frontend", "name": "ffplayout-frontend",
"version": "5.1.0", "version": "5.1.1",
"description": "Web GUI for ffplayout", "description": "Web GUI for ffplayout",
"author": "Jonathan Baecker", "author": "Jonathan Baecker",
"private": true, "private": true,

View File

@ -463,7 +463,7 @@ export default {
sources: [ sources: [
{ {
type: `video/${ext}`, type: `video/${ext}`,
src: '/' + encodeURIComponent(src.replace(/^[/]+/, '')) src: '/' + encodeURIComponent(src.replace(/^[/]+/, '').replace(/[/]+/, '/')).replace(/%2F/g, '/')
} }
] ]
} }

View File

@ -617,7 +617,7 @@ export default {
sources: [ sources: [
{ {
type: `video/${ext}`, type: `video/${ext}`,
src: '/' + encodeURIComponent(src.replace(/^\//, '')) src: '/' + encodeURIComponent(src.replace(/^[/]+/, '').replace(/[/]+/, '/')).replace(/%2F/g, '/')
} }
] ]
} }