WordPress.org

Forums

MediaElement.js - HTML5 Video & Audio Player
set start time for non-youtube related links? (1 post)

  1. eric-o
    Member
    Posted 1 year ago #

    Is there a way to set the start time for an audio plugin NOT on youtube?

    I fiddled around in the javascript console enough to find that

    $("audio")[0].currentTime=400

    will set the time of the player IF I have already pressed play and stop. But is there a way to set the player to a time on page load?

    I tried using some async javascripts to do this, but it looks like one really has to start playback.

    Any ideas would be most welcome!
    erico

    https://wordpress.org/plugins/media-element-html5-video-and-audio-player/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MediaElement.js - HTML5 Video & Audio Player
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic