Merge pull request #150 from 6ea86b96/reconstructing-message

Add a message for when we're reconstructing a moved/deleted file before playback
This commit is contained in:
Jeremy Kauffman 2017-05-28 11:24:28 -04:00 committed by GitHub
commit 08ba2f49f6

View file

@ -101,7 +101,9 @@ class Video extends React.Component {
let loadStatusMessage = ''
if (isLoading) {
if(fileInfo && fileInfo.completed && !fileInfo.written_bytes) {
loadStatusMessage = "It looks like you deleted or moved this file. We're rebuilding it now. It will only take a few seconds."
} else if (isLoading) {
loadStatusMessage = "Requesting stream... it may sit here for like 15-20 seconds in a really awkward way... we're working on it"
} else if (isDownloading) {
loadStatusMessage = "Downloading stream... not long left now!"