Skip to content

Commit

Permalink
chore: remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
luqven committed Nov 2, 2023
1 parent b1c52a8 commit 1896bf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ix-player/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,9 @@ class IxPlayerElement extends VideoApiElement {

const currentPoster = this.theme?.getAttribute('poster') || '';
const thumbnailPoster = this.src ? getThumbnailFromSrc(this.src, this.posterParams) : '';

if (this.poster && currentPoster.indexOf('video-generate=gif') >= 0) {
this.theme?.setAttribute('poster', this.poster || thumbnailPoster);
this.theme?.setAttribute('poster', this.poster || thumbnailPoster);
}
};

Expand Down

0 comments on commit 1896bf0

Please sign in to comment.