|
|
@ -95,15 +95,20 @@ class _EventVideoPlayerState extends State<EventVideoPlayer> {
|
|
|
|
|
|
|
|
|
|
|
|
final chewieManager = _chewieManager;
|
|
|
|
final chewieManager = _chewieManager;
|
|
|
|
return Material(
|
|
|
|
return Material(
|
|
|
|
|
|
|
|
color: Colors.black,
|
|
|
|
child: SizedBox(
|
|
|
|
child: SizedBox(
|
|
|
|
width: 400,
|
|
|
|
|
|
|
|
height: 300,
|
|
|
|
height: 300,
|
|
|
|
child: chewieManager != null
|
|
|
|
child: chewieManager != null
|
|
|
|
? Center(child: Chewie(controller: chewieManager))
|
|
|
|
? Center(child: Chewie(controller: chewieManager))
|
|
|
|
: Stack(
|
|
|
|
: Stack(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
if (hasThumbnail)
|
|
|
|
if (hasThumbnail)
|
|
|
|
ImageBubble(widget.event)
|
|
|
|
Center(
|
|
|
|
|
|
|
|
child: ImageBubble(
|
|
|
|
|
|
|
|
widget.event,
|
|
|
|
|
|
|
|
tapToView: false,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
)
|
|
|
|
else
|
|
|
|
else
|
|
|
|
BlurHash(hash: blurHash),
|
|
|
|
BlurHash(hash: blurHash),
|
|
|
|
Center(
|
|
|
|
Center(
|
|
|
|