Seek not working

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript

Research direction

Start at the SC.stream entry point and the returned player's seek method, using the example track and call shown in the issue to reproduce the behavior. Done means seeking to 5000 causes playback to begin at approximately five seconds rather than from the beginning.

Written by the indexing model from the issue text.

Description

Hey Soundcloud-team!

For the current version of the JS API the seek function does not seem to work.

my code:

SC.stream('/tracks/52693751').then(function(player){
    player.seek(5000);
    player.play();
});

As far as I see it this should make the song start at the 5 seconds position but it just plays from the beginning...
Am I doing something wrong here?

Dominant language
JavaScript
Stars
388
Forks
76
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from soundcloud/soundcloud-javascript

All issues in soundcloud/soundcloud-javascript

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.