1
0
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:
Brian Deitte 2015-11-09 11:35:34 -05:00 committed by Gary Katsevman
parent a25c4c98f3
commit 4e395b6b02

View File

@ -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');