Skip to content

Commit

Permalink
tune hls.js
Browse files Browse the repository at this point in the history
add embed branding
  • Loading branch information
vintikzzz committed Oct 29, 2024
1 parent ae22925 commit 5758376
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/src/js/lib/mediaelement.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ export function initPlayer(target, ready) {
'chromecast',
'embed',
];
if (window._domainSettings && window._domainSettings.ads) {
features.push('logo');
}
if (duration > 0) {
features.push('availableprogress');
}
Expand All @@ -51,6 +48,9 @@ export function initPlayer(target, ready) {
}
}
}
if (window._domainSettings && window._domainSettings.ads === true) {
features.push('logo');
}
player = new MediaElementPlayer(video, {
autoRewind: false,
defaultSeekBackwardInterval: (media) => 15,
Expand Down

0 comments on commit 5758376

Please sign in to comment.