Fix iOS Safari Audio Issues in React Video Player (HLS/ReactPlayer). Nextjs/typescript
89 USDProject Overview
The Problem
- ❌ Audio memory leaks on iOS Safari
- ❌ Inconsistent audio playback
- ❌ Performance degradation after multiple video switches
- ❌ Audio tracks not properly releasing resources
Technical Stack
- Frontend: Next.js 14, React 18, TypeScript
- Video Player: ReactPlayer with HLS.js
- State Management: Zustand stores
- Styling: Tailwind CSS
- Video Format: HLS streams (.m3u8)
-
3530 51 2 Good day!
I noticed the description of problems with the video player in your project — specifically, memory leaks and unstable behavior on iOS Safari when using ReactPlayer with HLS.js.
It is important to note that iOS Safari has built-in support for HLS and does not fully support MediaSource Extensions (MSE), which are critically necessary for HLS.js to function. Because of this:
1) HLS.js should not be used in iOS Safari — this is not only inefficient but can also lead to memory leaks and crashes.
2) ReactPlayer, which automatically integrates HLS.js for HLS streams, does not account for the specifics of iOS Safari, leading to the issues you described.
I can suggest the following solution:
1) Use a custom video player that conditionally detects iOS Safari and plays HLS directly through , without HLS.js.
2) For all other platforms — connect HLS.js only where it is truly needed.
3) Properly clear media resources (pause, removeAttribute('src'), load, destroy) to prevent leaks when switching streams.
… If interested — I can quickly implement a prototype of such a player or rewrite the existing component according to this logic. Ready to discuss project details, tech stack, and tasks.
Current freelance projects in the category Javascript and Typescript
Development of the AM Mobility platform (car service, parking, insurance, car rental)
5770 USD
We are looking for a team or an experienced Full Stack developer to create the MVP of the AM Mobility platform. AM Mobility is a unified digital ecosystem for motorists, combining in one application and web platform: parking; car service; tire fitting; car wash; car rental;… Javascript and Typescript, Web Programming ∙ 5 days 6 hours back ∙ 114 proposals |
Gsap animations
22 USD
Good day. Corrections need to be made in the current project. A specialist is needed who works well with gsap/lenis. Animation of cards needs to be done. Detailed specifications here:… Javascript and Typescript, Web Programming ∙ 5 days 11 hours back ∙ 21 proposals |
I am looking for a mentor with Claude Code to launch a web project from scratch.Brief about the task: I am a beginner with no programming experience. I have a ready specification for website development (42 pages, Next.js, PostgreSQL). I want to implement it myself using Claude Code - I need a specialist who will set up the environment and teach me how to… Javascript and Typescript, Tuition ∙ 7 days 10 hours back ∙ 19 proposals |
Website design updateIt is necessary to update the design of the existing website using HTML, CSS, JS: refresh the appearance, make it modern and responsive for mobile devices. Smooth animations and interactive elements need to be added. HTML & CSS, Javascript and Typescript ∙ 8 days 4 hours back ∙ 97 proposals |
Consultation and audit of the current project on Odoo 19 Community EditionWe are looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition, including using Claude Code. We need a specialist who has successfully implemented projects in Odoo and practical experience in development using Claude Code. Important: we only… C & C++, Javascript and Typescript ∙ 8 days 10 hours back ∙ 8 proposals |