Jump to content
Search Community

How to add/control music(MP3) to Timeline

Praney Behl

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Praney Behl
Posted

Hi there,

 

I am really starting to enjoy learning GSAP JS.

 

I have a quick question. Lets say I have an animation on the TimeLine and I want to add some audio/music(MP3) to it, how would that be possible?

 

Is it possible to maybe have an example?

 

Will really appreciate your help.

 

Thanks in advance,

 

Praney

Praney Behl
Posted

Awesome! You Rock Carl  8-)

 

Big thanks again.

Posted

Hi,

 

Also take a look at this library, it has event controls so you can combine them with GSAP, i haven't tried yet, but remembered a tweet I saw earlier:

 

https://github.com/azer/play-audio

 

Hope this helps,

Cheers,

Rodrigo.

  • Like 1
Praney Behl
Posted

Thanks mate, appreciate your input.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...