All content in the Disney+ Hotstar Clone is hardcoded directly inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Vipul-Gejage/Disney-Hotstar-Clone/llms.txt
Use this file to discover all available pages before exploring further.
Hotstar.html — there is no database, API, or CMS. Adding new items means copying an existing HTML block, placing it in the correct position in the file, and updating the image src, title text, and description. The JavaScript in Hotstar.js attaches behavior to CSS class names rather than specific IDs, so any element you add with the right class will automatically gain carousel animation, hover-play video, or watchlist alert behavior.
Adding a Carousel Slide
The hero banner is built from a series of.slider divs nested inside .carousel. Each slide holds a text overlay and a full-bleed banner image. Here is the exact HTML structure for one slide as it appears in Hotstar.html:
Copy the block
Copy any existing
.slider div and paste it as the last child inside the .carousel div, before the closing </div> that ends the carousel.Update the description
Replace the text inside
<p class="movie-des"> with a short description of the content.cloneSlides() function in Hotstar.js reads all .slider elements that exist in the DOM at page load and clones them to create seamless looping. Your new slide will be picked up automatically — no JavaScript changes are needed.
.carousel-container is 450px tall and the image is sized at width: 70% with min-height: 100%. Use a wide landscape banner at least 1200 × 500px — images shorter than 450px will be stretched by object-fit: cover. A 16:9 or wider aspect ratio works best.
Adding a Franchise Video Card
The franchise strip below the hero banner contains five.video-card elements, each showing a logo image at rest and playing a looping video on hover. The HTML for one card from Hotstar.html is:
Add your media files
Place your logo image in the
images/ folder and your video file in the videos/ folder.Copy the block
Copy any existing
.video-card div and paste it as the last child inside .video-card-container.Update the image
Set the
src on the <img class="video-card-image"> tag to your new logo file, e.g., ./images/your-brand.PNG. Update alt to describe the logo.Hotstar.js queries all .video-card elements and attaches mouseenter / mouseleave listeners to each one. Any new card you add with the .video-card class will work automatically.
Videos must have the
muted attribute — browsers block autoplay for unmuted videos. Use compressed MP4 files; large video files will significantly slow the initial page load since all five (or more) video elements are loaded with the page even before hovering.Adding a Movie Card to a Row
Movie poster cards appear in horizontal scrollable rows. Each row has a heading (<h1 class="title">) followed by a .movies-list wrapper containing a .card-container. The HTML for one card from Hotstar.html is:
Copy the block
Copy any existing
.card div and paste it as the last child inside the target .card-container.Update the image
Set the
src on <img class="card-img"> to your poster file, e.g., ./images/latest 11.png. Update the alt attribute accordingly.<button class="watchlist-btn" onclick="showFullscreenAlert()"> is already wired to the showFullscreenAlert() function in Hotstar.js. No additional JavaScript is needed — the alert modal will appear when the button is clicked on any card, new or existing.
Recommended poster dimensions: Cards are 150 × 200px in CSS. Use portrait-orientation images at 150 × 200px or a matching 3:4 aspect ratio. The object-fit: cover on .card-img will crop wider images, centering them within the card frame.
Changing Navbar Links
The four navigation links — TV, Movies, Sports, and Premium — are a<ul class="nav-links"> list in Hotstar.html:
href="#" as a placeholder. To wire a link to a real destination, replace # with an absolute URL or a relative path:
<li class="nav-items">...</li> line and paste it inside the <ul class="nav-links">. Styling for additional items is inherited automatically from the .nav-items a rule in Hotstar.css.