From 6ee9f9dcc0c5ef917cc6dd4c325c2cc11eb887ee Mon Sep 17 00:00:00 2001 From: Son Nguyen Date: Sun, 26 May 2024 16:21:01 +0700 Subject: [PATCH] Update: Enhanced app functionalities (#196) --- 404.html | 2 +- MovieVerse-Frontend/css/style.css | 6 + MovieVerse-Frontend/html/actor-details.html | 50 +++- MovieVerse-Frontend/html/company-details.html | 54 +++- .../html/director-details.html | 45 +++ MovieVerse-Frontend/js/actor-details.js | 49 +++- MovieVerse-Frontend/js/company-details.js | 170 +++--------- MovieVerse-Frontend/js/director-details.js | 47 +++- MovieVerse-Frontend/js/favorites.js | 6 + MovieVerse-Frontend/js/movie-details.js | 1 + .../android/app/src/main/assets/www/404.html | 2 +- .../www/MovieVerse-Frontend/css/style.css | 124 +++++++++ .../www/MovieVerse-Frontend/css/trivia.css | 6 + .../html/actor-details.html | 50 +++- .../MovieVerse-Frontend/html/analytics.html | 26 +- .../html/company-details.html | 54 +++- .../html/director-details.html | 45 +++ .../html/movie-details.html | 22 +- .../MovieVerse-Frontend/html/tv-details.html | 115 +++++++- .../MovieVerse-Frontend/js/actor-details.js | 49 +++- .../www/MovieVerse-Frontend/js/analytics.js | 72 +++++ .../MovieVerse-Frontend/js/company-details.js | 170 +++--------- .../js/director-details.js | 47 +++- .../www/MovieVerse-Frontend/js/favorites.js | 6 + .../MovieVerse-Frontend/js/movie-details.js | 258 ++++++++++++++---- .../www/MovieVerse-Frontend/js/tv-details.js | 233 ++++++++++++---- .../app/src/main/assets/www/images/LICENSE | 172 ++++++++++-- .../app/src/main/assets/www/images/README.md | 2 +- .../main/assets/www/images/actor-default.webp | Bin 0 -> 2832 bytes .../main/assets/www/images/movie-default.jpg | Bin 0 -> 15236 bytes .../app/src/main/assets/www/index.html | 1 + MovieVerse-Mobile/platforms/ios/www/404.html | 2 +- .../ios/www/MovieVerse-Frontend/css/style.css | 124 +++++++++ .../www/MovieVerse-Frontend/css/trivia.css | 6 + .../html/actor-details.html | 50 +++- .../MovieVerse-Frontend/html/analytics.html | 26 +- .../html/company-details.html | 54 +++- .../html/director-details.html | 45 +++ .../html/movie-details.html | 22 +- .../MovieVerse-Frontend/html/tv-details.html | 115 +++++++- .../MovieVerse-Frontend/js/actor-details.js | 49 +++- .../www/MovieVerse-Frontend/js/analytics.js | 72 +++++ .../MovieVerse-Frontend/js/company-details.js | 170 +++--------- .../js/director-details.js | 47 +++- .../www/MovieVerse-Frontend/js/favorites.js | 6 + .../MovieVerse-Frontend/js/movie-details.js | 258 ++++++++++++++---- .../www/MovieVerse-Frontend/js/tv-details.js | 233 ++++++++++++---- .../platforms/ios/www/images/LICENSE | 172 ++++++++++-- .../platforms/ios/www/images/README.md | 2 +- .../ios/www/images/actor-default.webp | Bin 0 -> 2832 bytes .../ios/www/images/movie-default.jpg | Bin 0 -> 15236 bytes .../platforms/ios/www/index.html | 1 + MovieVerse-Mobile/www/404.html | 2 +- .../www/MovieVerse-Frontend/css/style.css | 124 +++++++++ .../www/MovieVerse-Frontend/css/trivia.css | 6 + .../html/actor-details.html | 50 +++- .../MovieVerse-Frontend/html/analytics.html | 26 +- .../html/company-details.html | 54 +++- .../html/director-details.html | 45 +++ .../html/movie-details.html | 22 +- .../MovieVerse-Frontend/html/tv-details.html | 115 +++++++- .../MovieVerse-Frontend/js/actor-details.js | 49 +++- .../www/MovieVerse-Frontend/js/analytics.js | 72 +++++ .../MovieVerse-Frontend/js/company-details.js | 170 +++--------- .../js/director-details.js | 47 +++- .../www/MovieVerse-Frontend/js/favorites.js | 6 + .../MovieVerse-Frontend/js/movie-details.js | 258 ++++++++++++++---- .../www/MovieVerse-Frontend/js/tv-details.js | 233 ++++++++++++---- MovieVerse-Mobile/www/images/LICENSE | 172 ++++++++++-- MovieVerse-Mobile/www/images/README.md | 2 +- .../www/images/actor-default.webp | Bin 0 -> 2832 bytes .../www/images/movie-default.jpg | Bin 0 -> 15236 bytes MovieVerse-Mobile/www/index.html | 1 + index.html | 1 + 74 files changed, 3684 insertions(+), 1109 deletions(-) create mode 100644 MovieVerse-Mobile/platforms/android/app/src/main/assets/www/images/actor-default.webp create mode 100644 MovieVerse-Mobile/platforms/android/app/src/main/assets/www/images/movie-default.jpg create mode 100644 MovieVerse-Mobile/platforms/ios/www/images/actor-default.webp create mode 100644 MovieVerse-Mobile/platforms/ios/www/images/movie-default.jpg create mode 100644 MovieVerse-Mobile/www/images/actor-default.webp create mode 100644 MovieVerse-Mobile/www/images/movie-default.jpg diff --git a/404.html b/404.html index 6c4dc9eb..3c406f43 100644 --- a/404.html +++ b/404.html @@ -461,7 +461,7 @@

-
+

diff --git a/MovieVerse-Frontend/css/style.css b/MovieVerse-Frontend/css/style.css index 66c9df2c..0785de86 100644 --- a/MovieVerse-Frontend/css/style.css +++ b/MovieVerse-Frontend/css/style.css @@ -2,6 +2,10 @@ box-sizing: border-box; } +html { + scroll-behavior: smooth; +} + @font-face { font-family: 'Poppins'; src: url('/fonts/Poppins-Light.ttf') format('truetype'); @@ -38,6 +42,7 @@ body { overflow-x: hidden; min-height: 100vh; overflow-y: auto; + scroll-behavior: smooth; } #heading-href { @@ -3567,6 +3572,7 @@ body { display: flex; flex-wrap: wrap; justify-content: center; + padding: 10px; } #company-movies-list span { diff --git a/MovieVerse-Frontend/html/actor-details.html b/MovieVerse-Frontend/html/actor-details.html index 6953ef9d..905f6178 100644 --- a/MovieVerse-Frontend/html/actor-details.html +++ b/MovieVerse-Frontend/html/actor-details.html @@ -179,6 +179,51 @@ #actor-details-container { margin-top: 25px; } + + .movie-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; + margin-top: 7px; + padding-top: 5px; + } + + .movie-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + overflow: hidden; + border-radius: 8px; + } + + .movie-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; + } + + .movie-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; + } + + .movie-details { + width: 100%; + } + + .movie-title { + font-size: 12px; + margin: 0; + word-break: break-word; + } @@ -259,11 +304,6 @@

-
-

- -
-
diff --git a/MovieVerse-Frontend/html/company-details.html b/MovieVerse-Frontend/html/company-details.html index df9c1c97..979cc25f 100644 --- a/MovieVerse-Frontend/html/company-details.html +++ b/MovieVerse-Frontend/html/company-details.html @@ -178,6 +178,51 @@ margin-top: 0 !important; } } + + .movie-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; + margin-top: 7px; + padding-top: 5px; + } + + .movie-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + overflow: hidden; + border-radius: 8px; + } + + .movie-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; + } + + .movie-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; + } + + .movie-details { + width: 100%; + } + + .movie-title { + font-size: 12px; + margin: 0; + word-break: break-word; + } @@ -258,11 +303,6 @@

-
-

- -
- @@ -284,8 +324,8 @@

Headquarters:

Country:

Website:

-

Produced Movies:

-
+

Produced Movies:

+

diff --git a/MovieVerse-Frontend/html/director-details.html b/MovieVerse-Frontend/html/director-details.html index 5b1ff846..2f0ae832 100644 --- a/MovieVerse-Frontend/html/director-details.html +++ b/MovieVerse-Frontend/html/director-details.html @@ -96,6 +96,51 @@ background-position: top center; } } + + .movie-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; + margin-top: 7px; + padding-top: 5px; + } + + .movie-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + overflow: hidden; + border-radius: 8px; + } + + .movie-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; + } + + .movie-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; + } + + .movie-details { + width: 100%; + } + + .movie-title { + font-size: 12px; + margin: 0; + word-break: break-word; + } @@ -259,11 +304,6 @@

-
-

- -
-
diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/analytics.html b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/analytics.html index abd29fb9..5b4d8353 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/analytics.html +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/analytics.html @@ -391,51 +391,51 @@

-

Number of Movies Released Each Year

+

Number of Movies Released Each Year

-

Popularity of Genres

+

Popularity of Genres

-

Movies Distribution by Certification

+

Movies Distribution by Certification

-

Average Movie Popularity Over Time

+

Average Movie Popularity Over Time

-

Movies Count by Original Language

+

Movies Count by Original Language

-

Average Vote Count by Genre

+

Average Vote Count by Genre

-

Movie Releases by Month

+

Movie Releases by Month

-

Movie Releases by Decades

+

Movie Releases by Decades

-

Movie Releases by Countries

+

Movie Releases by Countries

-
-

Top Rated Movies per Year

+
+

Top Rated Movies per Year

-

Total Movie Votes Over Years

+

Total Movie Votes Over Years

-

Highly Rated Movies Over Years

+

Highly Rated Movies Over Years

diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/company-details.html b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/company-details.html index df9c1c97..979cc25f 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/company-details.html +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/company-details.html @@ -178,6 +178,51 @@ margin-top: 0 !important; } } + + .movie-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; + margin-top: 7px; + padding-top: 5px; + } + + .movie-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + overflow: hidden; + border-radius: 8px; + } + + .movie-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; + } + + .movie-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; + } + + .movie-details { + width: 100%; + } + + .movie-title { + font-size: 12px; + margin: 0; + word-break: break-word; + } @@ -258,11 +303,6 @@

-
-

- -
- @@ -284,8 +324,8 @@

Headquarters:

Country:

Website:

-

Produced Movies:

-
+

Produced Movies:

+

diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/director-details.html b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/director-details.html index 5b1ff846..2f0ae832 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/director-details.html +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/html/director-details.html @@ -96,6 +96,51 @@ background-position: top center; } } + + .movie-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; + margin-top: 7px; + padding-top: 5px; + } + + .movie-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + overflow: hidden; + border-radius: 8px; + } + + .movie-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; + } + + .movie-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; + } + + .movie-details { + width: 100%; + } + + .movie-title { + font-size: 12px; + margin: 0; + word-break: break-word; + } @@ -347,14 +343,8 @@

Your Rating:

- 0.0/5.0 - - - -
-

-

-
+ 0.0/5.0 +

Movie Comments

@@ -383,9 +373,15 @@

Add a Comment for This Movie

+ + +
+

+

+
-
+

Advertisement

- 0.0/5.0 -
- - -
-

-

- - -
- + 0.0/5.0

TV Show Comments

@@ -403,6 +483,15 @@

Add a Comment for This TV Series

+ + +
+

+

+ + +
+
diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/actor-details.js b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/actor-details.js index 57097d65..25f6efc7 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/actor-details.js +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/actor-details.js @@ -97,8 +97,6 @@ document.addEventListener('DOMContentLoaded', () => { else { fetchActorDetails(2037); } - - document.getElementById('clear-search-btn').style.display = 'none'; }); async function fetchActorDetails(actorId) { @@ -193,15 +191,45 @@ async function populateActorDetails(actor, credits) { const movieList = document.createElement('div'); movieList.classList.add('movie-list'); + movieList.style.display = 'flex'; + movieList.style.flexWrap = 'wrap'; + movieList.style.justifyContent = 'center'; + movieList.style.gap = '10px'; credits.cast.forEach((movie, index) => { - const movieLink = document.createElement('span'); - movieLink.textContent = movie.title; + const movieLink = document.createElement('a'); movieLink.classList.add('movie-link'); - movieLink.addEventListener('click', () => { - localStorage.setItem('selectedMovieId', movie.id); - window.location.href = 'movie-details.html'; - }); + movieLink.href = 'javascript:void(0);'; + movieLink.setAttribute('onclick', `selectMovieId(${movie.id});`); + + const movieItem = document.createElement('div'); + movieItem.classList.add('movie-item'); + + const movieImage = document.createElement('img'); + movieImage.classList.add('movie-image'); + + if (movie.poster_path) { + movieImage.src = IMGPATH + movie.poster_path; + movieImage.alt = `${movie.title} Poster`; + } else { + movieImage.alt = 'Image Not Available'; + movieImage.src = '../../images/movie-default.jpg'; + movieImage.style.filter = 'grayscale(100%)'; + movieImage.style.objectFit = 'cover'; + } + + movieItem.appendChild(movieImage); + + const movieDetails = document.createElement('div'); + movieDetails.classList.add('movie-details'); + + const movieTitle = document.createElement('p'); + movieTitle.classList.add('movie-title'); + movieTitle.textContent = movie.title; + movieDetails.appendChild(movieTitle); + + movieItem.appendChild(movieDetails); + movieLink.appendChild(movieItem); movieList.appendChild(movieLink); if (index < credits.cast.length - 1) { @@ -357,6 +385,11 @@ async function populateActorDetails(actor, credits) { applySettings(); } +function selectMovieId(movieId) { + localStorage.setItem('selectedMovieId', movieId); + window.location.href = 'movie-details.html'; +} + function calculateAge(birthday, deathday = null) { const birthDate = new Date(birthday); const referenceDate = deathday ? new Date(deathday) : new Date(); diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/analytics.js b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/analytics.js index 60ad3e2c..db94dd39 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/analytics.js +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/analytics.js @@ -757,3 +757,75 @@ function handleSearch() { localStorage.setItem('searchQuery', searchQuery); window.location.href = 'search.html'; } + +document.getElementById('chart-title1').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title1').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title2').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title2').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title3').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title3').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title4').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title4').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title5').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title5').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title6').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title6').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title7').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title7').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title8').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title8').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title9').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title9').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title11').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title11').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title10').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title10').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title12').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title12').scrollIntoView({ behavior: 'smooth' }); +}); \ No newline at end of file diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/company-details.js b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/company-details.js index b564a9f4..3698aa2b 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/company-details.js +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/company-details.js @@ -271,111 +271,6 @@ function handleSearch() { window.location.href = 'search.html'; } -function calculateMoviesToDisplay() { - const screenWidth = window.innerWidth; - if (screenWidth <= 689.9) return 10; - if (screenWidth <= 1021.24) return 20; - if (screenWidth <= 1353.74) return 21; - if (screenWidth <= 1684.9) return 20; - if (screenWidth <= 2017.49) return 20; - if (screenWidth <= 2349.99) return 18; - if (screenWidth <= 2681.99) return 21; - if (screenWidth <= 3014.49) return 24; - if (screenWidth <= 3345.99) return 27; - if (screenWidth <= 3677.99) return 20; - if (screenWidth <= 4009.99) return 22; - if (screenWidth <= 4340.99) return 24; - if (screenWidth <= 4673.49) return 26; - if (screenWidth <= 5005.99) return 28; - if (screenWidth <= 5337.99) return 30; - if (screenWidth <= 5669.99) return 32; - if (screenWidth <= 6001.99) return 34; - if (screenWidth <= 6333.99) return 36; - if (screenWidth <= 6665.99) return 38; - if (screenWidth <= 6997.99) return 40; - if (screenWidth <= 7329.99) return 42; - if (screenWidth <= 7661.99) return 44; - if (screenWidth <= 7993.99) return 46; - if (screenWidth <= 8325.99) return 48; - return 20; -} - -async function getMovies(url) { - clearMovieDetails(); - const numberOfMovies = calculateMoviesToDisplay(); - const pagesToFetch = numberOfMovies <= 20 ? 1 : 2; - let allMovies = []; - - for (let page = 1; page <= pagesToFetch; page++) { - const response = await fetch(`${url}&page=${page}`); - const data = await response.json(); - allMovies = allMovies.concat(data.results); - } - - const popularityThreshold = 0.5; - - allMovies.sort((a, b) => { - const popularityDifference = Math.abs(a.popularity - b.popularity); - if (popularityDifference < popularityThreshold) { - return b.vote_average - a.vote_average; - } - return b.popularity - a.popularity; - }); - - if (allMovies.length > 0) { - showMovies(allMovies.slice(0, numberOfMovies)); - document.getElementById('clear-search-btn').style.display = 'block'; - } - else { - main.innerHTML = `

No movie with the specified search term found. Please try again.

`; - document.getElementById('clear-search-btn').style.display = 'none'; - } -} - -document.getElementById('clear-search-btn').addEventListener('click', () => { - window.location.reload(); -}); - -function clearMovieDetails() { - const companyDetailsContainer = document.getElementById('company-details-container'); - if (companyDetailsContainer) { - companyDetailsContainer.innerHTML = ''; - } -} - -function showMovies(movies){ - main.innerHTML = ''; - movies.forEach((movie) => { - const { id, poster_path, title, vote_average, overview } = movie; - const movieE1 = document.createElement('div'); - const voteAverage = vote_average.toFixed(1); - movieE1.classList.add('movie'); - - const movieImage = poster_path - ? `${title}` - : `
Image Not Available
`; - - movieE1.innerHTML = ` - ${movieImage} -
-

${title}

- ${voteAverage} -
-
-

Movie Overview:

- ${overview} -
`; - - movieE1.addEventListener('click', () => { - localStorage.setItem('selectedMovieId', id); - window.location.href = 'movie-details.html'; - updateMovieVisitCount(id, title); - }); - - main.appendChild(movieE1); - }); -} - document.addEventListener('DOMContentLoaded', () => { const companyId = localStorage.getItem('selectedCompanyId'); if (companyId) { @@ -786,34 +681,59 @@ function fallbackMovieSelection() { function displayCompanyMovies(movies) { const moviesList = document.getElementById('company-movies-list'); + moviesList.style.display = 'flex'; + moviesList.style.flexWrap = 'wrap'; + moviesList.style.justifyContent = 'center'; + moviesList.style.gap = '10px'; + movies.forEach((movie, index) => { - const movieContainer = document.createElement('span'); - - const movieLink = document.createElement('span'); - movieLink.textContent = movie.title; - movieLink.style.cursor = 'pointer'; - movieLink.style.textDecoration = 'underline'; - movieLink.addEventListener('mouseenter', () => { - movieLink.style.color = '#ff8623'; - }); - movieLink.addEventListener('mouseleave', () => { - movieLink.style.color = 'white'; - }); - movieLink.addEventListener('click', () => { - localStorage.setItem('selectedMovieId', movie.id); - window.location.href = 'movie-details.html'; - }); + const movieLink = document.createElement('a'); + movieLink.classList.add('movie-link'); + movieLink.href = 'javascript:void(0);'; + movieLink.setAttribute('onclick', `selectMovieId(${movie.id});`); + + const movieItem = document.createElement('div'); + movieItem.classList.add('movie-item'); + + const movieImage = document.createElement('img'); + movieImage.classList.add('movie-image'); + + if (movie.poster_path) { + movieImage.src = IMGPATH + movie.poster_path; + movieImage.alt = `${movie.title} Poster`; + } else { + movieImage.alt = 'Image Not Available'; + movieImage.src = '../../images/movie-default.png'; + movieImage.style.filter = 'grayscale(100%)'; + } + + movieItem.appendChild(movieImage); + + const movieDetails = document.createElement('div'); + movieDetails.classList.add('movie-details'); + + const movieTitle = document.createElement('p'); + movieTitle.classList.add('movie-title'); + movieTitle.textContent = movie.title; + movieDetails.appendChild(movieTitle); - movieContainer.appendChild(movieLink); + movieItem.appendChild(movieDetails); + movieLink.appendChild(movieItem); + moviesList.appendChild(movieLink); if (index < movies.length - 1) { - movieContainer.appendChild(document.createTextNode(',')); + const separator = document.createTextNode(', '); + moviesList.appendChild(separator); } - - moviesList.appendChild(movieContainer); }); } +// Define the selectMovieId function +function selectMovieId(movieId) { + localStorage.setItem('selectedMovieId', movieId); + window.location.href = 'movie-details.html'; +} + function updateBrowserURL(title) { const nameSlug = createNameSlug(title); const newURL = window.location.protocol + "//" + window.location.host + window.location.pathname + '?' + nameSlug; diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/director-details.js b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/director-details.js index f951bb94..c7d79cba 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/director-details.js +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/director-details.js @@ -179,17 +179,47 @@ async function populateDirectorDetails(director, credits) { const movieList = document.createElement('div'); movieList.classList.add('movie-list'); + movieList.style.display = 'flex'; + movieList.style.flexWrap = 'wrap'; + movieList.style.justifyContent = 'center'; + movieList.style.gap = '10px'; const directedMovies = credits.crew.filter(movie => movie.job === "Director"); directedMovies.forEach((movie, index) => { - const movieLink = document.createElement('span'); - movieLink.textContent = movie.title; + const movieLink = document.createElement('a'); movieLink.classList.add('movie-link'); - movieLink.addEventListener('click', () => { - localStorage.setItem('selectedMovieId', movie.id); - window.location.href = 'movie-details.html'; - }); + movieLink.href = 'javascript:void(0);'; + movieLink.setAttribute('onclick', `selectMovieId(${movie.id});`); + + const movieItem = document.createElement('div'); + movieItem.classList.add('movie-item'); + + const movieImage = document.createElement('img'); + movieImage.classList.add('movie-image'); + + if (movie.poster_path) { + movieImage.src = IMGPATH + movie.poster_path; + movieImage.alt = `${movie.title} Poster`; + } else { + movieImage.alt = 'Image Not Available'; + movieImage.src = '../../images/movie-default.jpg'; + movieImage.style.filter = 'grayscale(100%)'; + movieImage.style.objectFit = 'cover'; + } + + movieItem.appendChild(movieImage); + + const movieDetails = document.createElement('div'); + movieDetails.classList.add('movie-details'); + + const movieTitle = document.createElement('p'); + movieTitle.classList.add('movie-title'); + movieTitle.textContent = movie.title; + movieDetails.appendChild(movieTitle); + + movieItem.appendChild(movieDetails); + movieLink.appendChild(movieItem); movieList.appendChild(movieLink); if (index < directedMovies.length - 1) { @@ -360,6 +390,11 @@ async function ensureGenreMapIsAvailable() { } } +function selectMovieId(movieId) { + localStorage.setItem('selectedMovieId', movieId); + window.location.href = 'movie-details.html'; +} + async function fetchGenreMap() { const url = `https://${getMovieVerseData()}/3/genre/movie/list?${generateMovieNames()}${getMovieCode()}`; try { diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/favorites.js b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/favorites.js index 18915e34..1c5d5806 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/favorites.js +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/favorites.js @@ -1330,6 +1330,8 @@ async function loadWatchLists() { displaySection.innerHTML = '

No watch lists found. Click on "Create Watch Lists" to start adding movies.

'; } else { + displaySection.innerHTML = ''; + displaySection.innerHTML += '

Your Watch Lists

'; watchlists.sort((a, b) => a.order - b.order); watchlists.sort((a, b) => (b.pinned === a.pinned) ? 0 : b.pinned ? 1 : -1); for (const watchlist of watchlists) { @@ -1348,6 +1350,8 @@ async function loadWatchLists() { displaySection.innerHTML = '

No watch lists found. Start by adding movies to your watchlist.

'; } else { + displaySection.innerHTML = ''; + displaySection.innerHTML += '

Your Watch Lists

'; localWatchlists.sort((a, b) => (b.pinned === a.pinned) ? 0 : b.pinned ? 1 : -1); for (const watchlist of localWatchlists) { const watchlistDiv = await createWatchListDiv(watchlist); @@ -1465,6 +1469,8 @@ async function loadWatchLists() { displaySection.innerHTML = '

No watch lists found. Start by adding movies to your watchlist.

'; } else { + displaySection.innerHTML = ''; + displaySection.innerHTML += '

Your Watch Lists

'; localWatchlists.sort((a, b) => (b.pinned === a.pinned) ? 0 : b.pinned ? 1 : -1); for (const watchlist of localWatchlists) { const watchlistDiv = await createWatchListDiv(watchlist); diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/movie-details.js b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/movie-details.js index f45cf77a..7808acad 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/movie-details.js +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/movie-details.js @@ -583,16 +583,6 @@ async function fetchMovieDetails(movieId) { const imdbId = movie.imdb_id; fetchMovieRatings(imdbId, movie); - - const response2 = await fetch(url2); - const movie2 = await response2.json(); - const trailers = movie2.videos.results.filter(video => video.type === 'Trailer'); - - if (trailers.length > 0) { - const trailerUrl = `https://www.youtube.com/watch?v=${trailers[0].key}`; - trailerButton = createTrailerButton(trailerUrl); - positionTrailerButton(); - } updateBrowserURL(movie.title); hideSpinner(); } @@ -863,18 +853,12 @@ function positionTrailerButton() { } document.getElementById('movie-description').style.marginTop = '-60px'; - if (window.innerWidth <= 900) { - const movieDescription = document.getElementById('movie-description'); - movieDescription.parentNode.insertBefore(trailerButton, movieDescription); - } - else { - const movieRating = document.getElementById('movie-rating'); - movieRating.parentNode.insertBefore(trailerButton, movieRating.nextSibling); - } + const movieRating = document.getElementById('movie-rating'); + movieRating.parentNode.insertBefore(trailerButton, movieRating.nextSibling); + hideSpinner(); } -document.addEventListener('DOMContentLoaded', positionTrailerButton); function showTrailerIframe(trailerUrl) { trailerUrlGlobal = trailerUrl; @@ -1064,38 +1048,192 @@ async function populateMovieDetails(movie, imdbRating, rtRating, metascore, awar const directors = movie.credits.crew.filter(member => member.job === 'Director'); if (directors.length > 0) { - const directorsLinks = directors.map(director => - `${director.name}` - ).join(', '); + const directorSection = document.createElement('div'); + directorSection.classList.add('director-section'); + directorSection.style.textAlign = 'center'; + + const directorTitle = document.createElement('span'); + directorTitle.innerHTML = 'Director: '; + directorSection.appendChild(directorTitle); + + directors.forEach(director => { + const directorLink = document.createElement('a'); + directorLink.classList.add('director-link'); + directorLink.href = 'javascript:void(0);'; + directorLink.style.textDecoration = 'none'; + directorLink.setAttribute('onclick', `handleDirectorClick(${director.id}, '${director.name.replace(/'/g, "\\'")}');`); + + const directorItem = document.createElement('div'); + directorItem.classList.add('cast-item'); + + const directorImage = document.createElement('img'); + directorImage.classList.add('cast-image'); + + if (director.profile_path) { + directorImage.src = IMGPATH + director.profile_path; + directorImage.alt = `${director.name} Profile Picture`; + } else { + directorImage.alt = 'Image Not Available'; + directorImage.src = '../../images/user-default.png'; + directorImage.style.filter = 'grayscale(100%)'; + directorImage.style.objectFit = 'cover'; + } - const directorsElement = document.createElement('p'); - directorsElement.innerHTML = `Director: ${directorsLinks}`; - document.getElementById('movie-description').appendChild(directorsElement); - } - else { + directorItem.appendChild(directorImage); + + const directorDetails = document.createElement('div'); + directorDetails.classList.add('cast-details'); + + const directorName = document.createElement('p'); + directorName.classList.add('actor-name'); + directorName.textContent = director.name; + directorDetails.appendChild(directorName); + + directorItem.appendChild(directorDetails); + directorLink.appendChild(directorItem); + directorSection.appendChild(directorLink); + }); + + document.getElementById('movie-description').appendChild(directorSection); + } else { const noDirectorsElement = document.createElement('p'); noDirectorsElement.innerHTML = `Director: Information not available`; document.getElementById('movie-description').appendChild(noDirectorsElement); } } - const castHeading = document.createElement('p'); - castHeading.innerHTML = 'Cast: '; - document.getElementById('movie-description').appendChild(castHeading); + const castSection = document.createElement('div'); + castSection.classList.add('cast-section'); + + const castTitle = document.createElement('p'); + castTitle.innerHTML = 'Notable Cast:'; + castSection.appendChild(castTitle); if (movie.credits && movie.credits.cast.length > 0) { - const topTenCast = movie.credits.cast.slice(0, 10); - topTenCast.forEach((actor, index) => { - const actorLink = document.createElement('a'); - actorLink.innerHTML = `${actor.name}`; - castHeading.appendChild(actorLink); - if (index < topTenCast.length - 1) { - castHeading.appendChild(document.createTextNode(', ')); + const castList = document.createElement('div'); + castList.classList.add('cast-list'); + castList.style.display = 'flex'; + castList.style.flexWrap = 'wrap'; + castList.style.justifyContent = 'center'; + castList.style.gap = '10px'; + const topTwelveCast = movie.credits.cast.slice(0, 10); + + topTwelveCast.forEach(actor => { + const castItemLink = document.createElement('a'); + castItemLink.classList.add('actor-link'); + castItemLink.href = 'javascript:void(0);'; + castItemLink.setAttribute('onclick', `selectActorId(${actor.id}, '${actor.name.replace(/'/g, "\\'")}');`); + + const castItem = document.createElement('div'); + castItem.classList.add('cast-item'); + + const actorImage = document.createElement('img'); + actorImage.classList.add('cast-image'); + + if (actor.profile_path) { + actorImage.src = IMGPATH + actor.profile_path; + actorImage.alt = `${actor.name} Profile Picture`; + } + else { + actorImage.alt = 'Image Not Available'; + actorImage.src = '../../images/user-default.png'; + actorImage.style.filter = 'grayscale(100%)'; + actorImage.style.objectFit = 'cover'; + } + + castItem.appendChild(actorImage); + + const actorDetails = document.createElement('div'); + actorDetails.classList.add('cast-details'); + + const actorName = document.createElement('p'); + actorName.classList.add('actor-name'); + actorName.textContent = actor.name; + actorName.style.wordWrap = 'break-word'; + actorDetails.appendChild(actorName); + + const character = actor.character ? ` (${actor.character})` : ''; + const actorRole = document.createElement('p'); + actorRole.classList.add('actor-role'); + actorRole.style.fontSize = '11px'; + actorRole.textContent = character; + actorRole.style.fontStyle = 'italic'; + actorRole.style.wordWrap = 'break-word'; + actorDetails.appendChild(actorRole); + + castItem.appendChild(actorDetails); + castItemLink.appendChild(castItem); + castList.appendChild(castItemLink); + }); + + castSection.appendChild(castList); + } + else { + castSection.appendChild(document.createTextNode('None available.')); + } + + document.getElementById('movie-description').appendChild(castSection); + + if (movie.similar && movie.similar.results && movie.similar.results.length > 0) { + const similarMoviesSection = document.createElement('div'); + similarMoviesSection.classList.add('similar-movies-section'); + + const similarMoviesTitle = document.createElement('p'); + similarMoviesTitle.innerHTML = 'Similar Movies:'; + similarMoviesSection.appendChild(similarMoviesTitle); + + const similarMoviesList = document.createElement('div'); + similarMoviesList.classList.add('similar-movies-list'); + similarMoviesList.style.display = 'flex'; + similarMoviesList.style.flexWrap = 'wrap'; + similarMoviesList.style.justifyContent = 'center'; + similarMoviesList.style.gap = '10px'; + + const topTenSimilarMovies = movie.similar.results.slice(0, 10); + topTenSimilarMovies.forEach(similarMovie => { + const similarMovieLink = document.createElement('a'); + similarMovieLink.classList.add('similar-movie-link'); + similarMovieLink.href = 'javascript:void(0);'; + similarMovieLink.setAttribute('onclick', `handleSimilarMovieClick(${similarMovie.id}, '${similarMovie.title.replace(/'/g, "\\'")}');`); + + const similarMovieItem = document.createElement('div'); + similarMovieItem.classList.add('cast-item'); + + const similarMovieImage = document.createElement('img'); + similarMovieImage.classList.add('cast-image'); + + if (similarMovie.poster_path) { + similarMovieImage.src = IMGPATH + similarMovie.poster_path; + similarMovieImage.alt = `${similarMovie.title} Poster`; + } else { + similarMovieImage.alt = 'Image Not Available'; + similarMovieImage.src = '../../images/movie-default.jpg'; + similarMovieImage.style.filter = 'grayscale(100%)'; + similarMovieImage.style.objectFit = 'cover'; } + + similarMovieItem.appendChild(similarMovieImage); + + const similarMovieDetails = document.createElement('div'); + similarMovieDetails.classList.add('cast-details'); + + const similarMovieTitle = document.createElement('p'); + similarMovieTitle.classList.add('actor-name'); + similarMovieTitle.textContent = similarMovie.title; + similarMovieDetails.appendChild(similarMovieTitle); + + similarMovieItem.appendChild(similarMovieDetails); + similarMovieLink.appendChild(similarMovieItem); + similarMoviesList.appendChild(similarMovieLink); }); + + similarMoviesSection.appendChild(similarMoviesList); + document.getElementById('movie-description').appendChild(similarMoviesSection); } else { - castHeading.appendChild(document.createTextNode('None available.')); + const noSimilarMoviesElement = document.createElement('p'); + noSimilarMoviesElement.innerHTML = `Similar Movies: None available`; + document.getElementById('movie-description').appendChild(noSimilarMoviesElement); } if (movie.production_companies && movie.production_companies.length > 0) { @@ -1113,21 +1251,6 @@ async function populateMovieDetails(movie, imdbRating, rtRating, metascore, awar document.getElementById('movie-description').appendChild(noCompaniesElement); } - if (movie.similar && movie.similar.results && movie.similar.results.length > 0) { - let similarMoviesHTML = movie.similar.results.map(similarMovie => { - return `${similarMovie.title}`; - }).join(', '); - - const similarMoviesElement = document.createElement('p'); - similarMoviesElement.innerHTML = `Similar Movies: ${similarMoviesHTML}`; - document.getElementById('movie-description').appendChild(similarMoviesElement); - } - else { - const noSimilarMoviesElement = document.createElement('p'); - noSimilarMoviesElement.innerHTML = `Similar Movies: None available`; - document.getElementById('movie-description').appendChild(noSimilarMoviesElement); - } - document.getElementById('movie-description').innerHTML += `

Streaming Options: ${streamingHTML}

`; @@ -1300,6 +1423,31 @@ async function populateMovieDetails(movie, imdbRating, rtRating, metascore, awar document.querySelector('.movie-left').appendChild(noImageText); } + const movieId = movie.id; + const code = `${getMovieCode()}`; + const url2 = `https://${getMovieVerseData()}/3/movie/${movieId}?${generateMovieNames()}${code}&append_to_response=videos`; + try { + const response2 = await fetch(url2); + const movie2 = await response2.json(); + const trailers = movie2.videos.results.filter(video => video.type === 'Trailer'); + + if (trailers.length > 0) { + const trailerUrl = `https://www.youtube.com/watch?v=${trailers[0].key}`; + trailerButton = createTrailerButton(trailerUrl); + detailsContainer.appendChild(trailerButton); + } + updateBrowserURL(movie.title); + + console.log(movie2) + } + catch (error) { + document.getElementById('movie-details-container').innerHTML = ` +
+

Movie details not found - Try again with a different movie

+
`; + console.log('Error fetching movie details:', error); + } + hideSpinner(); } @@ -1370,6 +1518,10 @@ function getSavedTextColor() { return localStorage.getItem('textColor') || 'white'; } +function handleActorClick(actorId, actorName) { + selectActorId(actorId, actorName); +} + function handleDirectorClick(directorId, directorName) { localStorage.setItem('selectedDirectorId', directorId); document.title = `${directorName} - Director's Details`; diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/tv-details.js b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/tv-details.js index f61eae35..05755be2 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/tv-details.js +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/MovieVerse-Frontend/js/tv-details.js @@ -4,8 +4,6 @@ const movieCode = { part3: 'ZDllOTg3ZGNjN2YxYjU1OA==' }; -let globalTrailerKey = ''; - function getMovieCode() { return atob(movieCode.part1) + atob(movieCode.part2) + atob(movieCode.part3); } @@ -551,13 +549,6 @@ async function fetchTvDetails(tvSeriesId) { populateTvSeriesDetails(tvSeriesDetails, imdbRating); updateBrowserURL(tvSeriesDetails.name); - - const trailer = tvSeriesDetails.videos.results.find(video => video.type === 'Trailer' && video.site === 'YouTube'); - if (trailer) { - document.getElementById('trailerButton').style.display = 'block'; - globalTrailerKey = trailer.key; - } - hideSpinner(); } catch (error) { @@ -682,25 +673,189 @@ async function populateTvSeriesDetails(tvSeries, imdbRating) { const productionCountries = tvSeries.production_countries && tvSeries.production_countries.length > 0 ? tvSeries.production_countries.map(country => getCountryName(country.iso_3166_1)).join(', ') : 'Information not available'; detailsHTML += `

Production Countries: ${productionCountries}

`; - if (tvSeries.created_by && tvSeries.created_by.length) { - const creatorsLinks = tvSeries.created_by.map(creator => - `${creator.name}` - ).join(', '); - detailsHTML += `

Directors: ${creatorsLinks}

`; - } - else { - detailsHTML += `

Directors: Information not available

