Merge branch 'main' into dependabot/pub/record-6.2.0
This commit is contained in:
commit
df94e28aaf
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class EventVideoPlayerState extends State<EventVideoPlayer> {
|
||||||
|
|
||||||
// Create the VideoPlayerController from the contents of videoFile.
|
// Create the VideoPlayerController from the contents of videoFile.
|
||||||
if (kIsWeb) {
|
if (kIsWeb) {
|
||||||
final blob = html.Blob([videoFile.bytes]);
|
final blob = html.Blob([videoFile.bytes], videoFile.mimeType);
|
||||||
final networkUri = Uri.parse(html.Url.createObjectUrlFromBlob(blob));
|
final networkUri = Uri.parse(html.Url.createObjectUrlFromBlob(blob));
|
||||||
videoPlayerController = VideoPlayerController.networkUrl(networkUri);
|
videoPlayerController = VideoPlayerController.networkUrl(networkUri);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue