diff --git a/infotv/frontend/src/TVApp.tsx b/infotv/frontend/src/TVApp.tsx index 67ad591..4b2e16d 100644 --- a/infotv/frontend/src/TVApp.tsx +++ b/infotv/frontend/src/TVApp.tsx @@ -116,6 +116,7 @@ export default class TVApp extends React.Component { this.setState({ ticksUntilNextSlide: ticks }); const currentSlide = this.getDeck()[this.state.slideIndex]; const isVideoRunning = + currentSlide && isVideoSlide(currentSlide) && currentSlide.style === "nextSlideAtEnd" && !this.state.videoRef?.current?.ended;