Force internal player for stories.
This commit is contained in:
parent
21fa3264e3
commit
0b5c0e3e98
|
@ -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()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user