Simplify autoplay functionality.
Prevents all media in an entire carousel from simultaneously autoplaying in some browsers. Changes the default autoplay value to true, and applies autoplay configuration to all clips (whether from the gallery of most recent 'clip').
This commit is contained in:
@@ -58,7 +58,7 @@ export class FrigateCardCarousel extends LitElement {
|
||||
}
|
||||
|
||||
/**
|
||||
* Load the carousel with "slides".
|
||||
* Initialize the carousel.
|
||||
*/
|
||||
protected _initCarousel(): void {
|
||||
const carouselNode = this.renderRoot.querySelector(
|
||||
|
||||
Reference in New Issue
Block a user