streamTransportUrl added to player url

This commit is contained in:
nklhrstv 2020-03-19 10:02:07 +02:00
parent a09b4e9ef9
commit c7d6c61de7

View file

@ -32,8 +32,8 @@ const routesRegexp = {
urlParamsNames: []
},
player: {
regexp: /^\/player\/([^/]*)(?:\/([^/]*)\/([^/]*)\/([^/]*)\/([^/]*))?$/,
urlParamsNames: ['stream', 'transportUrl', 'type', 'id', 'videoId']
regexp: /^\/player\/([^/]*)(?:\/([^/]*)\/([^/]*)\/([^/]*)\/([^/]*)\/([^/]*))?$/,
urlParamsNames: ['stream', 'streamTransportUrl', 'metaTransportUrl', 'type', 'id', 'videoId']
}
};