There's a post on this thread for creating a dynamic playlist for the asp.net mediaplayer control. I understand the part about using OnClientMediaEnded and the answer was the second one I've seen about using a hidden control for event handling. So ... good to go there.
I have a media player control on an aspx page configured to autoplay one movie where the mediaplayer.source is set right in the control markup.
What I'd like to do is have the media player open and get its source from a string array containing the paths to several movies. And have it loop through the array (using OnClientMediaEnded - I'm thinking), playing each movie successively.
A variation on this would be to interate through the array in the code behind by setting the source in a button's onClick event handler. I actually tried this but am running into trouble.