Skip to content

Commit

Permalink
update cvaa safe environment (kaltura#3302)
Browse files Browse the repository at this point in the history
FEC-6491
  • Loading branch information
GuyLivni authored and OrenMe committed Mar 23, 2017
1 parent 6b8dbb9 commit 8ed3020
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/KalturaSupport/components/cvaa/CvaaDemo.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ <h3>Additionally you can set up the default styles settings, using "cvaaDefault"
'uiconf_id': '20540612',
'entry_id': '0_uka1msg4',
'flashvars': {
'EmbedPlayer.EnableMobileSkin': true,
'EmbedPlayer.WebKitPlaysInline': true,
'EmbedPlayer.EnableMobileSkin': false,
'disableTrackElement': true,
'closedCaptions': {
'enableOptionsMenu': true,
Expand Down
6 changes: 5 additions & 1 deletion modules/KalturaSupport/components/cvaa/cvaa.js
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,11 @@
},

isSafeEnviornment: function () {
return !mw.isIphone() && !mw.isIE8();
if ( mw.isIphone() && mw.getConfig("EmbedPlayer.WebKitPlaysInline") !== true ){
return false;
}

return !mw.isIE8();
}
});

Expand Down

0 comments on commit 8ed3020

Please sign in to comment.