
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
ngx-audio-control
Advanced tools
Audio Player control for angular projects with speed control by native player in browser (HTML5)

ngx-audio-control is available via npm and yarn
$ npm install ngx-audio-control --save
$ yarn add ngx-audio-control
Import NgxAudioPlayerModule in in the root module(AppModule):
// Import library module
import { NgxAudioPlayerModule } from 'ngx-audio-player';
@NgModule({
imports: [
// ...
NgxAudioPlayerModule
]
})
export class AppModule { }
HTML
<ngx-audio-control [fileList]="files"
[linear]="true"
[download]="true"
></ngx-audio-control>
Ts
@Component({
selector: 'app-player',
templateUrl: './player.component.html',
styleUrls: ['./player.component.scss']
})
export class PlayerComponent {
files = [
'assets/files/a.mp3',
'assets/files/b.mp3',
'assets/files/c.mp3',
];
}
| Name | Description | Type | Default Value |
|---|---|---|---|
| [showList] | Show play list button | boolean | true |
| [download] | Show download button | boolean | false |
| [showFileName] | Display filename in header | boolean | true |
| [showSpeed] | Show speed control | boolean | true |
| [showVolume] | Show volume control | boolean | true |
| [linear] | Display vertically or horizontally between control buttons and range seeker | boolean | false |
| [preload] | This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience | 'none', 'metadata' , 'auto' | 'metadata' |
🔰 for seek audio file in chrome:
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Accept-Ranges" value="bytes" />
</customHeaders>
</httpProtocol>
</system.webServer>
<IfModule mod_headers.c>
Header set Accept-Ranges bytes
</IfModule>
http {
server {
location / {
add_header Accept-Ranges bytes;
}
}
}
💻Mohammadreza samani | FrontEnd Developer
If you like my work you can buy me a 🍺 or 🍕
FAQs
Audio Player control for angular projects with speed control by native player in browser (HTML5)
The npm package ngx-audio-control receives a total of 3 weekly downloads. As such, ngx-audio-control popularity was classified as not popular.
We found that ngx-audio-control demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.