web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Answered

YouTube timestamps

(0) ShareShare
ReportReport
Posted on by 12

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?

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    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

     

    40.gif

    I suggest you pay attention to a few aspects:

    • The parameter of the StartTime attribute should be a number.
    • The parameter of the StartTime attribute represents that the video starts playing from the x second.

    Best Regards,

    Bof

  • DessiBroughton Profile Picture
    12 on at

    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!

  • Michal Z.  Profile Picture
    147 on at

    Hi @v-bofeng-msft 

    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. 

    Michal_0-1614454481286.png

     

    /Mike

     

  • Michal Z.  Profile Picture
    147 on at

    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 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard