Guest Joe Posted May 25, 2009 Report Share Posted May 25, 2009 I have three hidden frames that rotate content when the user clicks next. The content slider works fine but I don't know how I can embed audio properly. I have an audio file for each frame, but when I go to frame 2, the audio in frame 1 continues to play. How can I stop this problem. I want the previous audio to automatically stop when the next frame becomes visible. > Somebody showed me the javascript below but I don't know how to customize it for windows media audio player or even where to put it: onChange: function(*previndex*, *curindex*){ if (previndex==curindex) //if two indices point to the same slide (page first loads) return //do nothing else if (previndex==1) videoplayer.stop("filename") else if (previndex==2) videoplayer.stop("filename") else if (previndex==3) videoplayer.stop("filename") Please help! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.