cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

How to play multiple video which are uploaded from file upload widget in mashup?

Ru
14-Alexandrite
14-Alexandrite

How to play multiple video which are uploaded from file upload widget in mashup?

hello,

i have one mashup which have multiple videos in a grid uploaded by the file upload widget. I have one service which selects row of grid by using checkbox, now if i have two videos in my grid and if i select first video via checkbox and clicked on the button to play the video it's playing the first video successfully but on the other hand when i select second video from grid via checkbox then again it's playing first video only instead of playing the second video, so how can i play multiple videos in this case? please suggest some solution....below i have attached the snapshots of my mashup please look into this for your better understanding...

 This is my grid which have multiple videos:- 

122_0-1615958802783.png

by using checkbox i have select the grid first row or video:-

122_1-1615958879215.png

This is the first video Url which i have selected in grid:-

122_2-1615959007711.png

this is my first video which is playing in html5 video widget:-

122_3-1615959102865.png

now, when i select second row or video url from grid by using checkbox and try to play it plays only first video which i have selected before......i want to play second video also after selecting it from grid by using checkbox......please suggest the solution on this

 

1 REPLY 1
slangley
23-Emerald II
(To:Ru)

Hi @Ru.

 

Just for clarification, you aren't trying to play multiple videos at the same time, right?  If we're understanding correctly, you're simply displaying a list of videos and only want to play the one selected.  Please confirm this is correct.

 

If the above assumption is correct, you need to make sure that you're passing back the selected row from the grid.  If not, it will pass the first row every time which explains the behavior you're seeing. 

 

Please provide clarification and we can assist further if needed.

 

Regards.

 

--Sharon 

Announcements


Top Tags