no encode for first slash
This commit is contained in:
parent
012cc58d21
commit
acc7297658
@ -442,7 +442,7 @@ export default {
|
||||
sources: [
|
||||
{
|
||||
type: `video/${ext}`,
|
||||
src: encodeURIComponent(src)
|
||||
src: '/' + encodeURIComponent(src.replace(/^\//, ''))
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -415,7 +415,7 @@ export default {
|
||||
sources: [
|
||||
{
|
||||
type: `video/${ext}`,
|
||||
src: encodeURIComponent(src)
|
||||
src: '/' + encodeURIComponent(src.replace(/^\//, ''))
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user