0 Replies Latest reply on Sep 29, 2014 7:23 AM by RickardAx

    How do i start video and audio at the same time in ios

    RickardAx

      How do i start video and audio at the same time in ios?

      I have tried a lot of different ways but i cant figure it out?

       

      I can get the sound and animation (timeline) to start playing.

      There is no problem to start the video and the animation at the same time.

      But i cant get both the video and the audio to start playing when i press a button.

       

      It works great in OSX and on windows?

       

      Here is an example:

      // insert code for mouse click here

      // Play an audio track

      sym.$("_1")[0].play();

       

       

      // Play a video track

      sym.$("host")[0].play();

       

       

      // Play the timeline at a label or specific time. For example:

      // sym.play(500); or sym.play("myLabel");

      sym.play("marker1");