diff --git a/app/lib/features/artifacts/ui/artifact_video_player.dart b/app/lib/features/artifacts/ui/artifact_video_player.dart index b679430d..6782013b 100644 --- a/app/lib/features/artifacts/ui/artifact_video_player.dart +++ b/app/lib/features/artifacts/ui/artifact_video_player.dart @@ -1,12 +1,21 @@ import 'package:flutter/material.dart'; import 'package:video_player/video_player.dart'; +import '../../../core/session/server_session.dart'; + /// Creates the player for one media url; tests inject a fake controller. typedef ArtifactVideoControllerFactory = VideoPlayerController Function(Uri uri); +/// The native players request the media themselves, outside the app's own +/// fetch, so they carry the same sign-in the app's file fetches send (the web +/// login's session cookie for a trusted server). A browser's `