Audio Problem In HTML Publishing
February 16, 2009 12:00 AM
I am embedding an audio file in one of the pages of my sample title. Now, I’ve created three buttons Play, Pause, and Replay. The audio is automatically played as soon as the page is loaded with the Pause button visible on the page. Now if you click on the Pause button, the audio gets paused, and immediately the Play button is showed. On clicking the Play button the audio continues to play showing the Pause button. When the audio is finished, the Replay button is shown. Now, all these actions and functions are working fine when published as EXE. But, when I go for an HTML publishing, the first click on the Pause button doesn’t pause the audio, but shows the Play button. Then, there onwards, the audio is paused when you click the Play button and is played when you click the Pause button. So, this is the problem with HTML publishing. Can you figure out why this is happening? I’ve converted the audio to ‘flv’ and added three events to add actions while its playing is done.I am embedding an audio file in one of the pages of my sample title. Now, I’ve created three buttons Play, Pause, and Replay. The audio is automatically played as soon as the page is loaded with the Pause button visible on the page. Now if you click on the Pause button, the audio gets paused, and immediately the Play button is showed. On clicking the Play button the audio continues to play showing the Pause button. When the audio is finished, the Replay button is shown. Now, all these actions and functions are working fine when published as EXE. But, when I go for an HTML publishing, the first click on the Pause button doesn’t pause the audio, but shows the Play button. Then, there onwards, the audio is paused when you click the Play button and is played when you click the Pause button. So, this is the problem with HTML publishing. Can you figure out why this is happening? I’ve converted the audio to ‘flv’ and added three events to add actions while its playing is done.
Discussions have been disabled for this post