Friday, 13 September 2013

AngularJS: Communication between directives

AngularJS: Communication between directives

I'm writing a directive which creates an mp3/audio player. The issue is
that you can have many audio players in one page. What I would like to do
is when one is playing and you start an other, that the one currently
playing pauses. How can I achieve this with angular directives?
Thanks in advance!

No comments:

Post a Comment