Skip to content

Commit

Permalink
fix(esl-media): fix missing reinitialization on start-time attribute …
Browse files Browse the repository at this point in the history
…changing
  • Loading branch information
dshovchko committed May 23, 2024
1 parent 1f43a22 commit e5922ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/esl-media/core/esl-media.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export class ESLMedia extends ESLBaseElement {
'muted',
'loop',
'controls',
'lazy'
'lazy',
'start-time'
];

/** Event to dispatch on ready state */
Expand Down Expand Up @@ -180,6 +181,7 @@ export class ESLMedia extends ESLBaseElement {
case 'media-id':
case 'media-src':
case 'media-type':
case 'start-time':
this.deferredReinitialize();
break;
case 'lazy':
Expand Down

0 comments on commit e5922ed

Please sign in to comment.