PSU
Purecode Step Up

Subtitle Player - Copy this React, Tailwind Component to your project

Design a webpage that extracts text from a subtitle file (phu_de.srt) and displays it as a continuous paragraph. The page should include a 'Play' button that, when clicked, plays an audio file (audio.mp3). While the audio is playing, highlight the corresponding text in purple according to the timestamp in the SRT file

Prompt
Component Preview

About

SubtitlePlayer - Extracts text from SRT files, plays audio, and highlights corresponding text in purple. Built with React and Tailwind. Get code instantly!

Share

Last updated 1 month ago