All Projects → Joran-Dob → flutter_subtitle_wrapper

Joran-Dob / flutter_subtitle_wrapper

Licence: MIT license
This is an subtitle package for flutter video player.

Programming Languages

dart
5743 projects
ruby
36898 projects - #4 most used programming language
swift
15916 projects

Projects that are alternatives of or similar to flutter subtitle wrapper

Voracious
A video player for studying foreign languages (esp. Japanese)
Stars: ✭ 203 (+745.83%)
Mutual labels:  video-player, subtitles
Better Chrome Native Video
Add keyboard support to Chrome's native HTML5 video player.
Stars: ✭ 31 (+29.17%)
Mutual labels:  video-player, accessibility
a11ycolor
🌈 Generate the nearest accessible color
Stars: ✭ 29 (+20.83%)
Mutual labels:  accessibility
elm-html-a11y
view helpers enforcing accessible practices
Stars: ✭ 28 (+16.67%)
Mutual labels:  accessibility
libgosubs
golang library to read and write various subtitle formats
Stars: ✭ 20 (-16.67%)
Mutual labels:  subtitles
amazon-ivs-auto-captions-web-demo
Use Amazon IVS in conjunction with Amazon Transcribe to deliver real-time captions for live streams.
Stars: ✭ 36 (+50%)
Mutual labels:  accessibility
mindpatterns
HTML Accessibility Pattern Examples
Stars: ✭ 78 (+225%)
Mutual labels:  accessibility
NaturalGroundingPlayer
Sequence videos based on their energy readings
Stars: ✭ 46 (+91.67%)
Mutual labels:  video-player
srtmerger
subtitle merger is a tool for merging two or more subtitles for videos.
Stars: ✭ 35 (+45.83%)
Mutual labels:  subtitles
beyondplayer
BeyondPlayer - Video player for English learner
Stars: ✭ 183 (+662.5%)
Mutual labels:  video-player
pick-a-good-color
Choose the boldest and most accessible color for a given background.
Stars: ✭ 18 (-25%)
Mutual labels:  accessibility
danmaku-player
An HTML5 danmaku video player for real-time image processing using WebGl and Web Components.融合了webgl和web components的实时图像处理弹幕播放器
Stars: ✭ 40 (+66.67%)
Mutual labels:  video-player
subox
Subox是一个基于 Electron 开发的以媒体资源文件为基础的字幕搜索桌面应用。可根据设定的搜索目录和忽略路径索引所有可播放的资源文件,并且以文件名为基础索引字幕文件或者辅助搜索字幕文件并下载。
Stars: ✭ 17 (-29.17%)
Mutual labels:  subtitles
react-awesome-toasts
Toast notifications for react.
Stars: ✭ 64 (+166.67%)
Mutual labels:  accessibility
accessibility-ruleset-runner
eBay Accessibility Ruleset Runner automates 20% of WCAG 2.0 AA recommendations, saving time on manual testing.
Stars: ✭ 24 (+0%)
Mutual labels:  accessibility
TV4Dialog
No description or website provided.
Stars: ✭ 33 (+37.5%)
Mutual labels:  subtitles
mapbox-gl-accessibility
An accessibility control for Mapbox GL JS
Stars: ✭ 64 (+166.67%)
Mutual labels:  accessibility
MetalPlayer
A video player using Metal.
Stars: ✭ 68 (+183.33%)
Mutual labels:  video-player
angular-youtube-player
Simple youtube player created with angular and typescript. See demo.
Stars: ✭ 35 (+45.83%)
Mutual labels:  video-player
sa11y
Sa11y is an accessibility quality assurance tool that visually highlights common accessibility and usability issues. Geared towards content authors, Sa11y straightforwardly identifies errors or warnings at the source with a simple tooltip on how to fix them.
Stars: ✭ 137 (+470.83%)
Mutual labels:  accessibility

subtitle_wrapper_package

Test and (dry-run) publish package

codecov licence

Features

Subtitle playback for the 2 most widely used subtitle formats are supported currently which can be dynamically updated during playback from a url of content string. As well as basic styling of the subtitle text item.

The package is nearly completely unit tested and widget tests are in progress.

Function Description Implemented
Parse WebVTT Parsing of WebVtt subtitles.
Parse SubRip (.srt) Parsing of SubRip subtitles.
Remote loading utf8 encoded subtitles The parsing of subtitle files with the utf8 encoding from an url.
Remote loading latin1 encoded subtitles The parsing of subtitle files with the latin1 encoding from an url.
Dynamic updating of subtitle Update subtitle content during playback.
Standard subtitle styling Standard styling of subtitle items.
Advance subtitle styling Advance styling of subtitle items. Like custom fonts.

Installation

The basic setup of the package is really straight forward, create a instance of SubtitleController with a subtitleUrl or subtitlesContent depending if your resource is remote or local.

Unfortunately currently its required to specify the subtitle type so webvtt or srt .

After this you need to wrap your video player with the SubTitleWrapper and add the SubtitleController and videoPlayerController to the SubTitleWrapper . That's it 🎉

 final SubtitleController subtitleController = SubtitleController(
    subtitleUrl: "https://pastebin.com/raw/ZWWAL7fK",
    subtitleType: SubtitleType.webvtt,
  );
  
 SubtitleWrapper(
       videoPlayerController: videoPlayerController,
       subtitleController: subtitleController,
       subtitleStyle: SubtitleStyle(
         textColor: Colors.white,
         hasBorder: true,
       ),
       videoChild: Chewie(
         controller: chewieController,
       ),
	),

Example

Demonstrates how to use the subtitle_wrapper_package plugin.

See the example documentation for more information.

Changelog

See CHANGELOG.md.

Contributing

Feel free to contribute by opening issues and/or pull requests. Your feedback is very welcome!

License

MIT License

Copyright (c) [2019] [Joran Dob]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].