Skip to content

Commit

Permalink
Merge pull request #2205 from codeeu/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
alainvd authored Dec 13, 2023
2 parents 611ea1e + 324fc9d commit e211c5c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions resources/views/2021/_podcast_full.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
</a>
</div>


@endif
</div>

Expand All @@ -35,7 +34,7 @@
{{-- <div class="text-black pb-2 pr-4 text-base leading-5">{{$podcast->description}}</div>--}}

<div class="m-2 mb-4">
<audio controls="controls" autoplay=true muted>
<audio controls="controls" id="podcast">
<source src="{{$podcast->filename}}"
type="audio/mpeg">
Your browser does not support the audio element.
Expand Down Expand Up @@ -84,7 +83,8 @@
</ul>
</div>

<div class="flex justify-end p-2 text-xs">This podcast has been released on {{$podcast->release_date->format('jS \o\f F Y')}}</div>
<div class="flex justify-end p-2 text-xs">This podcast has been released
on {{$podcast->release_date->format('jS \o\f F Y')}}</div>
</div>

</div>
Expand All @@ -109,5 +109,14 @@
</style>
@endsection

@section('extra-js')

<script>
let podcast = document.getElementById("podcast");
podcast.volume = 0.5;
</script>

@endsection



0 comments on commit e211c5c

Please sign in to comment.