mirror of
https://github.com/videojs/video.js.git
synced 2025-03-29 22:07:10 +02:00
Added logic to avoid incorrectly dividing a rtmp path with multiple query parameters in the connection part of the path.
This commit is contained in:
parent
b1e863677f
commit
a25c4c98f3
@ -22,7 +22,7 @@ function FlashRtmpDecorator(Flash) {
|
||||
// Look for the normal URL separator we expect, '&'.
|
||||
// If found, we split the URL into two pieces around the
|
||||
// first '&'.
|
||||
let connEnd = src.indexOf('&');
|
||||
let connEnd = src.search(/&(?!\w+=)/);
|
||||
let streamBegin;
|
||||
if (connEnd !== -1) {
|
||||
streamBegin = connEnd + 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user