Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show texts to the users when they need to wait #154

Closed
jellegerbrandy opened this issue Oct 17, 2017 · 18 comments
Closed

Show texts to the users when they need to wait #154

jellegerbrandy opened this issue Oct 17, 2017 · 18 comments

Comments

@jellegerbrandy
Copy link
Contributor

(continuing the discussion from #141)
Wrt the thumbnail preview: our player will probably be slower to load than other players out there, because we have to set up the ipfs connections. One idea is to show some text animation in which we explain what paratii is, what the user is waiting for, etc. (A bit like what some software installers do when you have to wait). If this is text only, it can be very low bandwidth.

@jellegerbrandy
Copy link
Contributor Author

@pedrocasa: just on the first time or every time it appears embedded on a website?

@jellegerbrandy
Copy link
Contributor Author

It could work like this: we have a bunch of texts to choose from, independent units each of 1-3 pages, and we choose randomly from those texts every time they need to wait. So they would see something each time they need to wait, but will not see the same texts each time.

@pedrocasa
Copy link
Collaborator

would be like those video game loading pages where it shows a tip or a contextualization about the match?

( not the best example.... just to know if I could understand what you're talking about )
https://www.youtube.com/watch?v=yE8N-97MfPM

@jellegerbrandy
Copy link
Contributor Author

precisely that, yes

@felipegaucho
Copy link
Collaborator

Good reference is what Slack does when loading, for few secs., which is customisable by channel owners. Try refreshing these a few times:
https://aragonone.slack.com
https://swarmcity.slack.com

Some refs (from above):
"To fork or not to fork"
"Syncing the blockchain..."
"While you're reading this, probably a block has been mined. Isn't it awesome?..."
"Cutting out the middlemen..."

Some ideas:
(more fun)
"Assembling an invisible army of autonomous network agents..."
"Just telling nearby nodes to welcome you, and to serve well the illustrious visit..."
"He who serves always benefits more than he who is served.” - Robert Louis Stevenson.
"Warming up for the peer-to-peer orchestra of bits..."
"Please leave oligopolistic feelings at the door before entering..."

(more serious)
"Upload. Choose monetisation model (or not). Share. Collect earnings. Repeat."
"Share your videos with whoever you want. The same goes for your revenue."
"The videos you will see have been rated by our experts. Feel free to be one of our experts."
"Your machine is talking to its neighbours. Try to stay quiet and listen..."

@jellegerbrandy
Copy link
Contributor Author

We could also mxi this with informatino about what is actually happening (although that will take some more work to integrate), I'm thinking of stuff like "looking for other players that have your file", "downloading from 3 peers", stuff like that. We already show some unpolished stuff like "HLS media source attached".

Also, instead of general slogans, we can also explain small things, like "Paratii is a non-profit foudnation dedicated to... ", or perhaps even some basic explanation of p2p or crypto.

@bent0b0x
Copy link
Contributor

bent0b0x commented Nov 3, 2017

A couple of questions:

  1. Is this text overlay/loading screen intended to only mask the view of the individual video being loaded and leave other UI pieces (e.g. sidebar) visible?
  2. Is there a design for this?

@felipegaucho
Copy link
Collaborator

  1. Depends on design. I think the more elegant is to hide everything except for a main UI element (the navbar in the current state; might become just a small circle soon; on other future versions can be something else). Pretty much like slack (below), but can be much more minimal still.

  2. No design yet, @pedrocasa is studying what some apps out there are doing and should have a proposal soon. Meanwhile, stay w/ this witty reference :):

screen shot 2017-11-07 at 11 55 43 am

@pedrocasa
Copy link
Collaborator

pedrocasa commented Nov 20, 2017

I have a similar doubt as Ben, don't know if the other features will be or not available when the message appear

Tell me what u think

capture_01

capture 02

@pedrocasa
Copy link
Collaborator

The three dots work as a buffering animation

@jrgarou
Copy link
Collaborator

jrgarou commented Nov 20, 2017

The loader situation is when there's no content at all, right?

Maybe we need two different loader(because of contrast colors), one to the player and another one to the internals page.

@jellegerbrandy
Copy link
Contributor Author

Actually, we have two places where our users have to wait an more-than-usual amount of time:

  1. On first visit (i.e. the app takes some time to load - cf Optimize load time of player #291
  2. When selecting a video

We are talking about the seond case here, but it would be good to make something that is re-usable also for case 1.

There will be the following steps:

At the present moment, we are using the "STATUS" field here:
image

@pedrocasa
Copy link
Collaborator

@jellegerbrandy just to be clear

Do we need to show the Status download information or is it superfluous? ( number of peers, kbs etc...)

@jellegerbrandy
Copy link
Contributor Author

I personally think it is really important to shwo that info - even if we can make it perhaps a bit less "technical" and more suitable for casual users...

@jellegerbrandy
Copy link
Contributor Author

Copying this from the PR for reference:

Usage

  • Use Session.set('mainLoaderText', 'your text here') to change the loader text
  • Use Session.set('showMainLoader', true) to show the loader
  • Use Session.set('showMainLoader', null) to hide the loader

@jellegerbrandy
Copy link
Contributor Author

We now need to hook it up with the player's events.

@eliawk
Copy link
Collaborator

eliawk commented Dec 1, 2017

@jellegerbrandy so also this depend on the player refactor, ain't?

@jellegerbrandy
Copy link
Contributor Author

In theory yes. But let us just hook it up to the html5 element instead (meaning: close the thing when the video starts playing) - it will be easy to refactor later.

eliawk added a commit that referenced this issue Dec 4, 2017
@eliawk eliawk closed this as completed Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants