Skip to content

Commit

Permalink
Merge pull request #23 from AkshathSai/dev
Browse files Browse the repository at this point in the history
Video Player bug fixes
  • Loading branch information
AkshathSai authored Jan 31, 2024
2 parents 5680a56 + eb78015 commit 9b84a24
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main/resources/templates/player.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

<div class="fade-me-in" hx-swap="outerHTML settle:1s">
<p class="display-6 text-muted">Now Playing</p>
<video class="img-fluid shadow-lg" controls controlslist="nodownload">
<source th:src="@{'/movies/' + ${contentId} + '/content'}" type="video/mp4">
<source th:src="@{'/movies/' + ${contentId} + '/content'}" type="video/webm">
<video class="img-fluid shadow-lg" controls preload="auto">
<source th:src="@{'/movies/' + ${contentId}}" type="video/mp4">
<source th:src="@{'/movies/' + ${contentId}}" type="video/webm">
<source th:src="@{'/movies/' + ${contentId}}" type="video/ogg">
<p>
Your browser doesn't support this video. Here is a
<a th:href="'/movies/' + ${contentId}">link to the video</a> instead.
Expand Down

0 comments on commit 9b84a24

Please sign in to comment.