ChandimaPrabath commited on
Commit
a77c7cb
·
1 Parent(s): 487a828
Files changed (1) hide show
  1. templates/film_details_page.html +1 -1
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);