FIX: Token not included in munged source
When munging the source for a video to add at subdomain, the wrong string was being acted on, so the playback token was lost in translation.
This commit is contained in:
parent
0b22fab6a2
commit
6e0da80d9d
@ -1340,8 +1340,8 @@ input[type="range"]::-ms-track {
|
||||
// simultaneous connections per server, prepend a
|
||||
// random subdomain to the source if it is remote.
|
||||
const prefix = randString(6);
|
||||
tokenized = src.replace(/^(https?:\/\/)(.*)/,
|
||||
`$1${prefix}.$2`);
|
||||
tokenized = tokenized.replace(/^(https?:\/\/)(.*)/,
|
||||
`$1${prefix}.$2`);
|
||||
}
|
||||
video.dataset[resolution] = tokenized;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user