Skip to content

Commit

Permalink
package name changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak Parajuli committed Dec 13, 2024
1 parent b8dff13 commit 77bbf1b
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 21 deletions.
41 changes: 27 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,26 @@
<img src="https://raw.githubusercontent.com/jhomlala/betterplayer/master/media/logo.png">
</p>

# Better Player
[![pub package](https://img.shields.io/pub/v/better_player.svg)](https://pub.dartlang.org/packages/better_player)
# Better Player (Fixed Version)

[![pub package](https://img.shields.io/pub/v/better_player_fixed.svg)](https://pub.dartlang.org/packages/better_player_fixed)
[![pub package](https://img.shields.io/github/license/jhomlala/betterplayer.svg?style=flat)](https://github.com/jhomlala/betterplayer)
[![pub package](https://img.shields.io/badge/platform-flutter-blue.svg)](https://github.com/jhomlala/betterplayer)

Advanced video player. It solves many typical use cases and it's easy to run.
This is a **fixed version** of the original [Better Player](https://pub.dev/packages/better_player) package, created because the original developer is currently inactive. The package addresses issues such as deprecated Flutter functions and other maintenance updates.

## Original Author:

- [jhomlala](https://github.com/jhomlala)

## Changes:

- Replaced deprecated `hashValues` with `Object.hash` (Flutter 3.27.0).
- Maintained all original functionality.

This package is an enhancement of the original Better Player package, but all credits go to the original author for creating the base package.

Feel free to contribute if the original package becomes active again!

<table>
<tr>
Expand Down Expand Up @@ -67,7 +81,8 @@ Advanced video player. It solves many typical use cases and it's easy to run.
</table>

## Introduction
This plugin is based on [Chewie](https://github.com/brianegan/chewie). Chewie is awesome plugin and works well in many cases. Better Player is a continuation of ideas introduced in Chewie. Better player fix common bugs, adds more configuration options and solves typical use cases.

This plugin is based on [Chewie](https://github.com/brianegan/chewie). Chewie is awesome plugin and works well in many cases. Better Player is a continuation of ideas introduced in Chewie. Better player fix common bugs, adds more configuration options and solves typical use cases.

**Features:**
✔️ Fixed common bugs
Expand All @@ -80,23 +95,21 @@ This plugin is based on [Chewie](https://github.com/brianegan/chewie). Chewie is
✔️ BoxFit of video support
✔️ Playback speed support
✔️ HLS support (track, subtitles (also segmented), audio track selection)
✔️ DASH support (track, subtitles, audio track selection)
✔️ DASH support (track, subtitles, audio track selection)
✔️ Alternative resolution support
✔️ Cache support
✔️ Notifications support
✔️ Picture in Picture support
✔️ DRM support (token, Widevine, FairPlay EZDRM).
✔️ ... and much more!

✔️ Picture in Picture support
✔️ DRM support (token, Widevine, FairPlay EZDRM).
✔️ ... and much more!

## Documentation
* [Official documentation](https://jhomlala.github.io/betterplayer/)
* [Example application](https://github.com/jhomlala/betterplayer/tree/master/example)
* [API reference](https://pub.dev/documentation/better_player/latest/better_player/better_player-library.html)

- [Official documentation](https://jhomlala.github.io/betterplayer/)
- [Example application](https://github.com/jhomlala/betterplayer/tree/master/example)
- [API reference](https://pub.dev/documentation/better_player/latest/better_player/better_player-library.html)

## Important information

This plugin development is in progress. You may encounter breaking changes each version. This plugin is developed part-time for free. If you need
some feature which is supported by other players available in pub dev, then feel free to create PR. All valuable contributions are welcome!


1 change: 1 addition & 0 deletions example/ios/Flutter/Debug.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
1 change: 1 addition & 0 deletions example/ios/Flutter/Release.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
8 changes: 4 additions & 4 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: example
description: "Example to showcase use cases of Better Player."
publish_to: 'none'
publish_to: "none"
version: 1.0.0+1
environment:
sdk: '>=3.4.1 <4.0.0'
sdk: ">=3.4.1 <4.0.0"

dependencies:
better_player:
better_player_enhanced:
path: ../
flutter:
sdk: flutter
Expand All @@ -23,4 +23,4 @@ dev_dependencies:
flutter:
assets:
- assets/
uses-material-design: true
uses-material-design: true
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: better_player
name: better_player_enhanced
description: Advanced video player. It solves many typical use cases and it's easy to run.
version: 0.0.84
homepage: https://github.com/jhomlala/betterplayer
version: 0.0.1
homepage: https://github.com/kingace2056/betterplayer
documentation: https://jhomlala.github.io/betterplayer/

environment:
Expand Down

0 comments on commit 77bbf1b

Please sign in to comment.