Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

189
Views
How to load the video at a specific time?

Edit: I have reviewed the other posts with a similar question and those do not resolve this issue. The #-t open just gets passed as a GET variable to my proxy script.

The following is to load a video. The source of the video is a php script that checks to ensure user is logged in then outputs the video. This is to ensure that only people logged in can download the video. How do I specify a time to start the video position at?

<video id="test" width="640" height="360" controlsList="nodownload" controls>
  <source src="vidRedir.php?v=video" type="video/mp4">
Your browser does not support the video tag.
</video>

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Append #t=<time in seconds> to the URL. For example, setting src to vidRedir.php?v=video#t=30 will start the video at 30 seconds.

See this MDN article.

about 4 years ago · Juan Pablo Isaza Report

0

const video = document.querySelector('video');
video.currentTime = <Your time here>

https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/currentTime

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!