I have four videos that I need to automatically play right after each other. For instance video1 plays and is done so video 2 should automatically start to play and then when video 2 is done video 3 should start and when video 3 is done video 4 should start and when video 4 is done video 1 should start. How do you code for this? Also, when a button is clicked whatever video is playing needs to stop and then the item that the button is linked to should show up whether it is another video or a graphic with scrolling text.
use a complete listener to detect the end of a video and in the listener function start the next video.
How do you use a complete listener? Can you give me an example of code to use or give me a link that has step-by-step instructions? I really would appreciate it.