Spaces:
Build error
Build error
Commit
·
a77c7cb
1
Parent(s):
487a828
fix UI
Browse files
templates/film_details_page.html
CHANGED
|
@@ -172,7 +172,7 @@
|
|
| 172 |
metadataContainer.appendChild(createMetadataElement('Release Date', metadata.first_air_time));
|
| 173 |
|
| 174 |
const playButton = document.getElementById('play-button');
|
| 175 |
-
|
| 176 |
}
|
| 177 |
|
| 178 |
const urlParams = new URLSearchParams(window.location.search);
|
|
|
|
| 172 |
metadataContainer.appendChild(createMetadataElement('Release Date', metadata.first_air_time));
|
| 173 |
|
| 174 |
const playButton = document.getElementById('play-button');
|
| 175 |
+
playButton.href = `/stream/${encodeURIComponent(title)}`;
|
| 176 |
}
|
| 177 |
|
| 178 |
const urlParams = new URLSearchParams(window.location.search);
|