`; + if (tvSeries.created_by && tvSeries.created_by.length > 0) { + const creatorsSection = document.createElement('div'); + creatorsSection.classList.add('creators-section'); + + const creatorsTitle = document.createElement('p'); + creatorsTitle.innerHTML = 'Creators:'; + creatorsSection.appendChild(creatorsTitle); + + const creatorsList = document.createElement('div'); + creatorsList.classList.add('creators-list'); + creatorsList.style.display = 'flex'; + creatorsList.style.flexWrap = 'wrap'; + creatorsList.style.justifyContent = 'center'; + creatorsList.style.gap = '10px'; + + tvSeries.created_by.forEach(creator => { + const creatorLink = document.createElement('a'); + creatorLink.classList.add('creator-link'); + creatorLink.href = 'javascript:void(0);'; + creatorLink.setAttribute('onclick', `handleCreatorClick(${creator.id}, '${creator.name.replace(/'/g, "\\'")}');`); + + const creatorItem = document.createElement('div'); + creatorItem.classList.add('creator-item'); + + const creatorImage = document.createElement('img'); + creatorImage.classList.add('creator-image'); + + if (creator.profile_path) { + creatorImage.src = IMGPATH + creator.profile_path; + creatorImage.alt = `${creator.name} Profile Picture`; + } else { + creatorImage.alt = 'Image Not Available'; + creatorImage.style.objectFit = 'cover'; + creatorImage.src = '../../images/user-default.png'; + creatorImage.style.filter = 'grayscale(100%)'; + } + + creatorItem.appendChild(creatorImage); + + const creatorDetails = document.createElement('div'); + creatorDetails.classList.add('creator-details'); + + const creatorName = document.createElement('p'); + creatorName.classList.add('creator-name'); + creatorName.textContent = creator.name; + creatorDetails.appendChild(creatorName); + + creatorItem.appendChild(creatorDetails); + creatorLink.appendChild(creatorItem); + creatorsList.appendChild(creatorLink); + }); + + creatorsSection.appendChild(creatorsList); + detailsHTML += creatorsSection.outerHTML; + } else { + const noCreatorsElement = document.createElement('p'); + noCreatorsElement.innerHTML = `Creators: Information not available`; + detailsHTML += noCreatorsElement.outerHTML; } - if (tvSeries.credits && tvSeries.credits.cast && tvSeries.credits.cast.length) { - let castHTML = tvSeries.credits.cast.slice(0, 100).map(castMember => { - const escapedName = castMember.name.replace(/'/g, "\\'"); - return `${castMember.name}`; - }).join(', '); - detailsHTML += `

Cast: ${castHTML}

`; + if (tvSeries.credits && tvSeries.credits.cast && tvSeries.credits.cast.length > 0) { + const castSection = document.createElement('div'); + castSection.classList.add('cast-section'); + + const castTitle = document.createElement('p'); + castTitle.innerHTML = 'Cast:'; + castSection.appendChild(castTitle); + + const castList = document.createElement('div'); + castList.classList.add('cast-list'); + castList.style.display = 'flex'; + castList.style.flexWrap = 'wrap'; + castList.style.justifyContent = 'center'; + castList.style.gap = '10px'; + + tvSeries.credits.cast.slice(0, 10).forEach(castMember => { + const castMemberLink = document.createElement('a'); + castMemberLink.classList.add('cast-member-link'); + castMemberLink.href = 'javascript:void(0);'; + castMemberLink.setAttribute('onclick', `selectActorId(${castMember.id}, '${castMember.name.replace(/'/g, "\\'")}');`); + + const castMemberItem = document.createElement('div'); + castMemberItem.classList.add('cast-member-item'); + + const castMemberImage = document.createElement('img'); + castMemberImage.classList.add('cast-member-image'); + + if (castMember.profile_path) { + castMemberImage.src = IMGPATH + castMember.profile_path; + castMemberImage.alt = `${castMember.name} Profile Picture`; + } else { + castMemberImage.alt = 'Image Not Available'; + castMemberImage.style.objectFit = 'cover'; + castMemberImage.src = '../../images/user-default.png'; + castMemberImage.style.filter = 'grayscale(100%)'; + } + + castMemberItem.appendChild(castMemberImage); + + const castMemberDetails = document.createElement('div'); + castMemberDetails.classList.add('cast-member-details'); + + const castMemberName = document.createElement('p'); + castMemberName.classList.add('cast-member-name'); + castMemberName.textContent = castMember.name; + castMemberDetails.appendChild(castMemberName); + + const castMemberRole = document.createElement('p'); + castMemberRole.classList.add('cast-member-role'); + castMemberRole.textContent = castMember.character ? `(${castMember.character})` : ''; + castMemberRole.style.fontStyle = 'italic'; + castMemberDetails.appendChild(castMemberRole); + + castMemberItem.appendChild(castMemberDetails); + castMemberLink.appendChild(castMemberItem); + castList.appendChild(castMemberLink); + }); + + castSection.appendChild(castList); + detailsHTML += castSection.outerHTML; + } else { + const noCastElement = document.createElement('p'); + noCastElement.innerHTML = `Cast: Information not available`; + detailsHTML += noCastElement.outerHTML; } - else { - detailsHTML += `

Cast: Information not available

`; + + if (tvSeries.similar && tvSeries.similar.results && tvSeries.similar.results.length > 0) { + const similarTvSeriesSection = document.createElement('div'); + similarTvSeriesSection.classList.add('similar-tv-series-section'); + + const similarTvSeriesTitle = document.createElement('p'); + similarTvSeriesTitle.innerHTML = 'Similar TV Series:'; + similarTvSeriesSection.appendChild(similarTvSeriesTitle); + + const similarTvSeriesList = document.createElement('div'); + similarTvSeriesList.classList.add('similar-tv-series-list'); + similarTvSeriesList.style.display = 'flex'; + similarTvSeriesList.style.flexWrap = 'wrap'; + similarTvSeriesList.style.justifyContent = 'center'; + similarTvSeriesList.style.gap = '10px'; + + tvSeries.similar.results.slice(0, 5).forEach(similarTv => { + const similarTvLink = document.createElement('a'); + similarTvLink.classList.add('similar-tv-link'); + similarTvLink.href = 'javascript:void(0);'; + similarTvLink.setAttribute('onclick', `selectTvSeriesId(${similarTv.id});`); + + const similarTvItem = document.createElement('div'); + similarTvItem.classList.add('similar-tv-item'); + + const similarTvImage = document.createElement('img'); + similarTvImage.classList.add('similar-tv-image'); + + if (similarTv.poster_path) { + similarTvImage.src = IMGPATH + similarTv.poster_path; + similarTvImage.alt = `${similarTv.name} Poster`; + } else { + similarTvImage.alt = 'Image Not Available'; + similarTvImage.src = '../../images/tv-default.png'; + similarTvImage.style.filter = 'grayscale(100%)'; + } + + similarTvItem.appendChild(similarTvImage); + + const similarTvDetails = document.createElement('div'); + similarTvDetails.classList.add('similar-tv-details'); + + const similarTvName = document.createElement('p'); + similarTvName.classList.add('similar-tv-name'); + similarTvName.textContent = similarTv.name; + similarTvDetails.appendChild(similarTvName); + + similarTvItem.appendChild(similarTvDetails); + similarTvLink.appendChild(similarTvItem); + similarTvSeriesList.appendChild(similarTvLink); + }); + + similarTvSeriesSection.appendChild(similarTvSeriesList); + detailsHTML += similarTvSeriesSection.outerHTML; + } else { + const noSimilarTvSeriesElement = document.createElement('p'); + noSimilarTvSeriesElement.innerHTML = `Similar TV Series: Information not available`; + detailsHTML += noSimilarTvSeriesElement.outerHTML; } if (tvSeries.production_companies && tvSeries.production_companies.length) { @@ -713,16 +868,6 @@ async function populateTvSeriesDetails(tvSeries, imdbRating) { detailsHTML += `

Production Companies: Information not available

`; } - if (tvSeries.similar && tvSeries.similar.results && tvSeries.similar.results.length) { - let similarTVHTML = tvSeries.similar.results.slice(0, 5).map(similarTv => { - return `${similarTv.name}`; - }).join(', '); - detailsHTML += `

Similar TV Series: ${similarTVHTML}

`; - } - else { - detailsHTML += `

Similar TV Series: Information not available

`; - } - if (tvSeries.last_episode_to_air) { detailsHTML += `

Last Episode: ${tvSeries.last_episode_to_air.name || 'Title not available'} - "${tvSeries.last_episode_to_air.overview || 'Overview not available.'}"

`; } @@ -1037,24 +1182,6 @@ document.addEventListener('DOMContentLoaded', () => { setStarRating(movieRating); }); -document.addEventListener('DOMContentLoaded', () => { - document.getElementById('trailerButton').addEventListener('click', () => { - const trailerContainer = document.getElementById('trailerContainer'); - const isOpen = trailerContainer.style.maxHeight !== '0px'; - - if (isOpen) { - trailerContainer.style.maxHeight = '0'; - } - else { - const trailerIframe = ``; - trailerContainer.innerHTML = trailerIframe; - trailerContainer.style.maxWidth = '400px'; - trailerContainer.style.maxHeight = '315px'; - trailerContainer.style.borderRadius = '8px'; - } - }); -}); - async function showMovieOfTheDay() { const year = new Date().getFullYear(); const url = `https://${getMovieVerseData()}/3/discover/movie?${generateMovieNames()}${getMovieCode()}&sort_by=vote_average.desc&vote_count.gte=100&primary_release_year=${year}&vote_average.gte=7`; diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/images/LICENSE b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/images/LICENSE index a0ef1b39..19bed0c9 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/images/LICENSE +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/images/LICENSE @@ -1,21 +1,151 @@ -MIT License - -Copyright (c) 2024 Son Nguyen - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +Creative Commons Attribution-NonCommercial 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-NonCommercial 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + +Section 1 – Definitions. + +a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. + +b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. + +c. BY-NC Compatible License means a license listed at https://creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License. + +d. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. + +e. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. + +f. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. + +g. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. + +h. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. + +i. Licensor means the individual(s) or entity(ies) granting rights under this Public License. + +j. NonCommercial means not primarily intended for or directed towards commercial advantage or monetary compensation. For purposes of this Public License, the exchange of the Licensed Material for other material subject to Copyright and Similar Rights by digital file-sharing or similar means is NonCommercial provided there is no payment of monetary compensation in connection with the exchange. + +k. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. + +l. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. + +m. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. + +Section 2 – Scope. + +a. License grant. + + 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or in part, for NonCommercial purposes only; and + + b. produce, reproduce, and Share Adapted Material for NonCommercial purposes only. + + 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. + + 3. Term. The term of this Public License is specified in Section 6(a). + + 4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. + + b. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. + + 6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). + +b. Other rights. + + 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this Public License. + + 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties, including when the Licensed Material is used other than for NonCommercial purposes. + +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + +a. Attribution. + + 1. If You Share the Licensed Material (including in modified form), You must: + + a. retain the following if it is supplied by the Licensor with the Licensed Material: + + i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of warranties; + + v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; + + b. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. + + 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. + +b. ShareAlike. + + 1. In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply. + + a. The Adapter's License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-NC Compatible License. + + b. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material. + + c. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply. + +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + +a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database for NonCommercial purposes only; + +b. if You include all or a substantial portion of the database contents in a database in which You have Copyright or Sui Generis Database Rights, then the database in which You have Copyright or Sui Generis Database Rights (but not its individual contents) is Adapted Material; and + +c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. + +Section 5 – Disclaimer of Warranties and Limitation of Liability. + +a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. + +b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. + +c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. + +Section 6 – Term and Termination. + +a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. + +b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. + +c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. + +d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. + +Section 7 – Other Terms and Conditions. + +a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. + +b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. + +Section 8 – Interpretation. + +a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. + +b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. + +c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. + +d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/images/README.md b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/images/README.md index 780ccef7..d67a1505 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/images/README.md +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/images/README.md @@ -12,7 +12,7 @@ This directory serves as a repository for the images used throughout our applica - `favicon.ico`: This icon is used as the website's favicon, visible in browser tabs and bookmarks. - `screenshot.png`: This image is used within the app to demonstrate features or provide visual guides, such as for UI design. - `user-default.png`: This image is used as a placeholder for the user's profile until they add their own profile image. -- And more... +- And many more... ## Usage Guidelines diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/images/actor-default.webp b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/images/actor-default.webp new file mode 100644 index 0000000000000000000000000000000000000000..6b62648b9c6a781e2366e22a644dec46984429e8 GIT binary patch literal 2832 zcmd^A_d6R37mjgb+*;{CLn%eniaip0kCLENt@NTs?LC89MeKF$*@mi7YP5-!B3i0w zl}a16)k=)2n%DPy_j{i2m-`po^W%BWd4G7%`@YBAP*0EXcL2azR|{c!fJ{qO}RbfaEVC1|U=r#_8r-3H|u z?t;k~EY)S^WIIDB_3<_T1=PkgOo8=uffu$%o5_8Mz{0i|Utjo?`)Cg}x3o{`Ud(mg%L5 zHP*!<_J(zSViXe~O2~=r#2f?GcX1DPer!tRFg!mSa{Qbu;jHY^JB;dP54gGT^why9D6avILULU7m>An9NyVxkiWn+V2VG;SEg-q<~XX zBA_r&-x`S>t%~@UuGO3Zfx5rq>3S(6N50%moKsF{qAreKygjz3Hpuozj~+5{2)g8? z2YzKCCM&%nnwvH*EdqwL(yJc&hZyVb(c%(fp+$)`&X#4b)8ZO56~hcVZgKm!xN#zJ zXUpt{^`HFl>aH3DQ?)+EVUlSaDmKLzQz7k0=z>h7OCLsaGvzY&E!eQI_)Wv)oe%mP z(0Tq~dU?W*P`S%9fdNKx!1%*47J|T{h@>P<5jBkXbI$!K4jCUADD1Av4#)vKD0KTd zxYoy+lQ*DANH4(16=`_IB+G1?z8hnEbWGFIdwCM~`RsbzXOJ}Oh&pdkTiLvUR=Kua zFzY)THK;YPW!LrL8%=dG_CUIZlla^*G!cUbD0CX$Pd0VFzowfF%=vqCg6_GQr--#C zo#T+^$A&^b%;~Vo*7t}MB?*!Cph!NDI=4+>hO$YG_gS9DL}ERz4^>auvH*tmakb=5 zHLEybhy5CbZ`=b=VY_NyfSwQu3wB=Zm2am^-$t5RQR^^tCJ*-@0wjy>GM`W<#lE0E z=857cXiv}g9C&h4@@C=uK!E^=Q;!(8aX{)IGo1DKeFsf3GyKt$w$E9+#w|2tK6_u9 z;j?wOrqRla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~Z!7Z!;N*DLgf&zQ^`B+%ua~-oZ(PICOicAD6~S>gU-7=-jbS z(|oY}TKOPYQ3aLI9B#Ie;+Z9EoXj7{+i2hY@nP)G;QWTe;3IVvQ$rgAl22A-&9$wo z9vQV7$!XQ`dDPqjauZsI04zek{yRMT^SlD+vidK2l3p02q4UAa$aw{tmG$IDZTkAToG92vM zALP;GcD+PSA_%%f7QS1daaBoXa(4RLY*J?9di@*K^^K#+;nCX%$*=`vLJCrGok$Af z-g17xTm@Z4BO;?q;UU|YWW<6eM4fzRrh0Dxs-M&AaGgl)Jjz&E=65csxY;-)wIxS( zevR8ehy|c7_TXNXGjm<4mMgj&H$(oV-px;q2h^@!GPbM37&WIU*`o56NOOYFDQo%L zQqMS7gJ;dDiE4c&dVkcG7Hr-Q?kdZBd-n}H(f81Awaw0uzG_A5$q3awn%C`F1s}(M zlx~;#loMtT5ev4uocUO`P(6JIm3T^n9q=+i;- PL89EVMril3E=K+jKxjE` literal 0 HcmV?d00001 diff --git a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/index.html b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/index.html index 8845719e..c86dff8b 100644 --- a/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/index.html +++ b/MovieVerse-Mobile/platforms/android/app/src/main/assets/www/index.html @@ -3,6 +3,7 @@ + The MovieVerse - Explore Movies, TV Series, and More diff --git a/MovieVerse-Mobile/platforms/ios/www/404.html b/MovieVerse-Mobile/platforms/ios/www/404.html index 6c4dc9eb..3c406f43 100644 --- a/MovieVerse-Mobile/platforms/ios/www/404.html +++ b/MovieVerse-Mobile/platforms/ios/www/404.html @@ -461,7 +461,7 @@

-
+

diff --git a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/css/style.css b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/css/style.css index 5a2ca024..0785de86 100644 --- a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/css/style.css +++ b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/css/style.css @@ -2,6 +2,10 @@ box-sizing: border-box; } +html { + scroll-behavior: smooth; +} + @font-face { font-family: 'Poppins'; src: url('/fonts/Poppins-Light.ttf') format('truetype'); @@ -38,12 +42,131 @@ body { overflow-x: hidden; min-height: 100vh; overflow-y: auto; + scroll-behavior: smooth; } #heading-href { text-decoration: none; } +.cast-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; +} + +.cast-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + margin: 5px; + overflow: hidden; + border-radius: 8px; +} + +.cast-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; +} + +.cast-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; +} + +.cast-details { + width: 100%; +} + +.actor-name, .actor-role { + font-size: 12px; + margin: 0; +} + +.director-section { + display: flex; + align-items: center; + gap: 10px; + justify-content: center; + flex-wrap: wrap; +} + +.director-link { + display: flex; + align-items: center; + text-align: center; +} + +.director-link .cast-item { + display: flex; + flex-direction: column; + align-items: center; + text-align: center; +} + +.director-link .cast-image { + width: 100%; + height: 155px; + margin-bottom: 5px; +} + +.director-link .actor-name { + font-size: 12px; +} + +.creators-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; +} + +.creator-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + margin: 5px; + overflow: hidden; + border-radius: 8px; +} + +.creator-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; +} + +.creator-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; +} + +.creator-details { + width: 100%; +} + +.creator-name { + font-size: 12px; + margin: 0; + word-break: break-word; +} + #movie-match-btn { position: fixed; bottom: 220px; @@ -3449,6 +3572,7 @@ body { display: flex; flex-wrap: wrap; justify-content: center; + padding: 10px; } #company-movies-list span { diff --git a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/css/trivia.css b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/css/trivia.css index a9c7716e..6a40c7c3 100644 --- a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/css/trivia.css +++ b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/css/trivia.css @@ -14,6 +14,12 @@ footer { color: #ff8623 !important; } +@media (max-width: 900px) { + #local-time { + display: none; + } +} + body { color: #ff903a; font-family: "Poppins", sans-serif; diff --git a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/actor-details.html b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/actor-details.html index 6953ef9d..905f6178 100644 --- a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/actor-details.html +++ b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/actor-details.html @@ -179,6 +179,51 @@ #actor-details-container { margin-top: 25px; } + + .movie-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; + margin-top: 7px; + padding-top: 5px; + } + + .movie-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + overflow: hidden; + border-radius: 8px; + } + + .movie-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; + } + + .movie-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; + } + + .movie-details { + width: 100%; + } + + .movie-title { + font-size: 12px; + margin: 0; + word-break: break-word; + } @@ -259,11 +304,6 @@

-
-

- -
-
diff --git a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/analytics.html b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/analytics.html index abd29fb9..5b4d8353 100644 --- a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/analytics.html +++ b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/analytics.html @@ -391,51 +391,51 @@

-

Number of Movies Released Each Year

+

Number of Movies Released Each Year

-

Popularity of Genres

+

Popularity of Genres

-

Movies Distribution by Certification

+

Movies Distribution by Certification

-

Average Movie Popularity Over Time

+

Average Movie Popularity Over Time

-

Movies Count by Original Language

+

Movies Count by Original Language

-

Average Vote Count by Genre

+

Average Vote Count by Genre

-

Movie Releases by Month

+

Movie Releases by Month

-

Movie Releases by Decades

+

Movie Releases by Decades

-

Movie Releases by Countries

+

Movie Releases by Countries

-
-

Top Rated Movies per Year

+
+

Top Rated Movies per Year

-

Total Movie Votes Over Years

+

Total Movie Votes Over Years

-

Highly Rated Movies Over Years

+

Highly Rated Movies Over Years

diff --git a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/company-details.html b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/company-details.html index df9c1c97..979cc25f 100644 --- a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/company-details.html +++ b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/company-details.html @@ -178,6 +178,51 @@ margin-top: 0 !important; } } + + .movie-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; + margin-top: 7px; + padding-top: 5px; + } + + .movie-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + overflow: hidden; + border-radius: 8px; + } + + .movie-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; + } + + .movie-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; + } + + .movie-details { + width: 100%; + } + + .movie-title { + font-size: 12px; + margin: 0; + word-break: break-word; + } @@ -258,11 +303,6 @@

