A fully responsive multimedia streaming application built with React.js that allows users to stream videos, audio tracks, and view images. Features include a modern UI, dark/light theme toggle, media players, search functionality, favorites, and more.
- β¨ Modern, clean, and intuitive UI
- π Home page with featured content
- π± Fully responsive design (mobile-friendly)
- π Dark & light theme toggle
- π Grid/list view toggle for browsing media
- π¬ Video Player: Play, pause, seek, fullscreen, volume control
- π΅ Audio Player: Playlist support with next/previous track navigation
- πΌοΈ Image Viewer: Slideshow option with navigation
- π Search bar to filter media
- π·οΈ Category-wise media filtering (Movies, Songs, Short Clips, Images, etc.)
- π€ User login/signup (dummy authentication)
- β€οΈ Add to Favorites
- β° Watch Later functionality
βΆοΈ Continue Watching section- π€ Media upload page
- β‘ Smooth animations & transitions (Framer Motion)
- π¨ Tailwind CSS for styling
- π Context API for state management
- π§ React Router for navigation
- πΎ LocalStorage for persistence
- π§© Reusable components
- React.js (v18.2.0) with Hooks
- React Router (v6.20.0) for navigation
- Context API for state management
- Tailwind CSS (v3.3.6) for styling
- Framer Motion (v10.16.16) for animations
- React Icons (v4.12.0) for icons
- Vite (v5.0.8) as build tool
multimedia-streaming-app/
βββ public/
βββ src/
β βββ components/
β β βββ players/
β β β βββ VideoPlayer.jsx
β β β βββ AudioPlayer.jsx
β β β βββ ImageViewer.jsx
β β βββ Header.jsx
β β βββ Footer.jsx
β β βββ MediaCard.jsx
β β βββ ViewToggle.jsx
β β βββ CategoryFilter.jsx
β βββ context/
β β βββ ThemeContext.jsx
β β βββ AuthContext.jsx
β β βββ MediaContext.jsx
β βββ pages/
β β βββ Home.jsx
β β βββ Browse.jsx
β β βββ Player.jsx
β β βββ Login.jsx
β β βββ Upload.jsx
β β βββ Favorites.jsx
β βββ data/
β β βββ sampleData.js
β βββ App.jsx
β βββ main.jsx
β βββ index.css
βββ index.html
βββ package.json
βββ vite.config.js
βββ tailwind.config.js
βββ README.md
- Node.js (v16 or higher)
- npm or yarn
-
Clone or navigate to the project directory
cd multimedia-streaming-app -
Install dependencies
npm install -
Start the development server
npm run dev -
Open your browser
- The app will automatically open at
http://localhost:3000 - Or manually navigate to the URL shown in the terminal
- The app will automatically open at
npm run build
The production build will be in the dist directory.
npm start
The production server serves the built React app and the live WebSocket signaling server from the same host.
npm run preview
If your frontend and signaling server are deployed together with npm start, you do not need to set a signaling URL. The app will automatically use the current host.
If the signaling server is deployed separately, create this variable in your frontend deployment provider before building:
VITE_SIGNALING_URL=wss://your-signaling-server.example.com
For local setup, copy .env.example to .env and update VITE_SIGNALING_URL.
The signaling server also supports:
PORT=3001
Most hosting providers set PORT automatically, so only configure it when your deployment needs a fixed port.
Use this setup for platforms that support long-running Node processes and WebSockets, such as Render, Railway, Fly.io, or a VPS.
npm ci
npm run build
npm start
The included render.yaml is ready for Render Blueprint deployment.
Static hosts can serve the React build, but live streaming requires a separate deployed signaling server.
- Deploy the frontend with
npm run build. - Deploy
server/index.jsas a long-running Node service. - Set
VITE_SIGNALING_URLin the frontend deployment to the server WebSocket URL, for examplewss://your-signaling-server.example.com.
- Home: Browse featured content, continue watching, and recently added media
- Browse: View all media with category filters and search
- Favorites: Access your saved favorites
- Upload: Upload new media (requires login)
- Login/Signup: Create an account or sign in (dummy authentication)
- Search: Use the search bar in the header to find media across the app
- Theme Toggle: Click the sun/moon icon in the header to switch themes
- View Toggle: Switch between grid and list views in the Browse page
- Category Filter: Filter media by category (Movies, Music, Images, etc.)
- Favorites: Click the heart icon on any media card to add/remove from favorites
- Watch Later: Click the clock icon to add media to watch later
- Media Players:
- Video: Full controls including play, pause, seek, volume, and fullscreen
- Audio: Playlist support with automatic track progression
- Images: Slideshow mode with navigation controls
The app comes with pre-loaded sample media including:
- Videos (movies, documentaries, short clips)
- Audio tracks (jazz, electronic, classical, rock)
- Images (landscapes, cityscapes, nature)
All sample media uses publicly available URLs for demonstration purposes.
The app uses dummy authentication for demonstration:
- Any email/password combination will work for login
- Signup creates a new user profile (stored in localStorage)
- User data persists across sessions
The app uses React Context API for state management:
- ThemeContext: Manages dark/light theme
- AuthContext: Handles user authentication
- MediaContext: Manages media data, favorites, watch later, and continue watching
All user preferences and data are stored in localStorage for persistence.
- Navigate to the Upload page (requires login)
- Fill in the media details:
- Media type (video, audio, or image)
- Title (required)
- Description
- Category
- Media URL (required)
- Thumbnail URL
- Additional fields based on media type
- Click "Upload"
Edit src/data/sampleData.js to add or modify sample media items.
The app uses Tailwind CSS. Customize colors and styles in:
tailwind.config.js- Theme configurationsrc/index.css- Global styles
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Optimized with React.memo where appropriate
- Lazy loading for images
- Efficient state management
- Smooth animations with Framer Motion
Potential features to add:
- Real backend API integration
- User profiles and settings
- Comments and ratings
- Social sharing
- Advanced search filters
- Playlist creation
- Download functionality
- Subtitle support for videos
This project is open source and available for educational purposes.
Feel free to fork this project and submit pull requests for any improvements.
For issues or questions, please open an issue on the project repository.
Enjoy streaming! π¬π΅πΌοΈ