Marak / Marak/play.js

Play.stop() method

Open
#9 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
162
Forks
38
PR merge metrics
No merged PRs in 30d

Description

Is there any way i can stop the player?
For example, I just started to play an audio file (a song), but I want to play another, so now the songs overlap. What I want is for the first song to stop and only after that the second song to start. All i need i some sort of stop method. Maybe you have a solution. Thanks!

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.

Research direction

No files or tests are named in the issue. Start at the Play playback entry point and trace how a new audio file is started and how playback completion is handled. Done means exposing a stop operation that prevents overlapping songs and allows the next song to start cleanly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
audio-video-rtc
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.