-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:(PSVAMB-6336): dual screen hlsjs secondary autoplay (#4000)
- Loading branch information
Showing
7 changed files
with
313 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
modules/KalturaSupport/components/dualScreen/tests/flash/two-videos-no-autoplay.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Dual Screen Test</title> | ||
<script type="text/javascript" src="../../../../../../tests/qunit/qunit-bootstrap.js"></script> | ||
<script type="text/javascript" src="../../../../../../mwEmbedLoader.php"></script> | ||
<script type="text/javascript" src="../../../../../../docs/js/doc-bootstrap.js"></script> | ||
</head> | ||
<body> | ||
<h1>Dual Screen Test</h1> | ||
<br /> | ||
<div id="kaltura_player" style="width: 960px; height: 640px;float: left;"></div> | ||
<br style="clear: both;" /><br /> | ||
<script> | ||
kWidget.featureConfig({ | ||
'targetId': 'kaltura_player', | ||
'wid': '_27017', | ||
'uiconf_id' : '35826631', | ||
'entry_id': "1_6e40gk9l", //2 videos | ||
// 'entry_id': "1_qsq3z7t1", //2 videos AND slides | ||
'flashvars': { | ||
'autoPlay': false, | ||
|
||
// default streamertype = http (HTML5 video progressive download)/ | ||
'disableHLSOnJs': true, | ||
|
||
// 'LeadWithHLSOnFlash': true, //flash/native HLS | ||
'EmbedPlayer.ForceKPlayer': true, // kplayer mp4 (flash progressive download) | ||
// streamerType: "auto", //hds | ||
// streamerType: "rtmp", //hds | ||
// streamerType: "hdnetworkmanifest", //hds | ||
// streamerType: "hdnetwork", //hds | ||
// streamerType: "http", //HTML5 video progressive download | ||
|
||
// "chapters": { | ||
// plugin: true | ||
// }, | ||
// "sideBarContainer": { | ||
// "clickToClose": true | ||
// }, | ||
|
||
"dualScreen": { | ||
plugin: true, | ||
mobileTag: 'mobile' | ||
}, | ||
|
||
//"streamSelector": { | ||
// plugin: true | ||
//}, | ||
|
||
// "sourceSelector": { | ||
// plugin: true | ||
// }, | ||
|
||
"closedCaptions": { | ||
plugin: true | ||
} | ||
|
||
// "infoScreen": { | ||
// plugin: true, | ||
// parent: "controlsContainer", | ||
// order: 3, | ||
// align: "right", | ||
// minWidth: 400, | ||
// minWidthClass: 'infoScreenSmall', | ||
// template: "" | ||
// } | ||
} | ||
}); | ||
</script> | ||
</body> | ||
</html> |
73 changes: 73 additions & 0 deletions
73
modules/KalturaSupport/components/dualScreen/tests/hls/two-videos-no-autoplay.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Dual Screen Test</title> | ||
<script type="text/javascript" src="../../../../../../tests/qunit/qunit-bootstrap.js"></script> | ||
<script type="text/javascript" src="../../../../../../mwEmbedLoader.php"></script> | ||
<script type="text/javascript" src="../../../../../../docs/js/doc-bootstrap.js"></script> | ||
</head> | ||
<body> | ||
<h1>Dual Screen Test</h1> | ||
<br /> | ||
<div id="kaltura_player" style="width: 960px; height: 640px;float: left;"></div> | ||
<br style="clear: both;" /><br /> | ||
<script> | ||
kWidget.featureConfig({ | ||
'targetId': 'kaltura_player', | ||
'wid': '_27017', | ||
'uiconf_id' : '35826631', | ||
'entry_id': "1_6e40gk9l", //2 videos | ||
// 'entry_id': "1_qsq3z7t1", //2 videos AND slides | ||
'flashvars': { | ||
'autoPlay': false, | ||
|
||
// default streamertype = http (HTML5 video progressive download)/ | ||
'disableHLSOnJs': true, | ||
'LeadWithHLSOnFlash': true, //flash/native HLS | ||
'Kaltura.ForceFlashOnDesktop': true, | ||
'EmbedPlayer.ForceKPlayer': true, // kplayer mp4 (flash progressive download) | ||
// streamerType: "auto", //hds | ||
// streamerType: "rtmp", //hds | ||
// streamerType: "hdnetworkmanifest", //hds | ||
// streamerType: "hdnetwork", //hds | ||
// streamerType: "http", //HTML5 video progressive download | ||
|
||
// "chapters": { | ||
// plugin: true | ||
// }, | ||
// "sideBarContainer": { | ||
// "clickToClose": true | ||
// }, | ||
|
||
"dualScreen": { | ||
plugin: true, | ||
mobileTag: 'mobile' | ||
}, | ||
|
||
//"streamSelector": { | ||
// plugin: true | ||
//}, | ||
|
||
// "sourceSelector": { | ||
// plugin: true | ||
// }, | ||
|
||
"closedCaptions": { | ||
plugin: true | ||
} | ||
|
||
// "infoScreen": { | ||
// plugin: true, | ||
// parent: "controlsContainer", | ||
// order: 3, | ||
// align: "right", | ||
// minWidth: 400, | ||
// minWidthClass: 'infoScreenSmall', | ||
// template: "" | ||
// } | ||
} | ||
}); | ||
</script> | ||
</body> | ||
</html> |
72 changes: 72 additions & 0 deletions
72
modules/KalturaSupport/components/dualScreen/tests/html5-hls/two-videos-no-autoplay.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Dual Screen Test</title> | ||
<script type="text/javascript" src="../../../../../../tests/qunit/qunit-bootstrap.js"></script> | ||
<script type="text/javascript" src="../../../../../../mwEmbedLoader.php"></script> | ||
<script type="text/javascript" src="../../../../../../docs/js/doc-bootstrap.js"></script> | ||
</head> | ||
<body> | ||
<h1>Dual Screen Test</h1> | ||
<br /> | ||
<div id="kaltura_player" style="width: 960px; height: 640px;float: left;"></div> | ||
<br style="clear: both;" /><br /> | ||
<script> | ||
kWidget.featureConfig({ | ||
'targetId': 'kaltura_player', | ||
'wid': '_27017', | ||
'uiconf_id' : '35826631', | ||
'entry_id': "1_6e40gk9l", //2 videos | ||
// 'entry_id': "1_qsq3z7t1", //2 videos AND slides | ||
'flashvars': { | ||
'autoPlay': false, | ||
|
||
// default streamertype = http (HTML5 video progressive download)/ | ||
|
||
// 'LeadWithHLSOnFlash': true, //flash/native HLS | ||
// 'EmbedPlayer.ForceKPlayer': true, // kplayer mp4 (flash progressive download) | ||
// streamerType: "auto", //hds | ||
// streamerType: "rtmp", //hds | ||
// streamerType: "hdnetworkmanifest", //hds | ||
// streamerType: "hdnetwork", //hds | ||
// streamerType: "http", //HTML5 video progressive download | ||
|
||
// "chapters": { | ||
// plugin: true | ||
// }, | ||
// "sideBarContainer": { | ||
// "clickToClose": true | ||
// }, | ||
|
||
"dualScreen": { | ||
plugin: true, | ||
mobileTag: 'mobile' | ||
}, | ||
|
||
//"streamSelector": { | ||
// plugin: true | ||
//}, | ||
|
||
// "sourceSelector": { | ||
// plugin: true | ||
// }, | ||
|
||
"closedCaptions": { | ||
plugin: true | ||
} | ||
|
||
// "infoScreen": { | ||
// plugin: true, | ||
// parent: "controlsContainer", | ||
// order: 3, | ||
// align: "right", | ||
// minWidth: 400, | ||
// minWidthClass: 'infoScreenSmall', | ||
// template: "" | ||
// } | ||
} | ||
}); | ||
</script> | ||
</body> | ||
</html> |
73 changes: 73 additions & 0 deletions
73
modules/KalturaSupport/components/dualScreen/tests/html5/two-videos-no-autoplay.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Dual Screen Test</title> | ||
<script type="text/javascript" src="../../../../../../tests/qunit/qunit-bootstrap.js"></script> | ||
<script type="text/javascript" src="../../../../../../mwEmbedLoader.php"></script> | ||
<script type="text/javascript" src="../../../../../../docs/js/doc-bootstrap.js"></script> | ||
</head> | ||
<body> | ||
<h1>Dual Screen Test</h1> | ||
<br /> | ||
<div id="kaltura_player" style="width: 960px; height: 640px;float: left;"></div> | ||
<br style="clear: both;" /><br /> | ||
<script> | ||
kWidget.featureConfig({ | ||
'targetId': 'kaltura_player', | ||
'wid': '_27017', | ||
'uiconf_id' : '35826631', | ||
'entry_id': "1_6e40gk9l", //2 videos | ||
// 'entry_id': "1_qsq3z7t1", //2 videos AND slides | ||
'flashvars': { | ||
'autoPlay': false, | ||
|
||
// default streamertype = http (HTML5 video progressive download)/ | ||
'disableHLSOnJs': true, | ||
|
||
// 'LeadWithHLSOnFlash': true, //flash/native HLS | ||
// 'EmbedPlayer.ForceKPlayer': true, // kplayer mp4 (flash progressive download) | ||
// streamerType: "auto", //hds | ||
// streamerType: "rtmp", //hds | ||
// streamerType: "hdnetworkmanifest", //hds | ||
// streamerType: "hdnetwork", //hds | ||
// streamerType: "http", //HTML5 video progressive download | ||
|
||
// "chapters": { | ||
// plugin: true | ||
// }, | ||
// "sideBarContainer": { | ||
// "clickToClose": true | ||
// }, | ||
|
||
"dualScreen": { | ||
plugin: true, | ||
mobileTag: 'mobile' | ||
}, | ||
|
||
//"streamSelector": { | ||
// plugin: true | ||
//}, | ||
|
||
// "sourceSelector": { | ||
// plugin: true | ||
// }, | ||
|
||
"closedCaptions": { | ||
plugin: true | ||
} | ||
|
||
// "infoScreen": { | ||
// plugin: true, | ||
// parent: "controlsContainer", | ||
// order: 3, | ||
// align: "right", | ||
// minWidth: 400, | ||
// minWidthClass: 'infoScreenSmall', | ||
// template: "" | ||
// } | ||
} | ||
}); | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.