Hi guys,
I am developing an app for playing multiple YouTube video one after another.
I am storing the YouTube id for the videos in my data-table called ‘LINKS’ and the column name is ‘id’
I tried to get the id’s using a for loop and play it, however the last id, I saved is only playing.
I used alert to check if i am getting the values from the table and it is coming.

I am really new to this and i am just learning. So please help me to solve this.
Welcome to the forum!
When you have a for loop like you have, you’re setting the id of the video to play on the same component over and over in quick succession. Only the last video plays, because by the time the loop ends and the video player has a chance to actually start playing a video, it has the last id in the loop to work with.
In general, what you need to do is to start the first video playing, and use the component’s state change event to detect when the video ends, then start the next video.
Hi Jay Shaffstall,
Thank you for the help, i will work it out 
Hai Jay,
Is there any option for a video player in Anvil.
Meaning, where we can play a video uploaded in the data table
Or is it possible to play a video in YouTube tool from data table?
If I search in here for the term ‘video’, I can see several threads discussing that topic. Are you saying you’ve looked at them all and not a single one helped you?
I searched for ‘video players’ and couldn’t understand, because all of them had ‘video’ as user component and I didn’t understand how to create one.
But thank you @owen.campbell , when I searched ‘Video’, i found one project which helped me.