mirror of
https://github.com/videojs/video.js.git
synced 2025-01-23 11:04:59 +02:00
Add unit test for new rtmp path changes
This commit is contained in:
parent
a25c4c98f3
commit
4e395b6b02
@ -22,6 +22,10 @@ test('test streamToParts', function() {
|
||||
ok(parts.connection === 'http://myurl.com/');
|
||||
ok(parts.stream === 'streaming&/is/fun');
|
||||
|
||||
parts = Flash.streamToParts('http://myurl.com/really?streaming=fun&really=fun');
|
||||
ok(parts.connection === 'http://myurl.com/');
|
||||
ok(parts.stream === 'really?streaming=fun&really=fun');
|
||||
|
||||
parts = Flash.streamToParts('http://myurl.com/streaming/is/fun');
|
||||
ok(parts.connection === 'http://myurl.com/streaming/is/');
|
||||
ok(parts.stream === 'fun');
|
||||
|
Loading…
x
Reference in New Issue
Block a user