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

When user device is physically offline, the downloaded videos stop playing when fast forwarded. #93

Closed
kkalarickal opened this issue Mar 12, 2021 · 1 comment · Fixed by #95
Assignees
Labels
bug Something isn't working

Comments

@kkalarickal
Copy link

Bug Description

Scenario: User downloads a video for offline viewing, then physically shuts off WiFi & Data connection or goes into Airplane mode. Now, without internet, when the user tries to play the downloaded video, the player starts from the beginning. However, if the user fast forwards by clicking on the timeline, the video starts from the new point, but within a few seconds it stops playing and stalls.

Expected Behaviour

The video player should be able to function with the same controls in offline mode as it does when online. So the user should be able to fast forward and continue viewing the video.

Steps to reproduce

  1. Go to KINO Staging Site on Google Chrome
  2. Download one of the videos for offline viewing.
  3. Now break the internet connection to the device by switching off WiFi or going into Airplane mode without data connection
  4. Play the downloaded video
  5. You will notice that the progress bar increments normally, with some amount of prefetching like behavior seen
  6. Next fast forward by clicking the progress bar ahead of the current time and beyond the bufferend amount
  7. The video jumps to the new time point, plays for some time and then stops when the progress bar reaches end of prefetched data.

Screenshots

  1. Downloaded file for offline viewing followed by breaking internet connectivity to the machine
    image

  2. Start playing the downloaded video while internet is cut -- NOTICE that the video button shows || indicating play
    image

  3. Click forward, and wait for a bit. The video stops playing - NOTICE that the play button is > indicating pause/stall
    image

Additional context

  • Project version: da8ec7d
  • Node version: n.a.
  • OS: Win10
  • Browser: chrome
  • Device: Galaxy S III

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

Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry

@kkalarickal
Copy link
Author

Verified on https://web-dev-media.web.app/ using the instructions in the bug description.

Confirmed that the fast forward, start/pause/restart/stop etc user functions yield a smooth experience.
Confirmed that there is no more network requests from SW for video content in cloud after going to offline mode

Closing this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant