Skip to content
Open
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is example code how to implement this package.
### Get Remote Video Image Preview extracting metadata in web pages
``` Dart

CachedVideoPreview(
CachedVideoPreviewWidget(
path: 'https://www.youtube.com/watch?v=b_sQ9bMltGU',
type: SourceType.remote,
remoteImageBuilder: (BuildContext context, url) =>
Expand All @@ -20,7 +20,7 @@ CachedVideoPreview(
### Get Remote Video Image Preview from video url
``` Dart

CachedVideoPreview(
CachedVideoPreviewWidget(
path: 'https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4',
type: SourceType.remote,
httpHeaders: const <String, String>{},
Expand All @@ -33,7 +33,7 @@ CachedVideoPreview(
``` Dart
final File video = File('video.mp4');

CachedVideoPreview(
CachedVideoPreviewWidget(
path: video.path,
type: SourceType.local,
fileImageBuilder: (context, bytes) =>
Expand Down