Search the Community
Showing results for tags 'audio;video;mulitmedia'.
Greetings folks! I've been digging through the documentation but am worried I might be missing something (or what I'm looking for isn't supported.) Here's my situation: I have a main TimelineMax that I append all kinds of tweens and sub-timelines to. A few of these tweens are in place to simply start/stop audio tracks at a particular location. When I call seek() on the main timeline, all the tweens adjust to the correct spot, but I need to adjust the currentTime on the audio tracks and call play/pause as necessary based on the Tween's isActive(). I can't seem to find a way to receive a callback when the main timeline's position is tweeked via a seek() call. I've seen other threads where folks try to control position of videos manually with a tween (manipulating currentTime) but that is resulting is crazy ugly audio issues for me. Is there anyone out there that can help me wrap my head around this? Help me Obi-Wan Kenobi, you're my only hope! -Croucho CodePen Example Setup (wait for the audio to start 5 seconds in, click the blue square. I want to stop the audio from playing so that it will re-trigger correctly when it's tween becomes active).