Skip to content

Commit

Permalink
fix(FEC-9260): Autoplay is not working on LG TV (#260)
Browse files Browse the repository at this point in the history
LG SDK 4 break their support on base64 source which included in our check for autoplay
  • Loading branch information
Yuvalke committed Jul 28, 2019
1 parent f0f22d0 commit ce838e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/utils/setup-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ function _configureAdsWithMSE(options: KPOptionsObject): void {
*/
function configureLGTVDefaultOptions(options: KPOptionsObject): void {
if (isSmartTv()) {
//relevant for LG SDK 4 which doesn't support our check for autoplay
setCapabilities(EngineType.HTML5, {autoplay: true});
_configureAdsWithMSE(options);
if (options.plugins && options.plugins.ima) {
const imaForceReload = Utils.Object.getPropertyPath(options, 'plugins.ima.forceReloadMediaAfterAds');
Expand Down

0 comments on commit ce838e0

Please sign in to comment.