Skip to content

Commit

Permalink
- Added support for separate poster files
Browse files Browse the repository at this point in the history
  • Loading branch information
Supraboy981322 authored Nov 27, 2023
1 parent db8ae97 commit 82acf01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
File renamed without changes
5 changes: 3 additions & 2 deletions proto-and-wip/local-movie-browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,12 @@
</body>

<script>
let contentList = ["https://supraboy981322.github.io/embeded-content/background.png", "https://supraboy981322.github.io/embeded-content/this-site-cant-be-reached.png", "https://supraboy981322.github.io/uncanny%20gobledygook.png"];
let directory = ["https://supraboy981322.github.io/embeded-content/"]
let contentList = ["background", "this-site-cant-be-reached", "uncanny%20gobledygook"];
let list = document.getElementById("movies");
contentList.forEach((item) => {
let img = document.createElement("img");
img.src = item;
img.src = directory + item + "Poster.png";
list.appendChild(img);
});
</script>
Expand Down

0 comments on commit 82acf01

Please sign in to comment.