I’ve been messing around with audio and video again… so will boot this thread yet another time ![]()
Using mnearents method to load HTML5 audio directly, you can just keep adding audio streams to the page, then refer to their array position to control them. Combining this with Gregor’s infamous JAVASCRIPT ENGINE, I can play, pause and reload multiple audio files simultaneously. Have a look.
Audio-Array.rp (107 KB)
John, you can copy the code from the “Load Audio Files” button to the OnPageLoad event and it will load files automatically --just be sure to wait 500 ms after invoking the JAVASCRIPT ENGINE before calling any javascript. I haven’t tried loading the audio controls to dynamic panel states, but it should work --the audio streams are attached to the page so should be available from any widget or div on that page. I have loaded videos to separate dynamic panel states and that works fine.
Now I need to add in time codes and a scrubbable timeline…