showVideoOnly method
Implementation
Future<void> showVideoOnly({
required String videoUrl,
required String minVideoUrl,
required String userName,
required String companyTitle,
String? avatarUrl,
Function? onExpand,
Function? onVideoEnd,
Function? onSkip,
}) async {
return showVideoAsset(
videoAsset: videoUrl,
userName: userName,
companyTitle: companyTitle,
avatarUrl: avatarUrl,
animateOnVideoEnd: true,
onVideoEndAction: () {
_overlayHelper.popHelper();
if (onVideoEnd != null) {
onVideoEnd();
}
},
onSkip: onSkip,
onClose: onVideoEnd,
onExpand: onExpand,
);
}