]> _ Git - songbook.git/commitdiff
.
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 12 Jan 2023 20:58:34 +0000 (21:58 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 12 Jan 2023 20:58:34 +0000 (21:58 +0100)
resources/views/notion_song.blade.php

index a2d34ec55d88672d76a2500d4be611fe41a1c1fb..8ce7f5789923d4a68672dbaddd819ae70f006037 100644 (file)
@@ -36,7 +36,7 @@
                 @foreach($song->get($key, []) as $file)
                     @if($file['audio'])
                         @php
-                        $hasAudio=true;
+                            $hasAudio=true;
                         @endphp
                         <audio id="player_{{$file['audio']}}_0" controls loop>
                             <source src="{{$file['opturl']}}"/>
@@ -48,7 +48,7 @@
         @endsection
         @section('floating')
             @if(isset($hasAudio) && $hasAudio)
-                <a href="#" data-action="play">
+                <a href="#" style="opacity: 0;pointer-events: none;" data-action="play">
                     <svg x="0" y="0" width="124.512" height="124.512" aria-hidden="true">
                         <use xlink:href="#play"/>
                     </svg>