Page MenuHomePhabricator

Time per frame and play/pause feature
Closed, ResolvedPublic

Description

Speed

Change the story viewer playing speed to be 6 seconds per frame.

Play/pause

On mobile, tap (touchstart) and hold to pause the story, release (touchend) to resume playing.

On desktop, click to pause, click again to resume.

Event Timeline

How long do you want each frame to last, in milliseconds?

pause the transition from one story page to another when users tap and hold on the screen

Is it click and hold the mouse on desktop?

pause the transition from one story page to another when users tap and hold on the screen

Is it click and hold the mouse on desktop?

For desktop, can we do click to play and pause?

How long do you want each frame to last, in milliseconds?

What are we using currently? Is it possible to make it dynamic? e.g. move from one page to another based on amount of text available on the page

How long do you want each frame to last, in milliseconds?

What are we using currently? Is it possible to make it dynamic? e.g. move from one page to another based on amount of text available on the page

We're using 2 seconds now. We can try something based on the amount of text if you want to propose a formula but I doubt it would work well across languages as information density and reading speed can differ quite a bit.

How long do you want each frame to last, in milliseconds?

What are we using currently? Is it possible to make it dynamic? e.g. move from one page to another based on amount of text available on the page

We're using 2 seconds now. We can try something based on the amount of text if you want to propose a formula but I doubt it would work well across languages as information density and reading speed can differ quite a bit.

Thanks for sharing, I'd propose to go with 7-10 seconds assuming situations when there could be lot of text to process and it won't restrict users as they can always tap to advance faster, or long-press to pause the advancement.

I selected a long sentence and it looked fine but there could be other places where it could felt slow so for now let's go with 6 seconds.

SBisson renamed this task from Speed of story pages during consumption to Time per frame and play/pause feature.Nov 23 2021, 1:46 PM
SBisson updated the task description. (Show Details)
SBisson moved this task from Definition to Ready for Dev on the Inuka-Team (Kanban) board.

The story viewer playing speed is 6 seconds per frame, on mobile/desktop

Screen Shot 2021-12-10 at 3.20.10 PM.png (1×1 px, 1 MB)

@eamedina I was able to press start, but pause didn't work, where is the pause button? Like the screen below is after I click start, where is the pause button?
Screen Shot 2021-12-10 at 4.32.57 PM.png (1×1 px, 1 MB)

Hello @imaigwilo, actually there is no pause button. How to pause depends on whether you are on mobile or desktop, the behavior is specified as:

On mobile, tap (anywhere on the screen) and hold to pause the story, release to resume playing.
On desktop, click to pause, click again to resume.

Thanks @eamedina. Below is my iphone X unfortunately my phone doesn't have a visible button. However when I tap anywhere on the phone screen the story playback did not pause.

Screen Shot 2021-12-13 at 11.08.58 AM.png (1×726 px, 1 MB)

the story playback did not pause.

@imaigwilo okay great, thanks for checking. So just to confirm, when you tap and hold on mobile, does the story pause on your phone? You should not notice a pause if you only tap, but it should pause if you tap and keep you finger on screen.

@eamedina Oh my goodness 😂it works when I tap and keep my finger on the screen!! Thanks.
Just as an observation that was not intuitive for me, I thought a tap on the screen will pause the playback. Then a re- tap will continue the playback.

Oh okay great! Glad it's working, it's good to make a note of your observation then

Work on the prototype is finished.