-
-

- -
- @@ -284,8 +324,8 @@

Headquarters:

Country:

Website:

-

Produced Movies:

-
+

Produced Movies:

+

diff --git a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/director-details.html b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/director-details.html index 5b1ff846..2f0ae832 100644 --- a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/director-details.html +++ b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/html/director-details.html @@ -96,6 +96,51 @@ background-position: top center; } } + + .movie-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; + margin-top: 7px; + padding-top: 5px; + } + + .movie-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + overflow: hidden; + border-radius: 8px; + } + + .movie-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; + } + + .movie-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; + } + + .movie-details { + width: 100%; + } + + .movie-title { + font-size: 12px; + margin: 0; + word-break: break-word; + } @@ -347,14 +343,8 @@

Your Rating:

- 0.0/5.0 -
- - -
-

-

-
+ 0.0/5.0 +

Movie Comments

@@ -383,9 +373,15 @@

Add a Comment for This Movie

+ + +
+

+

+
-
+

Advertisement

- 0.0/5.0 -
- - -
-

-

- - -
- + 0.0/5.0

TV Show Comments

@@ -403,6 +483,15 @@

Add a Comment for This TV Series

+ + +
+

+

+ + +
+
diff --git a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/actor-details.js b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/actor-details.js index 57097d65..25f6efc7 100644 --- a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/actor-details.js +++ b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/actor-details.js @@ -97,8 +97,6 @@ document.addEventListener('DOMContentLoaded', () => { else { fetchActorDetails(2037); } - - document.getElementById('clear-search-btn').style.display = 'none'; }); async function fetchActorDetails(actorId) { @@ -193,15 +191,45 @@ async function populateActorDetails(actor, credits) { const movieList = document.createElement('div'); movieList.classList.add('movie-list'); + movieList.style.display = 'flex'; + movieList.style.flexWrap = 'wrap'; + movieList.style.justifyContent = 'center'; + movieList.style.gap = '10px'; credits.cast.forEach((movie, index) => { - const movieLink = document.createElement('span'); - movieLink.textContent = movie.title; + const movieLink = document.createElement('a'); movieLink.classList.add('movie-link'); - movieLink.addEventListener('click', () => { - localStorage.setItem('selectedMovieId', movie.id); - window.location.href = 'movie-details.html'; - }); + movieLink.href = 'javascript:void(0);'; + movieLink.setAttribute('onclick', `selectMovieId(${movie.id});`); + + const movieItem = document.createElement('div'); + movieItem.classList.add('movie-item'); + + const movieImage = document.createElement('img'); + movieImage.classList.add('movie-image'); + + if (movie.poster_path) { + movieImage.src = IMGPATH + movie.poster_path; + movieImage.alt = `${movie.title} Poster`; + } else { + movieImage.alt = 'Image Not Available'; + movieImage.src = '../../images/movie-default.jpg'; + movieImage.style.filter = 'grayscale(100%)'; + movieImage.style.objectFit = 'cover'; + } + + movieItem.appendChild(movieImage); + + const movieDetails = document.createElement('div'); + movieDetails.classList.add('movie-details'); + + const movieTitle = document.createElement('p'); + movieTitle.classList.add('movie-title'); + movieTitle.textContent = movie.title; + movieDetails.appendChild(movieTitle); + + movieItem.appendChild(movieDetails); + movieLink.appendChild(movieItem); movieList.appendChild(movieLink); if (index < credits.cast.length - 1) { @@ -357,6 +385,11 @@ async function populateActorDetails(actor, credits) { applySettings(); } +function selectMovieId(movieId) { + localStorage.setItem('selectedMovieId', movieId); + window.location.href = 'movie-details.html'; +} + function calculateAge(birthday, deathday = null) { const birthDate = new Date(birthday); const referenceDate = deathday ? new Date(deathday) : new Date(); diff --git a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/analytics.js b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/analytics.js index 60ad3e2c..db94dd39 100644 --- a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/analytics.js +++ b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/analytics.js @@ -757,3 +757,75 @@ function handleSearch() { localStorage.setItem('searchQuery', searchQuery); window.location.href = 'search.html'; } + +document.getElementById('chart-title1').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title1').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title2').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title2').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title3').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title3').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title4').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title4').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title5').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title5').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title6').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title6').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title7').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title7').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title8').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title8').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title9').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title9').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title11').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title11').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title10').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title10').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title12').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title12').scrollIntoView({ behavior: 'smooth' }); +}); \ No newline at end of file diff --git a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/company-details.js b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/company-details.js index b564a9f4..3698aa2b 100644 --- a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/company-details.js +++ b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/company-details.js @@ -271,111 +271,6 @@ function handleSearch() { window.location.href = 'search.html'; } -function calculateMoviesToDisplay() { - const screenWidth = window.innerWidth; - if (screenWidth <= 689.9) return 10; - if (screenWidth <= 1021.24) return 20; - if (screenWidth <= 1353.74) return 21; - if (screenWidth <= 1684.9) return 20; - if (screenWidth <= 2017.49) return 20; - if (screenWidth <= 2349.99) return 18; - if (screenWidth <= 2681.99) return 21; - if (screenWidth <= 3014.49) return 24; - if (screenWidth <= 3345.99) return 27; - if (screenWidth <= 3677.99) return 20; - if (screenWidth <= 4009.99) return 22; - if (screenWidth <= 4340.99) return 24; - if (screenWidth <= 4673.49) return 26; - if (screenWidth <= 5005.99) return 28; - if (screenWidth <= 5337.99) return 30; - if (screenWidth <= 5669.99) return 32; - if (screenWidth <= 6001.99) return 34; - if (screenWidth <= 6333.99) return 36; - if (screenWidth <= 6665.99) return 38; - if (screenWidth <= 6997.99) return 40; - if (screenWidth <= 7329.99) return 42; - if (screenWidth <= 7661.99) return 44; - if (screenWidth <= 7993.99) return 46; - if (screenWidth <= 8325.99) return 48; - return 20; -} - -async function getMovies(url) { - clearMovieDetails(); - const numberOfMovies = calculateMoviesToDisplay(); - const pagesToFetch = numberOfMovies <= 20 ? 1 : 2; - let allMovies = []; - - for (let page = 1; page <= pagesToFetch; page++) { - const response = await fetch(`${url}&page=${page}`); - const data = await response.json(); - allMovies = allMovies.concat(data.results); - } - - const popularityThreshold = 0.5; - - allMovies.sort((a, b) => { - const popularityDifference = Math.abs(a.popularity - b.popularity); - if (popularityDifference < popularityThreshold) { - return b.vote_average - a.vote_average; - } - return b.popularity - a.popularity; - }); - - if (allMovies.length > 0) { - showMovies(allMovies.slice(0, numberOfMovies)); - document.getElementById('clear-search-btn').style.display = 'block'; - } - else { - main.innerHTML = `

No movie with the specified search term found. Please try again.

`; - document.getElementById('clear-search-btn').style.display = 'none'; - } -} - -document.getElementById('clear-search-btn').addEventListener('click', () => { - window.location.reload(); -}); - -function clearMovieDetails() { - const companyDetailsContainer = document.getElementById('company-details-container'); - if (companyDetailsContainer) { - companyDetailsContainer.innerHTML = ''; - } -} - -function showMovies(movies){ - main.innerHTML = ''; - movies.forEach((movie) => { - const { id, poster_path, title, vote_average, overview } = movie; - const movieE1 = document.createElement('div'); - const voteAverage = vote_average.toFixed(1); - movieE1.classList.add('movie'); - - const movieImage = poster_path - ? `${title}` - : `
Image Not Available
`; - - movieE1.innerHTML = ` - ${movieImage} -
-

${title}

- ${voteAverage} -
-
-

Movie Overview:

- ${overview} -
`; - - movieE1.addEventListener('click', () => { - localStorage.setItem('selectedMovieId', id); - window.location.href = 'movie-details.html'; - updateMovieVisitCount(id, title); - }); - - main.appendChild(movieE1); - }); -} - document.addEventListener('DOMContentLoaded', () => { const companyId = localStorage.getItem('selectedCompanyId'); if (companyId) { @@ -786,34 +681,59 @@ function fallbackMovieSelection() { function displayCompanyMovies(movies) { const moviesList = document.getElementById('company-movies-list'); + moviesList.style.display = 'flex'; + moviesList.style.flexWrap = 'wrap'; + moviesList.style.justifyContent = 'center'; + moviesList.style.gap = '10px'; + movies.forEach((movie, index) => { - const movieContainer = document.createElement('span'); - - const movieLink = document.createElement('span'); - movieLink.textContent = movie.title; - movieLink.style.cursor = 'pointer'; - movieLink.style.textDecoration = 'underline'; - movieLink.addEventListener('mouseenter', () => { - movieLink.style.color = '#ff8623'; - }); - movieLink.addEventListener('mouseleave', () => { - movieLink.style.color = 'white'; - }); - movieLink.addEventListener('click', () => { - localStorage.setItem('selectedMovieId', movie.id); - window.location.href = 'movie-details.html'; - }); + const movieLink = document.createElement('a'); + movieLink.classList.add('movie-link'); + movieLink.href = 'javascript:void(0);'; + movieLink.setAttribute('onclick', `selectMovieId(${movie.id});`); + + const movieItem = document.createElement('div'); + movieItem.classList.add('movie-item'); + + const movieImage = document.createElement('img'); + movieImage.classList.add('movie-image'); + + if (movie.poster_path) { + movieImage.src = IMGPATH + movie.poster_path; + movieImage.alt = `${movie.title} Poster`; + } else { + movieImage.alt = 'Image Not Available'; + movieImage.src = '../../images/movie-default.png'; + movieImage.style.filter = 'grayscale(100%)'; + } + + movieItem.appendChild(movieImage); + + const movieDetails = document.createElement('div'); + movieDetails.classList.add('movie-details'); + + const movieTitle = document.createElement('p'); + movieTitle.classList.add('movie-title'); + movieTitle.textContent = movie.title; + movieDetails.appendChild(movieTitle); - movieContainer.appendChild(movieLink); + movieItem.appendChild(movieDetails); + movieLink.appendChild(movieItem); + moviesList.appendChild(movieLink); if (index < movies.length - 1) { - movieContainer.appendChild(document.createTextNode(',')); + const separator = document.createTextNode(', '); + moviesList.appendChild(separator); } - - moviesList.appendChild(movieContainer); }); } +// Define the selectMovieId function +function selectMovieId(movieId) { + localStorage.setItem('selectedMovieId', movieId); + window.location.href = 'movie-details.html'; +} + function updateBrowserURL(title) { const nameSlug = createNameSlug(title); const newURL = window.location.protocol + "//" + window.location.host + window.location.pathname + '?' + nameSlug; diff --git a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/director-details.js b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/director-details.js index f951bb94..c7d79cba 100644 --- a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/director-details.js +++ b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/director-details.js @@ -179,17 +179,47 @@ async function populateDirectorDetails(director, credits) { const movieList = document.createElement('div'); movieList.classList.add('movie-list'); + movieList.style.display = 'flex'; + movieList.style.flexWrap = 'wrap'; + movieList.style.justifyContent = 'center'; + movieList.style.gap = '10px'; const directedMovies = credits.crew.filter(movie => movie.job === "Director"); directedMovies.forEach((movie, index) => { - const movieLink = document.createElement('span'); - movieLink.textContent = movie.title; + const movieLink = document.createElement('a'); movieLink.classList.add('movie-link'); - movieLink.addEventListener('click', () => { - localStorage.setItem('selectedMovieId', movie.id); - window.location.href = 'movie-details.html'; - }); + movieLink.href = 'javascript:void(0);'; + movieLink.setAttribute('onclick', `selectMovieId(${movie.id});`); + + const movieItem = document.createElement('div'); + movieItem.classList.add('movie-item'); + + const movieImage = document.createElement('img'); + movieImage.classList.add('movie-image'); + + if (movie.poster_path) { + movieImage.src = IMGPATH + movie.poster_path; + movieImage.alt = `${movie.title} Poster`; + } else { + movieImage.alt = 'Image Not Available'; + movieImage.src = '../../images/movie-default.jpg'; + movieImage.style.filter = 'grayscale(100%)'; + movieImage.style.objectFit = 'cover'; + } + + movieItem.appendChild(movieImage); + + const movieDetails = document.createElement('div'); + movieDetails.classList.add('movie-details'); + + const movieTitle = document.createElement('p'); + movieTitle.classList.add('movie-title'); + movieTitle.textContent = movie.title; + movieDetails.appendChild(movieTitle); + + movieItem.appendChild(movieDetails); + movieLink.appendChild(movieItem); movieList.appendChild(movieLink); if (index < directedMovies.length - 1) { @@ -360,6 +390,11 @@ async function ensureGenreMapIsAvailable() { } } +function selectMovieId(movieId) { + localStorage.setItem('selectedMovieId', movieId); + window.location.href = 'movie-details.html'; +} + async function fetchGenreMap() { const url = `https://${getMovieVerseData()}/3/genre/movie/list?${generateMovieNames()}${getMovieCode()}`; try { diff --git a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/favorites.js b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/favorites.js index 18915e34..1c5d5806 100644 --- a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/favorites.js +++ b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/favorites.js @@ -1330,6 +1330,8 @@ async function loadWatchLists() { displaySection.innerHTML = '

No watch lists found. Click on "Create Watch Lists" to start adding movies.

'; } else { + displaySection.innerHTML = ''; + displaySection.innerHTML += '

Your Watch Lists

'; watchlists.sort((a, b) => a.order - b.order); watchlists.sort((a, b) => (b.pinned === a.pinned) ? 0 : b.pinned ? 1 : -1); for (const watchlist of watchlists) { @@ -1348,6 +1350,8 @@ async function loadWatchLists() { displaySection.innerHTML = '

No watch lists found. Start by adding movies to your watchlist.

'; } else { + displaySection.innerHTML = ''; + displaySection.innerHTML += '

Your Watch Lists

'; localWatchlists.sort((a, b) => (b.pinned === a.pinned) ? 0 : b.pinned ? 1 : -1); for (const watchlist of localWatchlists) { const watchlistDiv = await createWatchListDiv(watchlist); @@ -1465,6 +1469,8 @@ async function loadWatchLists() { displaySection.innerHTML = '

No watch lists found. Start by adding movies to your watchlist.

'; } else { + displaySection.innerHTML = ''; + displaySection.innerHTML += '

Your Watch Lists

'; localWatchlists.sort((a, b) => (b.pinned === a.pinned) ? 0 : b.pinned ? 1 : -1); for (const watchlist of localWatchlists) { const watchlistDiv = await createWatchListDiv(watchlist); diff --git a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/movie-details.js b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/movie-details.js index f45cf77a..7808acad 100644 --- a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/movie-details.js +++ b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/movie-details.js @@ -583,16 +583,6 @@ async function fetchMovieDetails(movieId) { const imdbId = movie.imdb_id; fetchMovieRatings(imdbId, movie); - - const response2 = await fetch(url2); - const movie2 = await response2.json(); - const trailers = movie2.videos.results.filter(video => video.type === 'Trailer'); - - if (trailers.length > 0) { - const trailerUrl = `https://www.youtube.com/watch?v=${trailers[0].key}`; - trailerButton = createTrailerButton(trailerUrl); - positionTrailerButton(); - } updateBrowserURL(movie.title); hideSpinner(); } @@ -863,18 +853,12 @@ function positionTrailerButton() { } document.getElementById('movie-description').style.marginTop = '-60px'; - if (window.innerWidth <= 900) { - const movieDescription = document.getElementById('movie-description'); - movieDescription.parentNode.insertBefore(trailerButton, movieDescription); - } - else { - const movieRating = document.getElementById('movie-rating'); - movieRating.parentNode.insertBefore(trailerButton, movieRating.nextSibling); - } + const movieRating = document.getElementById('movie-rating'); + movieRating.parentNode.insertBefore(trailerButton, movieRating.nextSibling); + hideSpinner(); } -document.addEventListener('DOMContentLoaded', positionTrailerButton); function showTrailerIframe(trailerUrl) { trailerUrlGlobal = trailerUrl; @@ -1064,38 +1048,192 @@ async function populateMovieDetails(movie, imdbRating, rtRating, metascore, awar const directors = movie.credits.crew.filter(member => member.job === 'Director'); if (directors.length > 0) { - const directorsLinks = directors.map(director => - `${director.name}` - ).join(', '); + const directorSection = document.createElement('div'); + directorSection.classList.add('director-section'); + directorSection.style.textAlign = 'center'; + + const directorTitle = document.createElement('span'); + directorTitle.innerHTML = 'Director: '; + directorSection.appendChild(directorTitle); + + directors.forEach(director => { + const directorLink = document.createElement('a'); + directorLink.classList.add('director-link'); + directorLink.href = 'javascript:void(0);'; + directorLink.style.textDecoration = 'none'; + directorLink.setAttribute('onclick', `handleDirectorClick(${director.id}, '${director.name.replace(/'/g, "\\'")}');`); + + const directorItem = document.createElement('div'); + directorItem.classList.add('cast-item'); + + const directorImage = document.createElement('img'); + directorImage.classList.add('cast-image'); + + if (director.profile_path) { + directorImage.src = IMGPATH + director.profile_path; + directorImage.alt = `${director.name} Profile Picture`; + } else { + directorImage.alt = 'Image Not Available'; + directorImage.src = '../../images/user-default.png'; + directorImage.style.filter = 'grayscale(100%)'; + directorImage.style.objectFit = 'cover'; + } - const directorsElement = document.createElement('p'); - directorsElement.innerHTML = `Director: ${directorsLinks}`; - document.getElementById('movie-description').appendChild(directorsElement); - } - else { + directorItem.appendChild(directorImage); + + const directorDetails = document.createElement('div'); + directorDetails.classList.add('cast-details'); + + const directorName = document.createElement('p'); + directorName.classList.add('actor-name'); + directorName.textContent = director.name; + directorDetails.appendChild(directorName); + + directorItem.appendChild(directorDetails); + directorLink.appendChild(directorItem); + directorSection.appendChild(directorLink); + }); + + document.getElementById('movie-description').appendChild(directorSection); + } else { const noDirectorsElement = document.createElement('p'); noDirectorsElement.innerHTML = `Director: Information not available`; document.getElementById('movie-description').appendChild(noDirectorsElement); } } - const castHeading = document.createElement('p'); - castHeading.innerHTML = 'Cast: '; - document.getElementById('movie-description').appendChild(castHeading); + const castSection = document.createElement('div'); + castSection.classList.add('cast-section'); + + const castTitle = document.createElement('p'); + castTitle.innerHTML = 'Notable Cast:'; + castSection.appendChild(castTitle); if (movie.credits && movie.credits.cast.length > 0) { - const topTenCast = movie.credits.cast.slice(0, 10); - topTenCast.forEach((actor, index) => { - const actorLink = document.createElement('a'); - actorLink.innerHTML = `${actor.name}`; - castHeading.appendChild(actorLink); - if (index < topTenCast.length - 1) { - castHeading.appendChild(document.createTextNode(', ')); + const castList = document.createElement('div'); + castList.classList.add('cast-list'); + castList.style.display = 'flex'; + castList.style.flexWrap = 'wrap'; + castList.style.justifyContent = 'center'; + castList.style.gap = '10px'; + const topTwelveCast = movie.credits.cast.slice(0, 10); + + topTwelveCast.forEach(actor => { + const castItemLink = document.createElement('a'); + castItemLink.classList.add('actor-link'); + castItemLink.href = 'javascript:void(0);'; + castItemLink.setAttribute('onclick', `selectActorId(${actor.id}, '${actor.name.replace(/'/g, "\\'")}');`); + + const castItem = document.createElement('div'); + castItem.classList.add('cast-item'); + + const actorImage = document.createElement('img'); + actorImage.classList.add('cast-image'); + + if (actor.profile_path) { + actorImage.src = IMGPATH + actor.profile_path; + actorImage.alt = `${actor.name} Profile Picture`; + } + else { + actorImage.alt = 'Image Not Available'; + actorImage.src = '../../images/user-default.png'; + actorImage.style.filter = 'grayscale(100%)'; + actorImage.style.objectFit = 'cover'; + } + + castItem.appendChild(actorImage); + + const actorDetails = document.createElement('div'); + actorDetails.classList.add('cast-details'); + + const actorName = document.createElement('p'); + actorName.classList.add('actor-name'); + actorName.textContent = actor.name; + actorName.style.wordWrap = 'break-word'; + actorDetails.appendChild(actorName); + + const character = actor.character ? ` (${actor.character})` : ''; + const actorRole = document.createElement('p'); + actorRole.classList.add('actor-role'); + actorRole.style.fontSize = '11px'; + actorRole.textContent = character; + actorRole.style.fontStyle = 'italic'; + actorRole.style.wordWrap = 'break-word'; + actorDetails.appendChild(actorRole); + + castItem.appendChild(actorDetails); + castItemLink.appendChild(castItem); + castList.appendChild(castItemLink); + }); + + castSection.appendChild(castList); + } + else { + castSection.appendChild(document.createTextNode('None available.')); + } + + document.getElementById('movie-description').appendChild(castSection); + + if (movie.similar && movie.similar.results && movie.similar.results.length > 0) { + const similarMoviesSection = document.createElement('div'); + similarMoviesSection.classList.add('similar-movies-section'); + + const similarMoviesTitle = document.createElement('p'); + similarMoviesTitle.innerHTML = 'Similar Movies:'; + similarMoviesSection.appendChild(similarMoviesTitle); + + const similarMoviesList = document.createElement('div'); + similarMoviesList.classList.add('similar-movies-list'); + similarMoviesList.style.display = 'flex'; + similarMoviesList.style.flexWrap = 'wrap'; + similarMoviesList.style.justifyContent = 'center'; + similarMoviesList.style.gap = '10px'; + + const topTenSimilarMovies = movie.similar.results.slice(0, 10); + topTenSimilarMovies.forEach(similarMovie => { + const similarMovieLink = document.createElement('a'); + similarMovieLink.classList.add('similar-movie-link'); + similarMovieLink.href = 'javascript:void(0);'; + similarMovieLink.setAttribute('onclick', `handleSimilarMovieClick(${similarMovie.id}, '${similarMovie.title.replace(/'/g, "\\'")}');`); + + const similarMovieItem = document.createElement('div'); + similarMovieItem.classList.add('cast-item'); + + const similarMovieImage = document.createElement('img'); + similarMovieImage.classList.add('cast-image'); + + if (similarMovie.poster_path) { + similarMovieImage.src = IMGPATH + similarMovie.poster_path; + similarMovieImage.alt = `${similarMovie.title} Poster`; + } else { + similarMovieImage.alt = 'Image Not Available'; + similarMovieImage.src = '../../images/movie-default.jpg'; + similarMovieImage.style.filter = 'grayscale(100%)'; + similarMovieImage.style.objectFit = 'cover'; } + + similarMovieItem.appendChild(similarMovieImage); + + const similarMovieDetails = document.createElement('div'); + similarMovieDetails.classList.add('cast-details'); + + const similarMovieTitle = document.createElement('p'); + similarMovieTitle.classList.add('actor-name'); + similarMovieTitle.textContent = similarMovie.title; + similarMovieDetails.appendChild(similarMovieTitle); + + similarMovieItem.appendChild(similarMovieDetails); + similarMovieLink.appendChild(similarMovieItem); + similarMoviesList.appendChild(similarMovieLink); }); + + similarMoviesSection.appendChild(similarMoviesList); + document.getElementById('movie-description').appendChild(similarMoviesSection); } else { - castHeading.appendChild(document.createTextNode('None available.')); + const noSimilarMoviesElement = document.createElement('p'); + noSimilarMoviesElement.innerHTML = `Similar Movies: None available`; + document.getElementById('movie-description').appendChild(noSimilarMoviesElement); } if (movie.production_companies && movie.production_companies.length > 0) { @@ -1113,21 +1251,6 @@ async function populateMovieDetails(movie, imdbRating, rtRating, metascore, awar document.getElementById('movie-description').appendChild(noCompaniesElement); } - if (movie.similar && movie.similar.results && movie.similar.results.length > 0) { - let similarMoviesHTML = movie.similar.results.map(similarMovie => { - return `${similarMovie.title}`; - }).join(', '); - - const similarMoviesElement = document.createElement('p'); - similarMoviesElement.innerHTML = `Similar Movies: ${similarMoviesHTML}`; - document.getElementById('movie-description').appendChild(similarMoviesElement); - } - else { - const noSimilarMoviesElement = document.createElement('p'); - noSimilarMoviesElement.innerHTML = `Similar Movies: None available`; - document.getElementById('movie-description').appendChild(noSimilarMoviesElement); - } - document.getElementById('movie-description').innerHTML += `

Streaming Options: ${streamingHTML}

`; @@ -1300,6 +1423,31 @@ async function populateMovieDetails(movie, imdbRating, rtRating, metascore, awar document.querySelector('.movie-left').appendChild(noImageText); } + const movieId = movie.id; + const code = `${getMovieCode()}`; + const url2 = `https://${getMovieVerseData()}/3/movie/${movieId}?${generateMovieNames()}${code}&append_to_response=videos`; + try { + const response2 = await fetch(url2); + const movie2 = await response2.json(); + const trailers = movie2.videos.results.filter(video => video.type === 'Trailer'); + + if (trailers.length > 0) { + const trailerUrl = `https://www.youtube.com/watch?v=${trailers[0].key}`; + trailerButton = createTrailerButton(trailerUrl); + detailsContainer.appendChild(trailerButton); + } + updateBrowserURL(movie.title); + + console.log(movie2) + } + catch (error) { + document.getElementById('movie-details-container').innerHTML = ` +
+

Movie details not found - Try again with a different movie

+
`; + console.log('Error fetching movie details:', error); + } + hideSpinner(); } @@ -1370,6 +1518,10 @@ function getSavedTextColor() { return localStorage.getItem('textColor') || 'white'; } +function handleActorClick(actorId, actorName) { + selectActorId(actorId, actorName); +} + function handleDirectorClick(directorId, directorName) { localStorage.setItem('selectedDirectorId', directorId); document.title = `${directorName} - Director's Details`; diff --git a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/tv-details.js b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/tv-details.js index f61eae35..05755be2 100644 --- a/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/tv-details.js +++ b/MovieVerse-Mobile/platforms/ios/www/MovieVerse-Frontend/js/tv-details.js @@ -4,8 +4,6 @@ const movieCode = { part3: 'ZDllOTg3ZGNjN2YxYjU1OA==' }; -let globalTrailerKey = ''; - function getMovieCode() { return atob(movieCode.part1) + atob(movieCode.part2) + atob(movieCode.part3); } @@ -551,13 +549,6 @@ async function fetchTvDetails(tvSeriesId) { populateTvSeriesDetails(tvSeriesDetails, imdbRating); updateBrowserURL(tvSeriesDetails.name); - - const trailer = tvSeriesDetails.videos.results.find(video => video.type === 'Trailer' && video.site === 'YouTube'); - if (trailer) { - document.getElementById('trailerButton').style.display = 'block'; - globalTrailerKey = trailer.key; - } - hideSpinner(); } catch (error) { @@ -682,25 +673,189 @@ async function populateTvSeriesDetails(tvSeries, imdbRating) { const productionCountries = tvSeries.production_countries && tvSeries.production_countries.length > 0 ? tvSeries.production_countries.map(country => getCountryName(country.iso_3166_1)).join(', ') : 'Information not available'; detailsHTML += `

Production Countries: ${productionCountries}

`; - if (tvSeries.created_by && tvSeries.created_by.length) { - const creatorsLinks = tvSeries.created_by.map(creator => - `${creator.name}` - ).join(', '); - detailsHTML += `

Directors: ${creatorsLinks}

`; - } - else { - detailsHTML += `

Directors: Information not available

