Avatar of James Stevens
James Stevens
 asked on

Start a video in WMP (Access 2013) at a defined time within the video


I am working in access and am trying to determine if there is a way to have the windows media player control start a video at a specific point as well as stop at a specific point either determined via code of within a field on the form.  

I have the player working running the video but am hoping to have it run from a time to a time and stop.

is this possible?
Microsoft Access

Avatar of undefined
Last Comment
Joe Howard

8/22/2022 - Mon
Jeffrey Coachman

What code are you using now?

If the time ranges are predefined, for example:

...Then it may be easier to just use a video editing program to make separate files for each chapter...
James Stevens

I am using VBA in Access.  Right now I have a button to watch the video which opens a form.  The on open event plays a video clip as defined the field text44.  At this time I am splitting the files in a video editor but as this takes a great deal of time I thought maybe there was a way to simply record the time ranges for each record and not have to edit a file 15-20 times.

Following is my current code:
Private Sub Form_Open(Cancel As Integer)

Set player = Me.WindowsMediaPlayer6.Object
player.settings.autoStart = True
player.URL = Me.Text4

    With Me
        .WindowsMediaPlayer6.Height = .InsideHeight
        .WindowsMediaPlayer6.Width = .InsideWidth
    End With
End Sub
Jeffrey Coachman

Sorry, ...I thought you only needed a few "Chapters"
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Jeffrey Coachman

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Jeffrey Coachman


Can you post the code for let's say, ...2 "Chapters"

This would be a great help for other members searching here for the same issue...

BTW, ...I believe you can actually accept your own post as the solution here...
Congratulations on getting this going!

Joe Howard

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

-- James Stevens (https:#a42043371)
-- Jeffrey Coachman (https:#a42042710)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer