Jump to content
GreenSock

Praney Behl

How to add/control music(MP3) to Timeline

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

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.
×