`; + if (tvSeries.created_by && tvSeries.created_by.length > 0) { + const creatorsSection = document.createElement('div'); + creatorsSection.classList.add('creators-section'); + + const creatorsTitle = document.createElement('p'); + creatorsTitle.innerHTML = 'Creators:'; + creatorsSection.appendChild(creatorsTitle); + + const creatorsList = document.createElement('div'); + creatorsList.classList.add('creators-list'); + creatorsList.style.display = 'flex'; + creatorsList.style.flexWrap = 'wrap'; + creatorsList.style.justifyContent = 'center'; + creatorsList.style.gap = '10px'; + + tvSeries.created_by.forEach(creator => { + const creatorLink = document.createElement('a'); + creatorLink.classList.add('creator-link'); + creatorLink.href = 'javascript:void(0);'; + creatorLink.setAttribute('onclick', `handleCreatorClick(${creator.id}, '${creator.name.replace(/'/g, "\\'")}');`); + + const creatorItem = document.createElement('div'); + creatorItem.classList.add('creator-item'); + + const creatorImage = document.createElement('img'); + creatorImage.classList.add('creator-image'); + + if (creator.profile_path) { + creatorImage.src = IMGPATH + creator.profile_path; + creatorImage.alt = `${creator.name} Profile Picture`; + } else { + creatorImage.alt = 'Image Not Available'; + creatorImage.style.objectFit = 'cover'; + creatorImage.src = '../../images/user-default.png'; + creatorImage.style.filter = 'grayscale(100%)'; + } + + creatorItem.appendChild(creatorImage); + + const creatorDetails = document.createElement('div'); + creatorDetails.classList.add('creator-details'); + + const creatorName = document.createElement('p'); + creatorName.classList.add('creator-name'); + creatorName.textContent = creator.name; + creatorDetails.appendChild(creatorName); + + creatorItem.appendChild(creatorDetails); + creatorLink.appendChild(creatorItem); + creatorsList.appendChild(creatorLink); + }); + + creatorsSection.appendChild(creatorsList); + detailsHTML += creatorsSection.outerHTML; + } else { + const noCreatorsElement = document.createElement('p'); + noCreatorsElement.innerHTML = `Creators: Information not available`; + detailsHTML += noCreatorsElement.outerHTML; } - if (tvSeries.credits && tvSeries.credits.cast && tvSeries.credits.cast.length) { - let castHTML = tvSeries.credits.cast.slice(0, 100).map(castMember => { - const escapedName = castMember.name.replace(/'/g, "\\'"); - return `${castMember.name}`; - }).join(', '); - detailsHTML += `

Cast: ${castHTML}

`; + if (tvSeries.credits && tvSeries.credits.cast && tvSeries.credits.cast.length > 0) { + const castSection = document.createElement('div'); + castSection.classList.add('cast-section'); + + const castTitle = document.createElement('p'); + castTitle.innerHTML = 'Cast:'; + castSection.appendChild(castTitle); + + const castList = document.createElement('div'); + castList.classList.add('cast-list'); + castList.style.display = 'flex'; + castList.style.flexWrap = 'wrap'; + castList.style.justifyContent = 'center'; + castList.style.gap = '10px'; + + tvSeries.credits.cast.slice(0, 10).forEach(castMember => { + const castMemberLink = document.createElement('a'); + castMemberLink.classList.add('cast-member-link'); + castMemberLink.href = 'javascript:void(0);'; + castMemberLink.setAttribute('onclick', `selectActorId(${castMember.id}, '${castMember.name.replace(/'/g, "\\'")}');`); + + const castMemberItem = document.createElement('div'); + castMemberItem.classList.add('cast-member-item'); + + const castMemberImage = document.createElement('img'); + castMemberImage.classList.add('cast-member-image'); + + if (castMember.profile_path) { + castMemberImage.src = IMGPATH + castMember.profile_path; + castMemberImage.alt = `${castMember.name} Profile Picture`; + } else { + castMemberImage.alt = 'Image Not Available'; + castMemberImage.style.objectFit = 'cover'; + castMemberImage.src = '../../images/user-default.png'; + castMemberImage.style.filter = 'grayscale(100%)'; + } + + castMemberItem.appendChild(castMemberImage); + + const castMemberDetails = document.createElement('div'); + castMemberDetails.classList.add('cast-member-details'); + + const castMemberName = document.createElement('p'); + castMemberName.classList.add('cast-member-name'); + castMemberName.textContent = castMember.name; + castMemberDetails.appendChild(castMemberName); + + const castMemberRole = document.createElement('p'); + castMemberRole.classList.add('cast-member-role'); + castMemberRole.textContent = castMember.character ? `(${castMember.character})` : ''; + castMemberRole.style.fontStyle = 'italic'; + castMemberDetails.appendChild(castMemberRole); + + castMemberItem.appendChild(castMemberDetails); + castMemberLink.appendChild(castMemberItem); + castList.appendChild(castMemberLink); + }); + + castSection.appendChild(castList); + detailsHTML += castSection.outerHTML; + } else { + const noCastElement = document.createElement('p'); + noCastElement.innerHTML = `Cast: Information not available`; + detailsHTML += noCastElement.outerHTML; } - else { - detailsHTML += `

Cast: Information not available

`; + + if (tvSeries.similar && tvSeries.similar.results && tvSeries.similar.results.length > 0) { + const similarTvSeriesSection = document.createElement('div'); + similarTvSeriesSection.classList.add('similar-tv-series-section'); + + const similarTvSeriesTitle = document.createElement('p'); + similarTvSeriesTitle.innerHTML = 'Similar TV Series:'; + similarTvSeriesSection.appendChild(similarTvSeriesTitle); + + const similarTvSeriesList = document.createElement('div'); + similarTvSeriesList.classList.add('similar-tv-series-list'); + similarTvSeriesList.style.display = 'flex'; + similarTvSeriesList.style.flexWrap = 'wrap'; + similarTvSeriesList.style.justifyContent = 'center'; + similarTvSeriesList.style.gap = '10px'; + + tvSeries.similar.results.slice(0, 5).forEach(similarTv => { + const similarTvLink = document.createElement('a'); + similarTvLink.classList.add('similar-tv-link'); + similarTvLink.href = 'javascript:void(0);'; + similarTvLink.setAttribute('onclick', `selectTvSeriesId(${similarTv.id});`); + + const similarTvItem = document.createElement('div'); + similarTvItem.classList.add('similar-tv-item'); + + const similarTvImage = document.createElement('img'); + similarTvImage.classList.add('similar-tv-image'); + + if (similarTv.poster_path) { + similarTvImage.src = IMGPATH + similarTv.poster_path; + similarTvImage.alt = `${similarTv.name} Poster`; + } else { + similarTvImage.alt = 'Image Not Available'; + similarTvImage.src = '../../images/tv-default.png'; + similarTvImage.style.filter = 'grayscale(100%)'; + } + + similarTvItem.appendChild(similarTvImage); + + const similarTvDetails = document.createElement('div'); + similarTvDetails.classList.add('similar-tv-details'); + + const similarTvName = document.createElement('p'); + similarTvName.classList.add('similar-tv-name'); + similarTvName.textContent = similarTv.name; + similarTvDetails.appendChild(similarTvName); + + similarTvItem.appendChild(similarTvDetails); + similarTvLink.appendChild(similarTvItem); + similarTvSeriesList.appendChild(similarTvLink); + }); + + similarTvSeriesSection.appendChild(similarTvSeriesList); + detailsHTML += similarTvSeriesSection.outerHTML; + } else { + const noSimilarTvSeriesElement = document.createElement('p'); + noSimilarTvSeriesElement.innerHTML = `Similar TV Series: Information not available`; + detailsHTML += noSimilarTvSeriesElement.outerHTML; } if (tvSeries.production_companies && tvSeries.production_companies.length) { @@ -713,16 +868,6 @@ async function populateTvSeriesDetails(tvSeries, imdbRating) { detailsHTML += `

Production Companies: Information not available

`; } - if (tvSeries.similar && tvSeries.similar.results && tvSeries.similar.results.length) { - let similarTVHTML = tvSeries.similar.results.slice(0, 5).map(similarTv => { - return `${similarTv.name}`; - }).join(', '); - detailsHTML += `

Similar TV Series: ${similarTVHTML}

`; - } - else { - detailsHTML += `

Similar TV Series: Information not available

`; - } - if (tvSeries.last_episode_to_air) { detailsHTML += `

Last Episode: ${tvSeries.last_episode_to_air.name || 'Title not available'} - "${tvSeries.last_episode_to_air.overview || 'Overview not available.'}"

`; } @@ -1037,24 +1182,6 @@ document.addEventListener('DOMContentLoaded', () => { setStarRating(movieRating); }); -document.addEventListener('DOMContentLoaded', () => { - document.getElementById('trailerButton').addEventListener('click', () => { - const trailerContainer = document.getElementById('trailerContainer'); - const isOpen = trailerContainer.style.maxHeight !== '0px'; - - if (isOpen) { - trailerContainer.style.maxHeight = '0'; - } - else { - const trailerIframe = ``; - trailerContainer.innerHTML = trailerIframe; - trailerContainer.style.maxWidth = '400px'; - trailerContainer.style.maxHeight = '315px'; - trailerContainer.style.borderRadius = '8px'; - } - }); -}); - async function showMovieOfTheDay() { const year = new Date().getFullYear(); const url = `https://${getMovieVerseData()}/3/discover/movie?${generateMovieNames()}${getMovieCode()}&sort_by=vote_average.desc&vote_count.gte=100&primary_release_year=${year}&vote_average.gte=7`; diff --git a/MovieVerse-Mobile/platforms/ios/www/images/LICENSE b/MovieVerse-Mobile/platforms/ios/www/images/LICENSE index a0ef1b39..19bed0c9 100644 --- a/MovieVerse-Mobile/platforms/ios/www/images/LICENSE +++ b/MovieVerse-Mobile/platforms/ios/www/images/LICENSE @@ -1,21 +1,151 @@ -MIT License - -Copyright (c) 2024 Son Nguyen - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +Creative Commons Attribution-NonCommercial 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-NonCommercial 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + +Section 1 – Definitions. + +a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. + +b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. + +c. BY-NC Compatible License means a license listed at https://creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License. + +d. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. + +e. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. + +f. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. + +g. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. + +h. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. + +i. Licensor means the individual(s) or entity(ies) granting rights under this Public License. + +j. NonCommercial means not primarily intended for or directed towards commercial advantage or monetary compensation. For purposes of this Public License, the exchange of the Licensed Material for other material subject to Copyright and Similar Rights by digital file-sharing or similar means is NonCommercial provided there is no payment of monetary compensation in connection with the exchange. + +k. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. + +l. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. + +m. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. + +Section 2 – Scope. + +a. License grant. + + 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or in part, for NonCommercial purposes only; and + + b. produce, reproduce, and Share Adapted Material for NonCommercial purposes only. + + 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. + + 3. Term. The term of this Public License is specified in Section 6(a). + + 4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. + + b. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. + + 6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). + +b. Other rights. + + 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this Public License. + + 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties, including when the Licensed Material is used other than for NonCommercial purposes. + +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + +a. Attribution. + + 1. If You Share the Licensed Material (including in modified form), You must: + + a. retain the following if it is supplied by the Licensor with the Licensed Material: + + i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of warranties; + + v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; + + b. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. + + 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. + +b. ShareAlike. + + 1. In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply. + + a. The Adapter's License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-NC Compatible License. + + b. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material. + + c. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply. + +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + +a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database for NonCommercial purposes only; + +b. if You include all or a substantial portion of the database contents in a database in which You have Copyright or Sui Generis Database Rights, then the database in which You have Copyright or Sui Generis Database Rights (but not its individual contents) is Adapted Material; and + +c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. + +Section 5 – Disclaimer of Warranties and Limitation of Liability. + +a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. + +b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. + +c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. + +Section 6 – Term and Termination. + +a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. + +b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. + +c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. + +d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. + +Section 7 – Other Terms and Conditions. + +a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. + +b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. + +Section 8 – Interpretation. + +a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. + +b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. + +c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. + +d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. diff --git a/MovieVerse-Mobile/platforms/ios/www/images/README.md b/MovieVerse-Mobile/platforms/ios/www/images/README.md index 780ccef7..d67a1505 100644 --- a/MovieVerse-Mobile/platforms/ios/www/images/README.md +++ b/MovieVerse-Mobile/platforms/ios/www/images/README.md @@ -12,7 +12,7 @@ This directory serves as a repository for the images used throughout our applica - `favicon.ico`: This icon is used as the website's favicon, visible in browser tabs and bookmarks. - `screenshot.png`: This image is used within the app to demonstrate features or provide visual guides, such as for UI design. - `user-default.png`: This image is used as a placeholder for the user's profile until they add their own profile image. -- And more... +- And many more... ## Usage Guidelines diff --git a/MovieVerse-Mobile/platforms/ios/www/images/actor-default.webp b/MovieVerse-Mobile/platforms/ios/www/images/actor-default.webp new file mode 100644 index 0000000000000000000000000000000000000000..6b62648b9c6a781e2366e22a644dec46984429e8 GIT binary patch literal 2832 zcmd^A_d6R37mjgb+*;{CLn%eniaip0kCLENt@NTs?LC89MeKF$*@mi7YP5-!B3i0w zl}a16)k=)2n%DPy_j{i2m-`po^W%BWd4G7%`@YBAP*0EXcL2azR|{c!fJ{qO}RbfaEVC1|U=r#_8r-3H|u z?t;k~EY)S^WIIDB_3<_T1=PkgOo8=uffu$%o5_8Mz{0i|Utjo?`)Cg}x3o{`Ud(mg%L5 zHP*!<_J(zSViXe~O2~=r#2f?GcX1DPer!tRFg!mSa{Qbu;jHY^JB;dP54gGT^why9D6avILULU7m>An9NyVxkiWn+V2VG;SEg-q<~XX zBA_r&-x`S>t%~@UuGO3Zfx5rq>3S(6N50%moKsF{qAreKygjz3Hpuozj~+5{2)g8? z2YzKCCM&%nnwvH*EdqwL(yJc&hZyVb(c%(fp+$)`&X#4b)8ZO56~hcVZgKm!xN#zJ zXUpt{^`HFl>aH3DQ?)+EVUlSaDmKLzQz7k0=z>h7OC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d{>~c! zVt?Zg;D}wj5TV{fk*?$26O`?q6NqvcDLpQi=JebAO3e#Q;#OxPXD8V*pQ$7|2#W!& z9Pz_}+5mh_qMgKiNK6nO3v| zZ+@8js+dtVE- zcYmNOv8Kjk-}wE-l9cX{T_7;rF!!g;{4!PbH-+X)a-|F55)YKYhaR5CNvoccgX zw9jhf#$bMU;<&{t>P5D<7oc2dLH}TRX##;1F$3yqXv;m0L#d&`sz*t{Z^uC2Kn_{2 z_6v{j&R1jDe^}CpOeuIuy?Uo!DXhI}F+i>wU-~jRHxkI9{|@-S4FCL+CS8d8SZ=qeQ$me83C<_=}ZmRBMUoSR#UraKq|5=SOdVa8BAg!uu z6Uhb4Hb(pvpDgqN(vJ{0Kq3QDab$jtICmJWrhh5seFTxs{N2izxfJHil970Te+LSz zDr2LHPGb*dToq5D?~Z!7Z!;N*DLgf&zQ^`B+%ua~-oZ(PICOicAD6~S>gU-7=-jbS z(|oY}TKOPYQ3aLI9B#Ie;+Z9EoXj7{+i2hY@nP)G;QWTe;3IVvQ$rgAl22A-&9$wo z9vQV7$!XQ`dDPqjauZsI04zek{yRMT^SlD+vidK2l3p02q4UAa$aw{tmG$IDZTkAToG92vM zALP;GcD+PSA_%%f7QS1daaBoXa(4RLY*J?9di@*K^^K#+;nCX%$*=`vLJCrGok$Af z-g17xTm@Z4BO;?q;UU|YWW<6eM4fzRrh0Dxs-M&AaGgl)Jjz&E=65csxY;-)wIxS( zevR8ehy|c7_TXNXGjm<4mMgj&H$(oV-px;q2h^@!GPbM37&WIU*`o56NOOYFDQo%L zQqMS7gJ;dDiE4c&dVkcG7Hr-Q?kdZBd-n}H(f81Awaw0uzG_A5$q3awn%C`F1s}(M zlx~;#loMtT5ev4uocUO`P(6JIm3T^n9q=+i;- PL89EVMril3E=K+jKxjE` literal 0 HcmV?d00001 diff --git a/MovieVerse-Mobile/platforms/ios/www/index.html b/MovieVerse-Mobile/platforms/ios/www/index.html index 8845719e..c86dff8b 100644 --- a/MovieVerse-Mobile/platforms/ios/www/index.html +++ b/MovieVerse-Mobile/platforms/ios/www/index.html @@ -3,6 +3,7 @@ + The MovieVerse - Explore Movies, TV Series, and More diff --git a/MovieVerse-Mobile/www/404.html b/MovieVerse-Mobile/www/404.html index 6c4dc9eb..3c406f43 100644 --- a/MovieVerse-Mobile/www/404.html +++ b/MovieVerse-Mobile/www/404.html @@ -461,7 +461,7 @@

-
+

diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/css/style.css b/MovieVerse-Mobile/www/MovieVerse-Frontend/css/style.css index 5a2ca024..0785de86 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/css/style.css +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/css/style.css @@ -2,6 +2,10 @@ box-sizing: border-box; } +html { + scroll-behavior: smooth; +} + @font-face { font-family: 'Poppins'; src: url('/fonts/Poppins-Light.ttf') format('truetype'); @@ -38,12 +42,131 @@ body { overflow-x: hidden; min-height: 100vh; overflow-y: auto; + scroll-behavior: smooth; } #heading-href { text-decoration: none; } +.cast-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; +} + +.cast-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + margin: 5px; + overflow: hidden; + border-radius: 8px; +} + +.cast-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; +} + +.cast-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; +} + +.cast-details { + width: 100%; +} + +.actor-name, .actor-role { + font-size: 12px; + margin: 0; +} + +.director-section { + display: flex; + align-items: center; + gap: 10px; + justify-content: center; + flex-wrap: wrap; +} + +.director-link { + display: flex; + align-items: center; + text-align: center; +} + +.director-link .cast-item { + display: flex; + flex-direction: column; + align-items: center; + text-align: center; +} + +.director-link .cast-image { + width: 100%; + height: 155px; + margin-bottom: 5px; +} + +.director-link .actor-name { + font-size: 12px; +} + +.creators-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; +} + +.creator-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + margin: 5px; + overflow: hidden; + border-radius: 8px; +} + +.creator-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; +} + +.creator-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; +} + +.creator-details { + width: 100%; +} + +.creator-name { + font-size: 12px; + margin: 0; + word-break: break-word; +} + #movie-match-btn { position: fixed; bottom: 220px; @@ -3449,6 +3572,7 @@ body { display: flex; flex-wrap: wrap; justify-content: center; + padding: 10px; } #company-movies-list span { diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/css/trivia.css b/MovieVerse-Mobile/www/MovieVerse-Frontend/css/trivia.css index a9c7716e..6a40c7c3 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/css/trivia.css +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/css/trivia.css @@ -14,6 +14,12 @@ footer { color: #ff8623 !important; } +@media (max-width: 900px) { + #local-time { + display: none; + } +} + body { color: #ff903a; font-family: "Poppins", sans-serif; diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/actor-details.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/actor-details.html index 6953ef9d..905f6178 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/actor-details.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/actor-details.html @@ -179,6 +179,51 @@ #actor-details-container { margin-top: 25px; } + + .movie-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; + margin-top: 7px; + padding-top: 5px; + } + + .movie-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + overflow: hidden; + border-radius: 8px; + } + + .movie-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; + } + + .movie-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; + } + + .movie-details { + width: 100%; + } + + .movie-title { + font-size: 12px; + margin: 0; + word-break: break-word; + } @@ -259,11 +304,6 @@

-
-

- -
-
diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/analytics.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/analytics.html index abd29fb9..5b4d8353 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/analytics.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/analytics.html @@ -391,51 +391,51 @@

-

Number of Movies Released Each Year

+

Number of Movies Released Each Year

-

Popularity of Genres

+

Popularity of Genres

-

Movies Distribution by Certification

+

Movies Distribution by Certification

-

Average Movie Popularity Over Time

+

Average Movie Popularity Over Time

-

Movies Count by Original Language

+

Movies Count by Original Language

-

Average Vote Count by Genre

+

Average Vote Count by Genre

-

Movie Releases by Month

+

Movie Releases by Month

-

Movie Releases by Decades

+

Movie Releases by Decades

-

Movie Releases by Countries

+

Movie Releases by Countries

-
-

Top Rated Movies per Year

+
+

Top Rated Movies per Year

-

Total Movie Votes Over Years

+

Total Movie Votes Over Years

-

Highly Rated Movies Over Years

+

Highly Rated Movies Over Years

diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/company-details.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/company-details.html index df9c1c97..979cc25f 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/company-details.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/company-details.html @@ -178,6 +178,51 @@ margin-top: 0 !important; } } + + .movie-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; + margin-top: 7px; + padding-top: 5px; + } + + .movie-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + overflow: hidden; + border-radius: 8px; + } + + .movie-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; + } + + .movie-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; + } + + .movie-details { + width: 100%; + } + + .movie-title { + font-size: 12px; + margin: 0; + word-break: break-word; + } @@ -258,11 +303,6 @@

-
-

- -
- @@ -284,8 +324,8 @@

Headquarters:

Country:

Website:

-

Produced Movies:

-
+

Produced Movies:

+

diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/director-details.html b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/director-details.html index 5b1ff846..2f0ae832 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/html/director-details.html +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/html/director-details.html @@ -96,6 +96,51 @@ background-position: top center; } } + + .movie-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + overflow: hidden !important; + margin-top: 7px; + padding-top: 5px; + } + + .movie-item { + display: inline-flex; + flex-direction: column; + align-items: center; + text-align: center; + width: 115px; + overflow: hidden; + border-radius: 8px; + } + + .movie-image { + width: 100%; + height: 155px; + object-fit: fill; + border-radius: 5px; + margin-bottom: 5px; + } + + .movie-item:hover { + transform: scale(1.05); + transition: transform 0.3s ease, box-shadow 0.3s ease; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); + cursor: pointer; + } + + .movie-details { + width: 100%; + } + + .movie-title { + font-size: 12px; + margin: 0; + word-break: break-word; + } @@ -347,14 +343,8 @@

Your Rating:

- 0.0/5.0 -
- - -
-

-

-
+ 0.0/5.0 +

Movie Comments

@@ -383,9 +373,15 @@

Add a Comment for This Movie

+ + +
+

+

+
-
+

Advertisement

- 0.0/5.0 -
- - -
-

-

- - -
- + 0.0/5.0

TV Show Comments

@@ -403,6 +483,15 @@

Add a Comment for This TV Series

+ + +
+

+

+ + +
+
diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/actor-details.js b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/actor-details.js index 57097d65..25f6efc7 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/actor-details.js +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/actor-details.js @@ -97,8 +97,6 @@ document.addEventListener('DOMContentLoaded', () => { else { fetchActorDetails(2037); } - - document.getElementById('clear-search-btn').style.display = 'none'; }); async function fetchActorDetails(actorId) { @@ -193,15 +191,45 @@ async function populateActorDetails(actor, credits) { const movieList = document.createElement('div'); movieList.classList.add('movie-list'); + movieList.style.display = 'flex'; + movieList.style.flexWrap = 'wrap'; + movieList.style.justifyContent = 'center'; + movieList.style.gap = '10px'; credits.cast.forEach((movie, index) => { - const movieLink = document.createElement('span'); - movieLink.textContent = movie.title; + const movieLink = document.createElement('a'); movieLink.classList.add('movie-link'); - movieLink.addEventListener('click', () => { - localStorage.setItem('selectedMovieId', movie.id); - window.location.href = 'movie-details.html'; - }); + movieLink.href = 'javascript:void(0);'; + movieLink.setAttribute('onclick', `selectMovieId(${movie.id});`); + + const movieItem = document.createElement('div'); + movieItem.classList.add('movie-item'); + + const movieImage = document.createElement('img'); + movieImage.classList.add('movie-image'); + + if (movie.poster_path) { + movieImage.src = IMGPATH + movie.poster_path; + movieImage.alt = `${movie.title} Poster`; + } else { + movieImage.alt = 'Image Not Available'; + movieImage.src = '../../images/movie-default.jpg'; + movieImage.style.filter = 'grayscale(100%)'; + movieImage.style.objectFit = 'cover'; + } + + movieItem.appendChild(movieImage); + + const movieDetails = document.createElement('div'); + movieDetails.classList.add('movie-details'); + + const movieTitle = document.createElement('p'); + movieTitle.classList.add('movie-title'); + movieTitle.textContent = movie.title; + movieDetails.appendChild(movieTitle); + + movieItem.appendChild(movieDetails); + movieLink.appendChild(movieItem); movieList.appendChild(movieLink); if (index < credits.cast.length - 1) { @@ -357,6 +385,11 @@ async function populateActorDetails(actor, credits) { applySettings(); } +function selectMovieId(movieId) { + localStorage.setItem('selectedMovieId', movieId); + window.location.href = 'movie-details.html'; +} + function calculateAge(birthday, deathday = null) { const birthDate = new Date(birthday); const referenceDate = deathday ? new Date(deathday) : new Date(); diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/analytics.js b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/analytics.js index 60ad3e2c..db94dd39 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/analytics.js +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/analytics.js @@ -757,3 +757,75 @@ function handleSearch() { localStorage.setItem('searchQuery', searchQuery); window.location.href = 'search.html'; } + +document.getElementById('chart-title1').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title1').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title2').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title2').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title3').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title3').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title4').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title4').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title5').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title5').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title6').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title6').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title7').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title7').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title8').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title8').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title9').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title9').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title11').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title11').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title10').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title10').scrollIntoView({ behavior: 'smooth' }); +}); + +document.getElementById('chart-title12').addEventListener('click' , function(e) { + e.preventDefault(); + + document.getElementById('chart-title12').scrollIntoView({ behavior: 'smooth' }); +}); \ No newline at end of file diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/company-details.js b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/company-details.js index b564a9f4..3698aa2b 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/company-details.js +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/company-details.js @@ -271,111 +271,6 @@ function handleSearch() { window.location.href = 'search.html'; } -function calculateMoviesToDisplay() { - const screenWidth = window.innerWidth; - if (screenWidth <= 689.9) return 10; - if (screenWidth <= 1021.24) return 20; - if (screenWidth <= 1353.74) return 21; - if (screenWidth <= 1684.9) return 20; - if (screenWidth <= 2017.49) return 20; - if (screenWidth <= 2349.99) return 18; - if (screenWidth <= 2681.99) return 21; - if (screenWidth <= 3014.49) return 24; - if (screenWidth <= 3345.99) return 27; - if (screenWidth <= 3677.99) return 20; - if (screenWidth <= 4009.99) return 22; - if (screenWidth <= 4340.99) return 24; - if (screenWidth <= 4673.49) return 26; - if (screenWidth <= 5005.99) return 28; - if (screenWidth <= 5337.99) return 30; - if (screenWidth <= 5669.99) return 32; - if (screenWidth <= 6001.99) return 34; - if (screenWidth <= 6333.99) return 36; - if (screenWidth <= 6665.99) return 38; - if (screenWidth <= 6997.99) return 40; - if (screenWidth <= 7329.99) return 42; - if (screenWidth <= 7661.99) return 44; - if (screenWidth <= 7993.99) return 46; - if (screenWidth <= 8325.99) return 48; - return 20; -} - -async function getMovies(url) { - clearMovieDetails(); - const numberOfMovies = calculateMoviesToDisplay(); - const pagesToFetch = numberOfMovies <= 20 ? 1 : 2; - let allMovies = []; - - for (let page = 1; page <= pagesToFetch; page++) { - const response = await fetch(`${url}&page=${page}`); - const data = await response.json(); - allMovies = allMovies.concat(data.results); - } - - const popularityThreshold = 0.5; - - allMovies.sort((a, b) => { - const popularityDifference = Math.abs(a.popularity - b.popularity); - if (popularityDifference < popularityThreshold) { - return b.vote_average - a.vote_average; - } - return b.popularity - a.popularity; - }); - - if (allMovies.length > 0) { - showMovies(allMovies.slice(0, numberOfMovies)); - document.getElementById('clear-search-btn').style.display = 'block'; - } - else { - main.innerHTML = `

