Don't stream videos when external player is used
External player feature doesn't work otherwise
This commit is contained in:
parent
f749647567
commit
b0ce88395f
|
@ -1320,8 +1320,11 @@ bool DocumentData::useStreamingLoader() const {
|
|||
}
|
||||
|
||||
bool DocumentData::canBeStreamed() const {
|
||||
// For now video messages are not streamed.
|
||||
return hasRemoteLocation() && supportsStreaming();
|
||||
// Streaming couldn't be used with external player
|
||||
// Maybe someone brave will implement this once upon a time...
|
||||
return hasRemoteLocation()
|
||||
&& supportsStreaming()
|
||||
&& (!cUseExternalVideoPlayer() || !isVideoFile());
|
||||
}
|
||||
|
||||
void DocumentData::setInappPlaybackFailed() {
|
||||
|
|
Loading…
Reference in New Issue