Force internal player for stories.

This commit is contained in:
John Preston 2023-07-21 16:44:28 +04:00
parent 21fa3264e3
commit 0b5c0e3e98

View File

@ -1331,6 +1331,7 @@ bool DocumentData::canBeStreamed(HistoryItem *item) const {
return hasRemoteLocation() return hasRemoteLocation()
&& supportsStreaming() && supportsStreaming()
&& (!isVideoFile() && (!isVideoFile()
|| storyMedia()
|| !ExternalVideoPlayer.value() || !ExternalVideoPlayer.value()
|| (item && !item->allowsForward())); || (item && !item->allowsForward()));
} }