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

Playing videos from offline storage #28

Closed
jwold opened this issue Feb 8, 2021 · 3 comments
Closed

Playing videos from offline storage #28

jwold opened this issue Feb 8, 2021 · 3 comments

Comments

@jwold
Copy link

jwold commented Feb 8, 2021

Feature description

As a user, I should be able to play video back from offline storage.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  1. For playing itself the experience should be the same as for the online mode.

Notes

In the application its quite involved in implementation, but as a process for user its straightforward.

Implementation brief

QA testing instructions

Demo

Changelog entry

@jwold jwold added enhancement New feature or request WS: Offline Phase: 1 and removed enhancement New feature or request labels Feb 8, 2021
@dero
Copy link
Collaborator

dero commented Mar 1, 2021

@jwold This is now implemented and merged to develop.

  • Videos are stored in IndexedDB in two separate object stores: meta and data.
  • The meta store holds meta information about the video and the download progress.
  • The data store holds the actual video data chunks.

Relevant module: https://github.com/xwp/web-dev-media/blob/develop/src/js/modules/IDBConnection.module.js

@kkalarickal
Copy link

Scenario:
Given the end user has downloaded videos for offline storage
When she goes offline by cutting the internet connection
Then she is able to click the Play button built into the video player
And view the video along with all its features (subtitle, start, pause, stop)

Status:

Verified this on KINO Staging Site via Google Chrome
PASSED basic start/stop/pause actions in offline mode and after breaking network connection
FAILED fast forward action in offline mode (#93)

Also file #94 for related issue with incorrect status during physical network connection breakage.

This ticket is NOT verified in QA for phase 1 of the application.

@kkalarickal
Copy link

After verifying #93 the basic functionality on this ticket is verified.

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

4 participants