diff --git a/app/www/annotate.html b/app/www/annotate.html
index 7da74de..1b284a0 100644
--- a/app/www/annotate.html
+++ b/app/www/annotate.html
@@ -98,6 +98,7 @@
position: absolute;
left: 100%;
width: 30px;
+ height:30px;
}
.controls button.paused::before {
@@ -108,6 +109,22 @@
content: '⏸';
}
+
+ .buffering .controls button:is(.playing,.paused)::before {
+ content: '↺';
+ display:inline-block;
+ animation: rotate 1s infinite;
+ }
+
+ @keyframes rotate {
+ 0% {
+ transform: rotate(359deg)
+ }
+ 100% {
+ transform: rotate(0deg)
+ }
+ }
+
.controls {
position: absolute !important;
z-index: 100;
@@ -376,6 +393,7 @@
navigator.mediaSession.setActionHandler('seekforward', function () { /* Code excerpted. */ });
navigator.mediaSession.setActionHandler('previoustrack', function () { /* Code excerpted. */ });
navigator.mediaSession.setActionHandler('nexttrack', function () { /* Code excerpted. */ });
+ navigator.mediaSession.setActionHandler('playpause', function () { /* Code excerpted. */ });