Listview problem with selection. Why does the video player not show the video?

Why does the video player not show the video? w


photos shows well.


the problem with the video was solved by the web viewer. the video plays well.

there is still a problem with the selection in the list. plays the previous video in the list

help me fix this error

Select list item: Attempt to get item number 0, of the list (https://scontent-iad3-1.cdninstagram.com/v/t50.2886-16/88702370_166794451862668_3192853782836637995_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InZ0c192b2RfdXJsZ2VuLjQ4MC5zdG9yeS5kZWZhdWx0In0&_nc_ht=scontent-iad3-1.cdninstagram.com&_nc_cat=104&_nc_ohc=bh0TzM98Et0AX9evLQQ&vs=17909840428564594_3734218597&_nc_vs=HBksFQAYJEdLSjlTUVdNeEEzY3NwY0FBQ3R4dlZtWlMwOHNidXFIQUFBQRUAAsgBABUAGCRHTmxhMlFkUG1BaldFcTBDQURQNF85dkVDamx0YnBrd0FBQUYVAgLIAQAoABgAGwGIB3VzZV9vaWwBMRUAACbk5beS9bnQPxUCKAJDMywXQCu7ZFocrAgYEmRhc2hfYmFzZWxpbmVfMV92MREAdegHAA%3D%3D&oe=5FE2E655&oh=706a07f6d9b2c01bda472b80f3fa18d4&dl=1 https://scontent-iad3-1.cdninstagram.com/v/t51.2885-15/e35/131923808_1523150327875674_2161876940723651819_n.jpg?_nc_ht=scontent-iad3-1.cdninstagram.com&_nc_cat=106&_nc_ohc=HsMvlfkQRcIAX-B6xZe&se=8&tp=1&oh=3b9512cb01c5558e6269ee568a793c41&oe=5FE2E474&ig_cache_key=MjQ2OTAwNDQ5MDk3MTM3NDExOQ%3D%3D.2&dl=1). The minimum valid item number is 1.

help coders. it is not difficult for you to solve this problem

What is a error massage ?

1 Like

use a + block and add 1 to get the correct index, get position + 1

2 Likes

Use get position +1 as index as mentioned by @dora_paz because List View index starts from 0.

2 Likes

like this?)) I do not understand well. translator translates badly. I really want to learn

image

3 Likes

No. Like this.
Annotation 2020-12-21 230826

3 Likes

thank you so much for your help friends

1 Like

thank you so much for your help friend

1 Like

help me please friends how to remove or (hide) error.
65

Try for each number from 1 to (lenght of list - 1) by 1

I tried to do that. does not work

Try for each number from 1 to (lenght of list - 1) by 1

2 Likes

everything works. thank you very much

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.