4 Replies Latest reply on Jun 13, 2008 4:18 PM by cheftimo

    Stopping a video upon view state change

    cheftimo Level 2
      Working with video is completely new to me, but I managed to add one to a project and get it playing. It's in a custom component that shows up in one of the view states of the app.

      When I switch away from that state, the video keeps playing and you can hear it until it ends. I imagine I have to dispatch some kind of event upon leaving the state, but I'm having a tough time figuring out what to do.

      Would someone please give me at least a hint?

      Thanks and regards,