Skip to content

allonli/repeat-learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Video Player with Subtitle Support

A web-based local video player application with advanced subtitle features for language learning.

中文说明

Features

  • Video Playback: Play local MP4 files with custom controls.
  • Subtitle Support: Load and display SRT subtitle files.
  • Sentence-by-Sentence Navigation: Navigate through subtitle sentences.
  • Repeat Functionality: Set custom repeat counts for each subtitle segment.
  • Playback Speed Control: Adjust playback speed (0.5x, 0.75x, 1.0x, 1.25x, 1.5x).
  • Playlist Support: Load a folder of videos for easy switching.
  • Keyboard Shortcuts: Control playback with keyboard shortcuts.

How to Use

  1. Open index.html in a modern web browser (Chrome, Firefox, Edge recommended).
  2. Click "Open Folder" to select a folder containing video files.
  3. Select a video from the playlist to play.
  4. Click "Load Subtitle" to select an SRT subtitle file.
  5. Use the controls to navigate through the video and subtitles.

Keyboard Shortcuts

  • Space: Play/Pause
  • Enter: Jump to next subtitle
  • Left Arrow: Previous sentence
  • Right Arrow: Next sentence

Subtitle Navigation

  • Use "Jump to subtitle" dropdown to navigate to any subtitle.
  • Click the backward/forward buttons to move between subtitles.
  • Set repeat count to automatically repeat each subtitle segment multiple times.

Notes

  • This application runs completely client-side with no server requirements.
  • For best performance, use the latest version of Chrome or Firefox.
  • Large video files and folders may take a moment to load.
  • Supports standard SRT subtitle format.

Browser Compatibility

This application works best in modern browsers that support the HTML5 File API and video element. Some features may not work in older browsers.

Privacy

All processing happens locally in your browser. No data is sent to any server.


本地视频播放器(支持字幕)

一个基于网页的本地视频播放器应用,具有高级字幕功能,专为语言学习设计。

功能特点

  • 视频播放:播放本地MP4文件,提供自定义控制。
  • 字幕支持:加载并显示SRT格式字幕文件。
  • 逐句导航:在字幕句子间导航。
  • 重复播放:为每个字幕片段设置自定义重复次数。
  • 播放速度控制:调整播放速度(0.5x、0.75x、1.0x、1.25x、1.5x)。
  • 播放列表支持:加载视频文件夹以便于切换。
  • 键盘快捷键:通过键盘快捷键控制播放。

使用方法

  1. 在现代浏览器中打开index.html(推荐使用Chrome、Firefox或Edge)。
  2. 点击"打开文件夹"选择包含视频文件的文件夹。
  3. 从播放列表中选择要播放的视频。
  4. 点击"加载字幕"选择SRT字幕文件。
  5. 使用控制按钮导航视频和字幕。

键盘快捷键

  • 空格键:播放/暂停
  • 回车键:跳转到下一个字幕
  • 左方向键:上一句
  • 右方向键:下一句

字幕导航

  • 使用"跳转到字幕"下拉菜单导航到任意字幕。
  • 点击前进/后退按钮在字幕间移动。
  • 设置重复次数以自动重复播放每个字幕片段。

注意事项

  • 本应用完全在客户端运行,无需服务器。
  • 为获得最佳性能,请使用最新版本的Chrome或Firefox。
  • 大型视频文件和文件夹可能需要一些时间加载。
  • 支持标准SRT字幕格式。

浏览器兼容性

本应用在支持HTML5 File API和视频元素的现代浏览器中运行最佳。某些功能可能在旧版浏览器中无法使用。

隐私说明

所有处理都在您的浏览器本地进行。不会向任何服务器发送数据。

About

the tool for learning English

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors