Skip to content

dev-alihasan/pop-up-video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Popup

This repository contains code for creating a simple video popup using HTML, CSS, and JavaScript. The video popup allows users to watch a video by clicking on a button and close it using a close icon.

Features

  • Clicking the "Watch now" button displays the video popup.
  • The video popup includes controls for playing and pausing the video.
  • Clicking the close icon hides the video popup.

Getting Started

To use this code in your project, follow these steps:

  1. Clone this repository to your local machine:
git clone https://github.com/dev-alihasan/video-popup.git
  1. Open the index.html file in your web browser to see the video popup in action.
  2. Customize the content, styles, and video source in the HTML, CSS, and JavaScript files to suit your needs.

Files Included

  1. index.html: Contains the HTML structure for the video popup, including the video element, button, and close icon.
  2. design.css: Defines the styles for the video popup and its components.
  3. index.js: Includes the JavaScript code for controlling the behavior of the video popup.

live like

Screenshotytyt