I have a problem with this code. I have a remote control and I can send information from the usb port by using a RC-5 code receiver. I can see that different data is sent once I press different buttons. Then I want to play a certain video when I press each button. For example I want to play video 1 when I press button 1 and video 2 when I press button 2.
I found these codes; I can play the video with this code.
I can see that different data is sent from the remote control from the serial monitor. Once I press button 1, video 1 appears and the same happens for button 2 and video 2. However I can only see the first frame of the videos. When I press again I see another frame. I need the videos to play in a loop. How can I solve this problem?