{"action":"created","issue":{"url":"https://api.github.com/repos/mediaelement/mediaelement/issues/2206","repository_url":"https://api.github.com/repos/mediaelement/mediaelement","labels_url":"https://api.github.com/repos/mediaelement/mediaelement/issues/2206/labels{/name}","comments_url":"https://api.github.com/repos/mediaelement/mediaelement/issues/2206/comments","events_url":"https://api.github.com/repos/mediaelement/mediaelement/issues/2206/events","html_url":"https://github.com/mediaelement/mediaelement/issues/2206","id":227958213,"number":2206,"title":"Audio seek effects play time","user":{"login":"rmercer33","id":274678,"avatar_url":"https://avatars1.githubusercontent.com/u/274678?v=3","gravatar_id":"","url":"https://api.github.com/users/rmercer33","html_url":"https://github.com/rmercer33","followers_url":"https://api.github.com/users/rmercer33/followers","following_url":"https://api.github.com/users/rmercer33/following{/other_user}","gists_url":"https://api.github.com/users/rmercer33/gists{/gist_id}","starred_url":"https://api.github.com/users/rmercer33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmercer33/subscriptions","organizations_url":"https://api.github.com/users/rmercer33/orgs","repos_url":"https://api.github.com/users/rmercer33/repos","events_url":"https://api.github.com/users/rmercer33/events{/privacy}","received_events_url":"https://api.github.com/users/rmercer33/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-05-11T11:19:21Z","updated_at":"2017-05-11T12:07:36Z","closed_at":"2017-05-11T12:06:49Z","body":"Let me explain the issue.\r\n\r\nI have an audio file of a speech and have stored (in a js array) the playtime for the beginning of each paragraph of the transcript of the speech. The playtime comes from listening to the 'timeupdate' event. I then use the timing array so highlight the paragraph in the transcript that corresponds to the audio. This works fine.\r\n\r\nI also use the timing array to fast forward the audio to an arbitrary paragraph by taking the time that was stored for the start of the paragraph  and calling player.setCurrentTime(time). I would expect playback to continue at the beginning of the paragraph but, in most cases - but not all, it continues ahead of the paragraph start by a variable number of seconds - 5, 10, 20, I haven't found a pattern for the offset.\r\n\r\nDo you have any suggestions for how I can minimize this problem.\r\n\r\nThanks!\r\nI'm using mediaelements v3.2.3"},"comment":{"url":"https://api.github.com/repos/mediaelement/mediaelement/issues/comments/300769676","html_url":"https://github.com/mediaelement/mediaelement/issues/2206#issuecomment-300769676","issue_url":"https://api.github.com/repos/mediaelement/mediaelement/issues/2206","id":300769676,"user":{"login":"rmercer33","id":274678,"avatar_url":"https://avatars1.githubusercontent.com/u/274678?v=3","gravatar_id":"","url":"https://api.github.com/users/rmercer33","html_url":"https://github.com/rmercer33","followers_url":"https://api.github.com/users/rmercer33/followers","following_url":"https://api.github.com/users/rmercer33/following{/other_user}","gists_url":"https://api.github.com/users/rmercer33/gists{/gist_id}","starred_url":"https://api.github.com/users/rmercer33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmercer33/subscriptions","organizations_url":"https://api.github.com/users/rmercer33/orgs","repos_url":"https://api.github.com/users/rmercer33/repos","events_url":"https://api.github.com/users/rmercer33/events{/privacy}","received_events_url":"https://api.github.com/users/rmercer33/received_events","type":"User","site_admin":false},"created_at":"2017-05-11T12:07:36Z","updated_at":"2017-05-11T12:07:36Z","body":"I have an array containing the precise time in seconds and decimals keyed\nto the paragraph id. I lookup the time based on the id and use\nsetCurrentTime(). I have a way for people to help me collect the audio\nplaytime as they listen to the audio.\n\nHere's another page that does not have the audio playtime captured yet.\nhttps://www.christmind.info/wom/woh/l04/\n\nThe process for capture is to go to the sidebar and click the 'Time Capture\nOff' option. That will put a big bullseye in front of each paragraph. Then\nplay the audio and when the speaker finishes the prior paragraph and before\nhe begins the next, click the bullseye. It turns into a checkmark and\nrecords the playback time.\n\nWhen finished they send me the recorded time.\n\nHope that makes sense.\n\nOn Thu, May 11, 2017 at 7:58 PM, Rafael Miranda <notifications@github.com>\nwrote:\n\n> Well quick thought: I don't know how are you coding the play buttons for\n> each paragraph but I'd get an element (data-* attribute, hidden span, etc.)\n> that contains the precise time (in seconds and decimals) where the\n> paragraph starts, and then the play button at the left of each paragraph\n> looks for that element and then you can use setCurrentTime. Does it makes\n> sense?\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/mediaelement/mediaelement/issues/2206#issuecomment-300767759>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AAQw9vj-IbZ6100eGKuGKMSzojGkrHzZks5r4vfQgaJpZM4NX2up>\n> .\n>\n"}}
{"actor":{"display_login":"rmercer33"}}