Skip to content

Commit 1327d6e

Browse files
author
Germano Fronza
authored
Merge pull request #65 from eventials/master
Fix autoSwitch property
2 parents 006ec27 + 3fc5450 commit 1327d6e

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

dist/assets/RTMP.swf

59 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "clappr-rtmp",
3-
"version": "0.0.17",
3+
"version": "0.0.18",
44
"description": "RTMP Support for Clappr Player",
55
"main": "dist/rtmp.js",
66
"author": "Flávio Ribeiro",

public/RTMP.swf

59 Bytes
Binary file not shown.

src/RTMP.as

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ package {
218218

219219
mediaPlayer.bufferTime = this.root.loaderInfo.parameters.bufferTime;
220220
mediaPlayer.autoPlay = false;
221-
mediaPlayer.autoDynamicStreamSwitch = this.root.loaderInfo.parameters.autoSwitch;
221+
mediaPlayer.autoDynamicStreamSwitch = this.root.loaderInfo.parameters.autoSwitch == 'true';
222222
mediaPlayer.addEventListener(TimeEvent.CURRENT_TIME_CHANGE, onTimeUpdated);
223223
mediaPlayer.addEventListener(TimeEvent.DURATION_CHANGE, onTimeUpdated);
224224
mediaPlayer.addEventListener(TimeEvent.COMPLETE, onFinish);

0 commit comments

Comments
 (0)