Skip to content
Merged
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
2 changes: 1 addition & 1 deletion lib/src/cached_video_player_plus.dart
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class CachedVideoPlayerPlus {
/// Caching is only supported for network data sources. Asset, file, and
/// contentUri data sources always return false.
bool get _shouldUseCache {
return dataSourceType == DataSourceType.network && !skipCache;
return dataSourceType == DataSourceType.network && !kIsWeb && !skipCache;
}

/// Initializes the video player and sets up caching if applicable.
Expand Down