No movie with the specified search term found. Please try again.

`; - document.getElementById('clear-search-btn').style.display = 'none'; - } -} - -document.getElementById('clear-search-btn').addEventListener('click', () => { - window.location.reload(); -}); - -function clearMovieDetails() { - const companyDetailsContainer = document.getElementById('company-details-container'); - if (companyDetailsContainer) { - companyDetailsContainer.innerHTML = ''; - } -} - -function showMovies(movies){ - main.innerHTML = ''; - movies.forEach((movie) => { - const { id, poster_path, title, vote_average, overview } = movie; - const movieE1 = document.createElement('div'); - const voteAverage = vote_average.toFixed(1); - movieE1.classList.add('movie'); - - const movieImage = poster_path - ? `${title}` - : `
Image Not Available
`; - - movieE1.innerHTML = ` - ${movieImage} -
-

${title}

- ${voteAverage} -
-
-

Movie Overview:

- ${overview} -
`; - - movieE1.addEventListener('click', () => { - localStorage.setItem('selectedMovieId', id); - window.location.href = 'movie-details.html'; - updateMovieVisitCount(id, title); - }); - - main.appendChild(movieE1); - }); -} - document.addEventListener('DOMContentLoaded', () => { const companyId = localStorage.getItem('selectedCompanyId'); if (companyId) { @@ -786,34 +681,59 @@ function fallbackMovieSelection() { function displayCompanyMovies(movies) { const moviesList = document.getElementById('company-movies-list'); + moviesList.style.display = 'flex'; + moviesList.style.flexWrap = 'wrap'; + moviesList.style.justifyContent = 'center'; + moviesList.style.gap = '10px'; + movies.forEach((movie, index) => { - const movieContainer = document.createElement('span'); - - const movieLink = document.createElement('span'); - movieLink.textContent = movie.title; - movieLink.style.cursor = 'pointer'; - movieLink.style.textDecoration = 'underline'; - movieLink.addEventListener('mouseenter', () => { - movieLink.style.color = '#ff8623'; - }); - movieLink.addEventListener('mouseleave', () => { - movieLink.style.color = 'white'; - }); - movieLink.addEventListener('click', () => { - localStorage.setItem('selectedMovieId', movie.id); - window.location.href = 'movie-details.html'; - }); + const movieLink = document.createElement('a'); + movieLink.classList.add('movie-link'); + movieLink.href = 'javascript:void(0);'; + movieLink.setAttribute('onclick', `selectMovieId(${movie.id});`); + + const movieItem = document.createElement('div'); + movieItem.classList.add('movie-item'); + + const movieImage = document.createElement('img'); + movieImage.classList.add('movie-image'); + + if (movie.poster_path) { + movieImage.src = IMGPATH + movie.poster_path; + movieImage.alt = `${movie.title} Poster`; + } else { + movieImage.alt = 'Image Not Available'; + movieImage.src = '../../images/movie-default.png'; + movieImage.style.filter = 'grayscale(100%)'; + } + + movieItem.appendChild(movieImage); + + const movieDetails = document.createElement('div'); + movieDetails.classList.add('movie-details'); + + const movieTitle = document.createElement('p'); + movieTitle.classList.add('movie-title'); + movieTitle.textContent = movie.title; + movieDetails.appendChild(movieTitle); - movieContainer.appendChild(movieLink); + movieItem.appendChild(movieDetails); + movieLink.appendChild(movieItem); + moviesList.appendChild(movieLink); if (index < movies.length - 1) { - movieContainer.appendChild(document.createTextNode(',')); + const separator = document.createTextNode(', '); + moviesList.appendChild(separator); } - - moviesList.appendChild(movieContainer); }); } +// Define the selectMovieId function +function selectMovieId(movieId) { + localStorage.setItem('selectedMovieId', movieId); + window.location.href = 'movie-details.html'; +} + function updateBrowserURL(title) { const nameSlug = createNameSlug(title); const newURL = window.location.protocol + "//" + window.location.host + window.location.pathname + '?' + nameSlug; diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/director-details.js b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/director-details.js index f951bb94..c7d79cba 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/director-details.js +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/director-details.js @@ -179,17 +179,47 @@ async function populateDirectorDetails(director, credits) { const movieList = document.createElement('div'); movieList.classList.add('movie-list'); + movieList.style.display = 'flex'; + movieList.style.flexWrap = 'wrap'; + movieList.style.justifyContent = 'center'; + movieList.style.gap = '10px'; const directedMovies = credits.crew.filter(movie => movie.job === "Director"); directedMovies.forEach((movie, index) => { - const movieLink = document.createElement('span'); - movieLink.textContent = movie.title; + const movieLink = document.createElement('a'); movieLink.classList.add('movie-link'); - movieLink.addEventListener('click', () => { - localStorage.setItem('selectedMovieId', movie.id); - window.location.href = 'movie-details.html'; - }); + movieLink.href = 'javascript:void(0);'; + movieLink.setAttribute('onclick', `selectMovieId(${movie.id});`); + + const movieItem = document.createElement('div'); + movieItem.classList.add('movie-item'); + + const movieImage = document.createElement('img'); + movieImage.classList.add('movie-image'); + + if (movie.poster_path) { + movieImage.src = IMGPATH + movie.poster_path; + movieImage.alt = `${movie.title} Poster`; + } else { + movieImage.alt = 'Image Not Available'; + movieImage.src = '../../images/movie-default.jpg'; + movieImage.style.filter = 'grayscale(100%)'; + movieImage.style.objectFit = 'cover'; + } + + movieItem.appendChild(movieImage); + + const movieDetails = document.createElement('div'); + movieDetails.classList.add('movie-details'); + + const movieTitle = document.createElement('p'); + movieTitle.classList.add('movie-title'); + movieTitle.textContent = movie.title; + movieDetails.appendChild(movieTitle); + + movieItem.appendChild(movieDetails); + movieLink.appendChild(movieItem); movieList.appendChild(movieLink); if (index < directedMovies.length - 1) { @@ -360,6 +390,11 @@ async function ensureGenreMapIsAvailable() { } } +function selectMovieId(movieId) { + localStorage.setItem('selectedMovieId', movieId); + window.location.href = 'movie-details.html'; +} + async function fetchGenreMap() { const url = `https://${getMovieVerseData()}/3/genre/movie/list?${generateMovieNames()}${getMovieCode()}`; try { diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/favorites.js b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/favorites.js index 18915e34..1c5d5806 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/favorites.js +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/favorites.js @@ -1330,6 +1330,8 @@ async function loadWatchLists() { displaySection.innerHTML = '

No watch lists found. Click on "Create Watch Lists" to start adding movies.

'; } else { + displaySection.innerHTML = ''; + displaySection.innerHTML += '

Your Watch Lists

'; watchlists.sort((a, b) => a.order - b.order); watchlists.sort((a, b) => (b.pinned === a.pinned) ? 0 : b.pinned ? 1 : -1); for (const watchlist of watchlists) { @@ -1348,6 +1350,8 @@ async function loadWatchLists() { displaySection.innerHTML = '

No watch lists found. Start by adding movies to your watchlist.

'; } else { + displaySection.innerHTML = ''; + displaySection.innerHTML += '

Your Watch Lists

'; localWatchlists.sort((a, b) => (b.pinned === a.pinned) ? 0 : b.pinned ? 1 : -1); for (const watchlist of localWatchlists) { const watchlistDiv = await createWatchListDiv(watchlist); @@ -1465,6 +1469,8 @@ async function loadWatchLists() { displaySection.innerHTML = '

No watch lists found. Start by adding movies to your watchlist.

'; } else { + displaySection.innerHTML = ''; + displaySection.innerHTML += '

Your Watch Lists

'; localWatchlists.sort((a, b) => (b.pinned === a.pinned) ? 0 : b.pinned ? 1 : -1); for (const watchlist of localWatchlists) { const watchlistDiv = await createWatchListDiv(watchlist); diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/movie-details.js b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/movie-details.js index f45cf77a..7808acad 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/movie-details.js +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/movie-details.js @@ -583,16 +583,6 @@ async function fetchMovieDetails(movieId) { const imdbId = movie.imdb_id; fetchMovieRatings(imdbId, movie); - - const response2 = await fetch(url2); - const movie2 = await response2.json(); - const trailers = movie2.videos.results.filter(video => video.type === 'Trailer'); - - if (trailers.length > 0) { - const trailerUrl = `https://www.youtube.com/watch?v=${trailers[0].key}`; - trailerButton = createTrailerButton(trailerUrl); - positionTrailerButton(); - } updateBrowserURL(movie.title); hideSpinner(); } @@ -863,18 +853,12 @@ function positionTrailerButton() { } document.getElementById('movie-description').style.marginTop = '-60px'; - if (window.innerWidth <= 900) { - const movieDescription = document.getElementById('movie-description'); - movieDescription.parentNode.insertBefore(trailerButton, movieDescription); - } - else { - const movieRating = document.getElementById('movie-rating'); - movieRating.parentNode.insertBefore(trailerButton, movieRating.nextSibling); - } + const movieRating = document.getElementById('movie-rating'); + movieRating.parentNode.insertBefore(trailerButton, movieRating.nextSibling); + hideSpinner(); } -document.addEventListener('DOMContentLoaded', positionTrailerButton); function showTrailerIframe(trailerUrl) { trailerUrlGlobal = trailerUrl; @@ -1064,38 +1048,192 @@ async function populateMovieDetails(movie, imdbRating, rtRating, metascore, awar const directors = movie.credits.crew.filter(member => member.job === 'Director'); if (directors.length > 0) { - const directorsLinks = directors.map(director => - `${director.name}` - ).join(', '); + const directorSection = document.createElement('div'); + directorSection.classList.add('director-section'); + directorSection.style.textAlign = 'center'; + + const directorTitle = document.createElement('span'); + directorTitle.innerHTML = 'Director: '; + directorSection.appendChild(directorTitle); + + directors.forEach(director => { + const directorLink = document.createElement('a'); + directorLink.classList.add('director-link'); + directorLink.href = 'javascript:void(0);'; + directorLink.style.textDecoration = 'none'; + directorLink.setAttribute('onclick', `handleDirectorClick(${director.id}, '${director.name.replace(/'/g, "\\'")}');`); + + const directorItem = document.createElement('div'); + directorItem.classList.add('cast-item'); + + const directorImage = document.createElement('img'); + directorImage.classList.add('cast-image'); + + if (director.profile_path) { + directorImage.src = IMGPATH + director.profile_path; + directorImage.alt = `${director.name} Profile Picture`; + } else { + directorImage.alt = 'Image Not Available'; + directorImage.src = '../../images/user-default.png'; + directorImage.style.filter = 'grayscale(100%)'; + directorImage.style.objectFit = 'cover'; + } - const directorsElement = document.createElement('p'); - directorsElement.innerHTML = `Director: ${directorsLinks}`; - document.getElementById('movie-description').appendChild(directorsElement); - } - else { + directorItem.appendChild(directorImage); + + const directorDetails = document.createElement('div'); + directorDetails.classList.add('cast-details'); + + const directorName = document.createElement('p'); + directorName.classList.add('actor-name'); + directorName.textContent = director.name; + directorDetails.appendChild(directorName); + + directorItem.appendChild(directorDetails); + directorLink.appendChild(directorItem); + directorSection.appendChild(directorLink); + }); + + document.getElementById('movie-description').appendChild(directorSection); + } else { const noDirectorsElement = document.createElement('p'); noDirectorsElement.innerHTML = `Director: Information not available`; document.getElementById('movie-description').appendChild(noDirectorsElement); } } - const castHeading = document.createElement('p'); - castHeading.innerHTML = 'Cast: '; - document.getElementById('movie-description').appendChild(castHeading); + const castSection = document.createElement('div'); + castSection.classList.add('cast-section'); + + const castTitle = document.createElement('p'); + castTitle.innerHTML = 'Notable Cast:'; + castSection.appendChild(castTitle); if (movie.credits && movie.credits.cast.length > 0) { - const topTenCast = movie.credits.cast.slice(0, 10); - topTenCast.forEach((actor, index) => { - const actorLink = document.createElement('a'); - actorLink.innerHTML = `${actor.name}`; - castHeading.appendChild(actorLink); - if (index < topTenCast.length - 1) { - castHeading.appendChild(document.createTextNode(', ')); + const castList = document.createElement('div'); + castList.classList.add('cast-list'); + castList.style.display = 'flex'; + castList.style.flexWrap = 'wrap'; + castList.style.justifyContent = 'center'; + castList.style.gap = '10px'; + const topTwelveCast = movie.credits.cast.slice(0, 10); + + topTwelveCast.forEach(actor => { + const castItemLink = document.createElement('a'); + castItemLink.classList.add('actor-link'); + castItemLink.href = 'javascript:void(0);'; + castItemLink.setAttribute('onclick', `selectActorId(${actor.id}, '${actor.name.replace(/'/g, "\\'")}');`); + + const castItem = document.createElement('div'); + castItem.classList.add('cast-item'); + + const actorImage = document.createElement('img'); + actorImage.classList.add('cast-image'); + + if (actor.profile_path) { + actorImage.src = IMGPATH + actor.profile_path; + actorImage.alt = `${actor.name} Profile Picture`; + } + else { + actorImage.alt = 'Image Not Available'; + actorImage.src = '../../images/user-default.png'; + actorImage.style.filter = 'grayscale(100%)'; + actorImage.style.objectFit = 'cover'; + } + + castItem.appendChild(actorImage); + + const actorDetails = document.createElement('div'); + actorDetails.classList.add('cast-details'); + + const actorName = document.createElement('p'); + actorName.classList.add('actor-name'); + actorName.textContent = actor.name; + actorName.style.wordWrap = 'break-word'; + actorDetails.appendChild(actorName); + + const character = actor.character ? ` (${actor.character})` : ''; + const actorRole = document.createElement('p'); + actorRole.classList.add('actor-role'); + actorRole.style.fontSize = '11px'; + actorRole.textContent = character; + actorRole.style.fontStyle = 'italic'; + actorRole.style.wordWrap = 'break-word'; + actorDetails.appendChild(actorRole); + + castItem.appendChild(actorDetails); + castItemLink.appendChild(castItem); + castList.appendChild(castItemLink); + }); + + castSection.appendChild(castList); + } + else { + castSection.appendChild(document.createTextNode('None available.')); + } + + document.getElementById('movie-description').appendChild(castSection); + + if (movie.similar && movie.similar.results && movie.similar.results.length > 0) { + const similarMoviesSection = document.createElement('div'); + similarMoviesSection.classList.add('similar-movies-section'); + + const similarMoviesTitle = document.createElement('p'); + similarMoviesTitle.innerHTML = 'Similar Movies:'; + similarMoviesSection.appendChild(similarMoviesTitle); + + const similarMoviesList = document.createElement('div'); + similarMoviesList.classList.add('similar-movies-list'); + similarMoviesList.style.display = 'flex'; + similarMoviesList.style.flexWrap = 'wrap'; + similarMoviesList.style.justifyContent = 'center'; + similarMoviesList.style.gap = '10px'; + + const topTenSimilarMovies = movie.similar.results.slice(0, 10); + topTenSimilarMovies.forEach(similarMovie => { + const similarMovieLink = document.createElement('a'); + similarMovieLink.classList.add('similar-movie-link'); + similarMovieLink.href = 'javascript:void(0);'; + similarMovieLink.setAttribute('onclick', `handleSimilarMovieClick(${similarMovie.id}, '${similarMovie.title.replace(/'/g, "\\'")}');`); + + const similarMovieItem = document.createElement('div'); + similarMovieItem.classList.add('cast-item'); + + const similarMovieImage = document.createElement('img'); + similarMovieImage.classList.add('cast-image'); + + if (similarMovie.poster_path) { + similarMovieImage.src = IMGPATH + similarMovie.poster_path; + similarMovieImage.alt = `${similarMovie.title} Poster`; + } else { + similarMovieImage.alt = 'Image Not Available'; + similarMovieImage.src = '../../images/movie-default.jpg'; + similarMovieImage.style.filter = 'grayscale(100%)'; + similarMovieImage.style.objectFit = 'cover'; } + + similarMovieItem.appendChild(similarMovieImage); + + const similarMovieDetails = document.createElement('div'); + similarMovieDetails.classList.add('cast-details'); + + const similarMovieTitle = document.createElement('p'); + similarMovieTitle.classList.add('actor-name'); + similarMovieTitle.textContent = similarMovie.title; + similarMovieDetails.appendChild(similarMovieTitle); + + similarMovieItem.appendChild(similarMovieDetails); + similarMovieLink.appendChild(similarMovieItem); + similarMoviesList.appendChild(similarMovieLink); }); + + similarMoviesSection.appendChild(similarMoviesList); + document.getElementById('movie-description').appendChild(similarMoviesSection); } else { - castHeading.appendChild(document.createTextNode('None available.')); + const noSimilarMoviesElement = document.createElement('p'); + noSimilarMoviesElement.innerHTML = `Similar Movies: None available`; + document.getElementById('movie-description').appendChild(noSimilarMoviesElement); } if (movie.production_companies && movie.production_companies.length > 0) { @@ -1113,21 +1251,6 @@ async function populateMovieDetails(movie, imdbRating, rtRating, metascore, awar document.getElementById('movie-description').appendChild(noCompaniesElement); } - if (movie.similar && movie.similar.results && movie.similar.results.length > 0) { - let similarMoviesHTML = movie.similar.results.map(similarMovie => { - return `${similarMovie.title}`; - }).join(', '); - - const similarMoviesElement = document.createElement('p'); - similarMoviesElement.innerHTML = `Similar Movies: ${similarMoviesHTML}`; - document.getElementById('movie-description').appendChild(similarMoviesElement); - } - else { - const noSimilarMoviesElement = document.createElement('p'); - noSimilarMoviesElement.innerHTML = `Similar Movies: None available`; - document.getElementById('movie-description').appendChild(noSimilarMoviesElement); - } - document.getElementById('movie-description').innerHTML += `

Streaming Options: ${streamingHTML}

`; @@ -1300,6 +1423,31 @@ async function populateMovieDetails(movie, imdbRating, rtRating, metascore, awar document.querySelector('.movie-left').appendChild(noImageText); } + const movieId = movie.id; + const code = `${getMovieCode()}`; + const url2 = `https://${getMovieVerseData()}/3/movie/${movieId}?${generateMovieNames()}${code}&append_to_response=videos`; + try { + const response2 = await fetch(url2); + const movie2 = await response2.json(); + const trailers = movie2.videos.results.filter(video => video.type === 'Trailer'); + + if (trailers.length > 0) { + const trailerUrl = `https://www.youtube.com/watch?v=${trailers[0].key}`; + trailerButton = createTrailerButton(trailerUrl); + detailsContainer.appendChild(trailerButton); + } + updateBrowserURL(movie.title); + + console.log(movie2) + } + catch (error) { + document.getElementById('movie-details-container').innerHTML = ` +
+

