David Schwartz 426 Posted April 19, 2022 (edited) Suppose you have a video and a list of times that identify where specific words or topics appear. (Here is an example of what YouTube generates when it transcribes a video you post) Quote 1:15 coding significantly the amount of coding you have to create use the grade forms but over the years I've noticed 1:22 that the percentage of code that's focused simply on moving data between objects in and out of objects and forms 1:29 seems to be growing considerably and this is what I call plumbing code and I 1:35 found that the plumbing code now dominates many if not most of the projects I work on especially if they're 1:40 not the database aware they're entir or multi-platform you know I just it's time 1:47 to tackle the problem so here's my vision this is where I'd like to start 1:53 designing apps in Delphi with a diagram of the application alright Delphi is form centric you start out with a form 2:00 well this is a look at the whole application of course this just looks I'd like to basically import this data into a ListView with 2 cols (time, text), allow it to be filtered, then click on a line and have the video start playing at the time indicated. I'm curious what options are available to do that. I'm sure there are several, but I've never done anything to control videos other than just PLAY, PAUSE, and STOP. Edited April 19, 2022 by David Schwartz Share this post Link to post
Tom F 83 Posted April 19, 2022 The details will depend on what video player you are using. If you're using YouTube, then you can easily discover the format to start a video at a specific time by clicking the Share button and then adding a checkbox to the "Start at ###" box. For example https://youtu.be/ORK_Xwpt2B8?t=3 starts at time = 3 seconds. (And, yes, that's me being interviewed about my Delphi spectroscopy software.) Is that sufficient for your needs? Share this post Link to post
Rollo62 536 Posted April 22, 2022 Have you tried this player, using VLC ? Worked fine for me in an older project, have not checked that with current IDE's. https://prog.olsztyn.pl/paslibvlc/ Share this post Link to post
David Schwartz 426 Posted April 26, 2022 Sorry, I was referring to using the VCL's embedded media player to play local video files. (Does it let you play videos on other sites via URLs?) Share this post Link to post
Lajos Juhász 293 Posted April 26, 2022 3 hours ago, David Schwartz said: Sorry, I was referring to using the VCL's embedded media player to play local video files. Google thinks you should use the Position property. https://docwiki.embarcadero.com/Libraries/Sydney/en/Vcl.MPlayer.TMediaPlayer.Position 1 Share this post Link to post