diff --git a/src/components/Player/Bar.vue b/src/components/Player/Bar.vue
index b6f584c..abc00ab 100644
--- a/src/components/Player/Bar.vue
+++ b/src/components/Player/Bar.vue
@@ -12,82 +12,38 @@
@timeupdate="currentTime = audio.currentTime"
@volumechange="volume = audio.volume" />
-
audio.fastSeek(event.x * duration / event.target.offsetWidth)">
-
-
+
![]()
-
-
audio.pause()" />
- audio.play()" />
-
-
- {{ formatTimer(new Date(currentTime*1000)) }}
- /
- {{ formatTimer(new Date(duration*1000)) }}
-
-
-
-
-
-
-
+
+
+
+
@@ -134,13 +76,6 @@ export default {
z-index: 2000;
}
- .infos {
- display: flex;
- flex-direction: column;
- justify-content: center;
- width: 45%;
- }
-
.player {
display: flex;
gap: 1rem;
@@ -148,18 +83,7 @@ export default {
justify-content: space-between;
}
- .pointer {
- cursor: pointer;
- }
-
- .time, .volume {
- align-items: center;
- display: flex;
- gap: 5px;
- justify-content: center;
- }
-
- .time {
+ .timer {
width: 25%;
}
diff --git a/src/components/Player/Controls.vue b/src/components/Player/Controls.vue
new file mode 100644
index 0000000..61fc108
--- /dev/null
+++ b/src/components/Player/Controls.vue
@@ -0,0 +1,41 @@
+
+
+ audio.pause()" />
+ audio.play()" />
+
+
+
+
+
diff --git a/src/components/Player/Infos.vue b/src/components/Player/Infos.vue
new file mode 100644
index 0000000..bec62d2
--- /dev/null
+++ b/src/components/Player/Infos.vue
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
diff --git a/src/components/Player/ProgressBar.vue b/src/components/Player/ProgressBar.vue
new file mode 100644
index 0000000..cf52fce
--- /dev/null
+++ b/src/components/Player/ProgressBar.vue
@@ -0,0 +1,37 @@
+
+ audio.fastSeek(event.x * duration / event.target.offsetWidth)">
+
+
+
+
+
+
+
diff --git a/src/components/Player/Timer.vue b/src/components/Player/Timer.vue
new file mode 100644
index 0000000..9af63fc
--- /dev/null
+++ b/src/components/Player/Timer.vue
@@ -0,0 +1,37 @@
+
+
+ {{ formatTimer(new Date(currentTime*1000)) }}
+ /
+ {{ formatTimer(new Date(duration*1000)) }}
+
+
+
+
+
+
diff --git a/src/components/Player/Volume.vue b/src/components/Player/Volume.vue
new file mode 100644
index 0000000..bf6880d
--- /dev/null
+++ b/src/components/Player/Volume.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+