News for hackers. Stuff that matters.
Re:Eagle.js: A hackable slideshow framework built with Vue.js by zulko on Tuesday September 25, 2018 @03:50AM (#18064364)
Author here (very happy to see this on HN). I have done exactly that (automated "next slide" and audio playing at specific slides) but haven't contributed back to the repo yet. It took just a few lines of code in my slideshow, without requiring to modify the library (one example of why I claim that it is "hackable").

I defined a Vue component "next-step(after=5)" which triggers a next slide after 5 seconds, and an "audio(source, timeSegment)" component which just plays an audio. Then your slideshow looks like that:

  slide(steps=2)
    next-step(:after="2" v-if="step === 2")
    audio("hello.mp3")
    
    h1 Slide Title
Maybe not as good as a built-in solution, but good enough and very easy to tweak for everyone's needs.

There are no comments on this comment yet.