Movie details not found - Try again with a different movie

+
`; + console.log('Error fetching movie details:', error); + } + hideSpinner(); } @@ -1370,6 +1518,10 @@ function getSavedTextColor() { return localStorage.getItem('textColor') || 'white'; } +function handleActorClick(actorId, actorName) { + selectActorId(actorId, actorName); +} + function handleDirectorClick(directorId, directorName) { localStorage.setItem('selectedDirectorId', directorId); document.title = `${directorName} - Director's Details`; diff --git a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/tv-details.js b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/tv-details.js index f61eae35..05755be2 100644 --- a/MovieVerse-Mobile/www/MovieVerse-Frontend/js/tv-details.js +++ b/MovieVerse-Mobile/www/MovieVerse-Frontend/js/tv-details.js @@ -4,8 +4,6 @@ const movieCode = { part3: 'ZDllOTg3ZGNjN2YxYjU1OA==' }; -let globalTrailerKey = ''; - function getMovieCode() { return atob(movieCode.part1) + atob(movieCode.part2) + atob(movieCode.part3); } @@ -551,13 +549,6 @@ async function fetchTvDetails(tvSeriesId) { populateTvSeriesDetails(tvSeriesDetails, imdbRating); updateBrowserURL(tvSeriesDetails.name); - - const trailer = tvSeriesDetails.videos.results.find(video => video.type === 'Trailer' && video.site === 'YouTube'); - if (trailer) { - document.getElementById('trailerButton').style.display = 'block'; - globalTrailerKey = trailer.key; - } - hideSpinner(); } catch (error) { @@ -682,25 +673,189 @@ async function populateTvSeriesDetails(tvSeries, imdbRating) { const productionCountries = tvSeries.production_countries && tvSeries.production_countries.length > 0 ? tvSeries.production_countries.map(country => getCountryName(country.iso_3166_1)).join(', ') : 'Information not available'; detailsHTML += `

Production Countries: ${productionCountries}

`; - if (tvSeries.created_by && tvSeries.created_by.length) { - const creatorsLinks = tvSeries.created_by.map(creator => - `${creator.name}` - ).join(', '); - detailsHTML += `

Directors: ${creatorsLinks}

`; - } - else { - detailsHTML += `

Directors: Information not available

`; + if (tvSeries.created_by && tvSeries.created_by.length > 0) { + const creatorsSection = document.createElement('div'); + creatorsSection.classList.add('creators-section'); + + const creatorsTitle = document.createElement('p'); + creatorsTitle.innerHTML = 'Creators:'; + creatorsSection.appendChild(creatorsTitle); + + const creatorsList = document.createElement('div'); + creatorsList.classList.add('creators-list'); + creatorsList.style.display = 'flex'; + creatorsList.style.flexWrap = 'wrap'; + creatorsList.style.justifyContent = 'center'; + creatorsList.style.gap = '10px'; + + tvSeries.created_by.forEach(creator => { + const creatorLink = document.createElement('a'); + creatorLink.classList.add('creator-link'); + creatorLink.href = 'javascript:void(0);'; + creatorLink.setAttribute('onclick', `handleCreatorClick(${creator.id}, '${creator.name.replace(/'/g, "\\'")}');`); + + const creatorItem = document.createElement('div'); + creatorItem.classList.add('creator-item'); + + const creatorImage = document.createElement('img'); + creatorImage.classList.add('creator-image'); + + if (creator.profile_path) { + creatorImage.src = IMGPATH + creator.profile_path; + creatorImage.alt = `${creator.name} Profile Picture`; + } else { + creatorImage.alt = 'Image Not Available'; + creatorImage.style.objectFit = 'cover'; + creatorImage.src = '../../images/user-default.png'; + creatorImage.style.filter = 'grayscale(100%)'; + } + + creatorItem.appendChild(creatorImage); + + const creatorDetails = document.createElement('div'); + creatorDetails.classList.add('creator-details'); + + const creatorName = document.createElement('p'); + creatorName.classList.add('creator-name'); + creatorName.textContent = creator.name; + creatorDetails.appendChild(creatorName); + + creatorItem.appendChild(creatorDetails); + creatorLink.appendChild(creatorItem); + creatorsList.appendChild(creatorLink); + }); + + creatorsSection.appendChild(creatorsList); + detailsHTML += creatorsSection.outerHTML; + } else { + const noCreatorsElement = document.createElement('p'); + noCreatorsElement.innerHTML = `Creators: Information not available`; + detailsHTML += noCreatorsElement.outerHTML; } - if (tvSeries.credits && tvSeries.credits.cast && tvSeries.credits.cast.length) { - let castHTML = tvSeries.credits.cast.slice(0, 100).map(castMember => { - const escapedName = castMember.name.replace(/'/g, "\\'"); - return `${castMember.name}`; - }).join(', '); - detailsHTML += `

Cast: ${castHTML}

`; + if (tvSeries.credits && tvSeries.credits.cast && tvSeries.credits.cast.length > 0) { + const castSection = document.createElement('div'); + castSection.classList.add('cast-section'); + + const castTitle = document.createElement('p'); + castTitle.innerHTML = 'Cast:'; + castSection.appendChild(castTitle); + + const castList = document.createElement('div'); + castList.classList.add('cast-list'); + castList.style.display = 'flex'; + castList.style.flexWrap = 'wrap'; + castList.style.justifyContent = 'center'; + castList.style.gap = '10px'; + + tvSeries.credits.cast.slice(0, 10).forEach(castMember => { + const castMemberLink = document.createElement('a'); + castMemberLink.classList.add('cast-member-link'); + castMemberLink.href = 'javascript:void(0);'; + castMemberLink.setAttribute('onclick', `selectActorId(${castMember.id}, '${castMember.name.replace(/'/g, "\\'")}');`); + + const castMemberItem = document.createElement('div'); + castMemberItem.classList.add('cast-member-item'); + + const castMemberImage = document.createElement('img'); + castMemberImage.classList.add('cast-member-image'); + + if (castMember.profile_path) { + castMemberImage.src = IMGPATH + castMember.profile_path; + castMemberImage.alt = `${castMember.name} Profile Picture`; + } else { + castMemberImage.alt = 'Image Not Available'; + castMemberImage.style.objectFit = 'cover'; + castMemberImage.src = '../../images/user-default.png'; + castMemberImage.style.filter = 'grayscale(100%)'; + } + + castMemberItem.appendChild(castMemberImage); + + const castMemberDetails = document.createElement('div'); + castMemberDetails.classList.add('cast-member-details'); + + const castMemberName = document.createElement('p'); + castMemberName.classList.add('cast-member-name'); + castMemberName.textContent = castMember.name; + castMemberDetails.appendChild(castMemberName); + + const castMemberRole = document.createElement('p'); + castMemberRole.classList.add('cast-member-role'); + castMemberRole.textContent = castMember.character ? `(${castMember.character})` : ''; + castMemberRole.style.fontStyle = 'italic'; + castMemberDetails.appendChild(castMemberRole); + + castMemberItem.appendChild(castMemberDetails); + castMemberLink.appendChild(castMemberItem); + castList.appendChild(castMemberLink); + }); + + castSection.appendChild(castList); + detailsHTML += castSection.outerHTML; + } else { + const noCastElement = document.createElement('p'); + noCastElement.innerHTML = `Cast: Information not available`; + detailsHTML += noCastElement.outerHTML; } - else { - detailsHTML += `

Cast: Information not available

`; + + if (tvSeries.similar && tvSeries.similar.results && tvSeries.similar.results.length > 0) { + const similarTvSeriesSection = document.createElement('div'); + similarTvSeriesSection.classList.add('similar-tv-series-section'); + + const similarTvSeriesTitle = document.createElement('p'); + similarTvSeriesTitle.innerHTML = 'Similar TV Series:'; + similarTvSeriesSection.appendChild(similarTvSeriesTitle); + + const similarTvSeriesList = document.createElement('div'); + similarTvSeriesList.classList.add('similar-tv-series-list'); + similarTvSeriesList.style.display = 'flex'; + similarTvSeriesList.style.flexWrap = 'wrap'; + similarTvSeriesList.style.justifyContent = 'center'; + similarTvSeriesList.style.gap = '10px'; + + tvSeries.similar.results.slice(0, 5).forEach(similarTv => { + const similarTvLink = document.createElement('a'); + similarTvLink.classList.add('similar-tv-link'); + similarTvLink.href = 'javascript:void(0);'; + similarTvLink.setAttribute('onclick', `selectTvSeriesId(${similarTv.id});`); + + const similarTvItem = document.createElement('div'); + similarTvItem.classList.add('similar-tv-item'); + + const similarTvImage = document.createElement('img'); + similarTvImage.classList.add('similar-tv-image'); + + if (similarTv.poster_path) { + similarTvImage.src = IMGPATH + similarTv.poster_path; + similarTvImage.alt = `${similarTv.name} Poster`; + } else { + similarTvImage.alt = 'Image Not Available'; + similarTvImage.src = '../../images/tv-default.png'; + similarTvImage.style.filter = 'grayscale(100%)'; + } + + similarTvItem.appendChild(similarTvImage); + + const similarTvDetails = document.createElement('div'); + similarTvDetails.classList.add('similar-tv-details'); + + const similarTvName = document.createElement('p'); + similarTvName.classList.add('similar-tv-name'); + similarTvName.textContent = similarTv.name; + similarTvDetails.appendChild(similarTvName); + + similarTvItem.appendChild(similarTvDetails); + similarTvLink.appendChild(similarTvItem); + similarTvSeriesList.appendChild(similarTvLink); + }); + + similarTvSeriesSection.appendChild(similarTvSeriesList); + detailsHTML += similarTvSeriesSection.outerHTML; + } else { + const noSimilarTvSeriesElement = document.createElement('p'); + noSimilarTvSeriesElement.innerHTML = `Similar TV Series: Information not available`; + detailsHTML += noSimilarTvSeriesElement.outerHTML; } if (tvSeries.production_companies && tvSeries.production_companies.length) { @@ -713,16 +868,6 @@ async function populateTvSeriesDetails(tvSeries, imdbRating) { detailsHTML += `

Production Companies: Information not available

`; } - if (tvSeries.similar && tvSeries.similar.results && tvSeries.similar.results.length) { - let similarTVHTML = tvSeries.similar.results.slice(0, 5).map(similarTv => { - return `${similarTv.name}`; - }).join(', '); - detailsHTML += `

Similar TV Series: ${similarTVHTML}

`; - } - else { - detailsHTML += `

Similar TV Series: Information not available

`; - } - if (tvSeries.last_episode_to_air) { detailsHTML += `

Last Episode: ${tvSeries.last_episode_to_air.name || 'Title not available'} - "${tvSeries.last_episode_to_air.overview || 'Overview not available.'}"

`; } @@ -1037,24 +1182,6 @@ document.addEventListener('DOMContentLoaded', () => { setStarRating(movieRating); }); -document.addEventListener('DOMContentLoaded', () => { - document.getElementById('trailerButton').addEventListener('click', () => { - const trailerContainer = document.getElementById('trailerContainer'); - const isOpen = trailerContainer.style.maxHeight !== '0px'; - - if (isOpen) { - trailerContainer.style.maxHeight = '0'; - } - else { - const trailerIframe = ``; - trailerContainer.innerHTML = trailerIframe; - trailerContainer.style.maxWidth = '400px'; - trailerContainer.style.maxHeight = '315px'; - trailerContainer.style.borderRadius = '8px'; - } - }); -}); - async function showMovieOfTheDay() { const year = new Date().getFullYear(); const url = `https://${getMovieVerseData()}/3/discover/movie?${generateMovieNames()}${getMovieCode()}&sort_by=vote_average.desc&vote_count.gte=100&primary_release_year=${year}&vote_average.gte=7`; diff --git a/MovieVerse-Mobile/www/images/LICENSE b/MovieVerse-Mobile/www/images/LICENSE index a0ef1b39..19bed0c9 100644 --- a/MovieVerse-Mobile/www/images/LICENSE +++ b/MovieVerse-Mobile/www/images/LICENSE @@ -1,21 +1,151 @@ -MIT License - -Copyright (c) 2024 Son Nguyen - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +Creative Commons Attribution-NonCommercial 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-NonCommercial 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + +Section 1 – Definitions. + +a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. + +b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. + +c. BY-NC Compatible License means a license listed at https://creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License. + +d. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. + +e. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. + +f. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. + +g. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. + +h. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. + +i. Licensor means the individual(s) or entity(ies) granting rights under this Public License. + +j. NonCommercial means not primarily intended for or directed towards commercial advantage or monetary compensation. For purposes of this Public License, the exchange of the Licensed Material for other material subject to Copyright and Similar Rights by digital file-sharing or similar means is NonCommercial provided there is no payment of monetary compensation in connection with the exchange. + +k. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. + +l. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. + +m. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. + +Section 2 – Scope. + +a. License grant. + + 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or in part, for NonCommercial purposes only; and + + b. produce, reproduce, and Share Adapted Material for NonCommercial purposes only. + + 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. + + 3. Term. The term of this Public License is specified in Section 6(a). + + 4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. + + b. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. + + 6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). + +b. Other rights. + + 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this Public License. + + 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties, including when the Licensed Material is used other than for NonCommercial purposes. + +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + +a. Attribution. + + 1. If You Share the Licensed Material (including in modified form), You must: + + a. retain the following if it is supplied by the Licensor with the Licensed Material: + + i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of warranties; + + v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; + + b. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. + + 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. + +b. ShareAlike. + + 1. In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply. + + a. The Adapter's License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-NC Compatible License. + + b. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material. + + c. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply. + +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + +a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database for NonCommercial purposes only; + +b. if You include all or a substantial portion of the database contents in a database in which You have Copyright or Sui Generis Database Rights, then the database in which You have Copyright or Sui Generis Database Rights (but not its individual contents) is Adapted Material; and + +c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. + +Section 5 – Disclaimer of Warranties and Limitation of Liability. + +a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. + +b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. + +c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. + +Section 6 – Term and Termination. + +a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. + +b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. + +c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. + +d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. + +Section 7 – Other Terms and Conditions. + +a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. + +b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. + +Section 8 – Interpretation. + +a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. + +b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. + +c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. + +d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. diff --git a/MovieVerse-Mobile/www/images/README.md b/MovieVerse-Mobile/www/images/README.md index 780ccef7..d67a1505 100644 --- a/MovieVerse-Mobile/www/images/README.md +++ b/MovieVerse-Mobile/www/images/README.md @@ -12,7 +12,7 @@ This directory serves as a repository for the images used throughout our applica - `favicon.ico`: This icon is used as the website's favicon, visible in browser tabs and bookmarks. - `screenshot.png`: This image is used within the app to demonstrate features or provide visual guides, such as for UI design. - `user-default.png`: This image is used as a placeholder for the user's profile until they add their own profile image. -- And more... +- And many more... ## Usage Guidelines diff --git a/MovieVerse-Mobile/www/images/actor-default.webp b/MovieVerse-Mobile/www/images/actor-default.webp new file mode 100644 index 0000000000000000000000000000000000000000..6b62648b9c6a781e2366e22a644dec46984429e8 GIT binary patch literal 2832 zcmd^A_d6R37mjgb+*;{CLn%eniaip0kCLENt@NTs?LC89MeKF$*@mi7YP5-!B3i0w zl}a16)k=)2n%DPy_j{i2m-`po^W%BWd4G7%`@YBAP*0EXcL2azR|{c!fJ{qO}RbfaEVC1|U=r#_8r-3H|u z?t;k~EY)S^WIIDB_3<_T1=PkgOo8=uffu$%o5_8Mz{0i|Utjo?`)Cg}x3o{`Ud(mg%L5 zHP*!<_J(zSViXe~O2~=r#2f?GcX1DPer!tRFg!mSa{Qbu;jHY^JB;dP54gGT^why9D6avILULU7m>An9NyVxkiWn+V2VG;SEg-q<~XX zBA_r&-x`S>t%~@UuGO3Zfx5rq>3S(6N50%moKsF{qAreKygjz3Hpuozj~+5{2)g8? z2YzKCCM&%nnwvH*EdqwL(yJc&hZyVb(c%(fp+$)`&X#4b)8ZO56~hcVZgKm!xN#zJ zXUpt{^`HFl>aH3DQ?)+EVUlSaDmKLzQz7k0=z>h7OCLsaGvzY&E!eQI_)Wv)oe%mP z(0Tq~dU?W*P`S%9fdNKx!1%*47J|T{h@>P<5jBkXb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7|2#W!& z9Pz_}+5mh_qMgKiNK6nO3v| zZ+@8js+dtVE- zcYmNOv8Kjk-}wE-l9cX{T_7;rF!!g;{4!PbH-+X)a-|F55)YKYhaR5CNvoccgX zw9jhf#$bMU;<&{t>P5D<7oc2dLH}TRX##;1F$3yqXv;m0L#d&`sz*t{Z^uC2Kn_{2 z_6v{j&R1jDe^}CpOeuIuy?Uo!DXhI}F+i>wU-~jRHxkI9{|@-S4FCL+CS8d8SZ=qeQ$me83C<_=}ZmRBMUoSR#UraKq|5=SOdVa8BAg!uu z6Uhb4Hb(pvpDgqN(vJ{0Kq3QDab$jtICmJWrhh5seFTxs{N2izxfJHil970Te+LSz zDr2LHPGb*dToq5D?~Z!7Z!;N*DLgf&zQ^`B+%ua~-oZ(PICOicAD6~S>gU-7=-jbS z(|oY}TKOPYQ3aLI9B#Ie;+Z9EoXj7{+i2hY@nP)G;QWTe;3IVvQ$rgAl22A-&9$wo z9vQV7$!XQ`dDPqjauZsI04zek{yRMT^SlD+vidK2l3p02q4UAa$aw{tmG$IDZTkAToG92vM zALP;GcD+PSA_%%f7QS1daaBoXa(4RLY*J?9di@*K^^K#+;nCX%$*=`vLJCrGok$Af z-g17xTm@Z4BO;?q;UU|YWW<6eM4fzRrh0Dxs-M&AaGgl)Jjz&E=65csxY;-)wIxS( zevR8ehy|c7_TXNXGjm<4mMgj&H$(oV-px;q2h^@!GPbM37&WIU*`o56NOOYFDQo%L zQqMS7gJ;dDiE4c&dVkcG7Hr-Q?kdZBd-n}H(f81Awaw0uzG_A5$q3awn%C`F1s}(M zlx~;#loMtT5ev4uocUO`P(6JIm3T^n9q=+i;- PL89EVMril3E=K+jKxjE` literal 0 HcmV?d00001 diff --git a/MovieVerse-Mobile/www/index.html b/MovieVerse-Mobile/www/index.html index 8845719e..c86dff8b 100644 --- a/MovieVerse-Mobile/www/index.html +++ b/MovieVerse-Mobile/www/index.html @@ -3,6 +3,7 @@ + The MovieVerse - Explore Movies, TV Series, and More diff --git a/index.html b/index.html index 1a625e4e..950d7a80 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,7 @@ + The MovieVerse - Explore Movies, TV Series, and More