Get started with dplayer CDN
MIT licensed
DPlayer is a lightweight HTML5 video player library for the web.
Tags:- player
- danmaku
- video
- html5
- dplayer
- flv
- his
- dash
- webtorrent
Stable version
Copied!
How to start using dplayer CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with dplayer CDN - cdnhub.io</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/dplayer/dist/DPlayer.min.css">
</head>
<body>
<div id="player"></div>
<script src="https://cdn.cdnhub.io/dplayer/1.27.1/DPlayer.min.js"></script>
<script>
new DPlayer({
container: document.getElementById("player"),
src: "path/to/your/audio/file.mp3", // Replace with the path to your audio file
type: "audio",
lang: "en",
autoplay: false,
loop: false,
volume: 0.7,
config: {
// Additional configuration options go here
}
});
</script>
</body>
</html>
Copied!
Copied!
All versions
0.0.1
0.0.2
0.1.0
0.1.1
0.1.2
0.1.3
1.0.0
1.0.1
1.0.10
1.0.11
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.10.0
1.10.1
1.10.2
1.11.0
1.12.0
1.13.0
1.14.0
1.15.0
1.15.1
1.16.0
1.17.0
1.17.1
1.17.2
1.17.3
1.18.0
1.18.1
1.19.0
1.19.1
1.2.0
1.20.0
1.20.1
1.21.0
1.21.2
1.21.3
1.22.0
1.22.1
1.22.2
1.23.0
1.24.0
1.25.0
1.25.1
1.26.0
1.27.0
*** 1.27.1
1.3.0
1.3.2
1.3.3
1.4.0
1.4.2
1.5.0
1.5.1
1.6.0
1.6.1
1.8.0
1.9.0
1.9.1