Skip to content

Commit

Permalink
fix(FEC-9389): media playing unmuted after unmute fallback (#272)
Browse files Browse the repository at this point in the history
IPAD OS as in IOS capability check failed cause there was user interaction on the player video but there wasn't on the capability check video tag.
Solved - After clicking on the player video tag set autoplay capability check to true to skip this issue.
  • Loading branch information
Yuvalke authored Oct 3, 2019
1 parent 1b2a19f commit dafa0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils/setup-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function setStorageTextStyle(player: KalturaPlayer): void {
* @returns {void}
*/
function attachToFirstClick(player: Player): void {
if (isIos()) {
if (isIos() || Env.isIPadOS) {
const onUIClicked = () => {
player.removeEventListener(player.Event.UI.UI_CLICKED, onUIClicked);
setCapabilities(EngineType.HTML5, {autoplay: true});
Expand Down

0 comments on commit dafa0d6

Please sign in to comment.