Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #444

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,20 @@ the stale period.
- The constructor now expects a Config object with some settings you were used to, but some are slightly different.
For example the system where you want to store your files is not just a dictionary anymore, but a FileSystem. That way
you have more freedom on where to store your files.

## Issue with Ios Video Play
/// For ios
use this
// 1> fileinfo will provide name of the path in which video is stored in temporary directory
var fileInfo = await kCacheManager
.getFileFromCache("Your url");

// 2> using rename function will change the name of the path
final name = await fileInfo!.file
.rename(fileInfo.file.path.replaceAll(".bin", ".mp4"));

// 3> after that use the name on your link

controller = VideoPlayerController.file(name)

// work like a charm