Hey team,
In my app, I have a gallery containing data sourced from an excel file.
One column contains a unique YouTube URL including a timestamp, field name "VideoTimestamp".
In my Video control, I have the set the Media property to "Gallery1.Selected.VideoTimestamp". I also have a text input with its Text property set to "Gallery1.Selected.VideoTimestamp".
When I click on the gallery item, the text input is changing (to reflect the correct URL) however the embedded YouTube video is not changing to the correct timestamps (its sitting at a "last played" spot in the video).
I want the video to go to the timestamp as determined from the gallery.
All video settings are set to default settings.
Has anyone got any tips?
Found it - I have used a variable in the Video.StartTime and then by updating this variable got the result I needed.
Couldn't found this way anywhere. Maybe it was obvious but not for me 🙂
How did you manage to set the StartTime of the video?
I cannot do this. When I create a button and trying to set "OnSelect" referring to the Video control, I can only set Start but not StartTime property.
/Mike
Thanks heaps Bof, worked a treat.
I had the timestamp in the Video URL - which was totally unnecessary. All I needed to do was point the Start property at the time.
Legend!
Hi @DessiBroughton :
Could you tell me what VideoTimestamp's data type is?Text or number?
I made a test but did not encounted the problem you mentioned.
1\set the gallery(Gallery2)'s item's property to :
Table({VideoTimestamp:200},{VideoTimestamp:300},{VideoTimestamp:400},{VideoTimestamp:500})
2\set the video control's StartTime property to:
Gallery2.Selected.VideoTimestamp
I suggest you pay attention to a few aspects:
Best Regards,
Bof
WarrenBelz
394
Most Valuable Professional
MS.Ragavendar
193
stampcoin
149