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

[Bug] Video player is unusable on ios (firefox and safari) since update to 25 #1681

Closed
JuliaKirschenheuter opened this issue May 26, 2023 · 11 comments · Fixed by #1706, #1763 or #1819
Closed
Assignees
Labels
3. to review Waiting for reviews bug Something isn't working

Comments

@JuliaKirschenheuter
Copy link
Contributor

Describe the bug
Since Nextcloud was upgraded to v.25 video player was unusable on ios (firefox and safari).

There are mainly 4 problems:

  1. Problem: pressing the big triangle (play button) on the center of the video doesn't start the video, only the small triangle on the left works.
  2. Problem: buttons are not aligned
  3. Problem: when pressing full screen button, in portrait mode, the video doesn't goes to full screen as it use to. Only on the top of the page and the controls move to the lower part of the screen.
  4. Problem: when turning the phone into landscape mode, still in "full screen mode" (which is not full screen), the video disappears completely

To Reproduce
Steps to reproduce the behavior:

  1. Open any video via video player
  2. Try to click on "play" button

Expected behavior
It is possible to play, pause and stop a video in portrait mode and landscape mode.

Screenshots
image1

Desktop (please complete the following information):

  • Browser: firefox and safari
  • Version: 25

Smartphone (please complete the following information):

  • Device: iPhone
  • Browser: firefox and safari

Additional context

How i've tried to fix that problems:

  1. Problem: pressing the big triangle (play button) on the center of the video doesn't start the video, only the small triangle on the left works. The reason could be that a play button is located below the PlayControls and can not be pushed.
    Possible solution: bump vue-plyr to version v3.7.8 was done, https://github.com/skjnldsv/vue-plyr/blob/master/package.json#L37

  2. Problem: buttons are not aligned
    Possible solution: bump vue-plyr to version v3.7.8 was done, https://github.com/skjnldsv/vue-plyr/blob/master/package.json#L37

  3. Problem: when pressing full screen button, in portrait mode, the video doesn't goes to full screen as it use to. Only on the top of the page and the controls move to the lower part of the screen.
    Possible solution: bump vue-plyr to version v3.7.8 was done, https://github.com/skjnldsv/vue-plyr/blob/master/package.json#L37. Thought that that case would be fixed by vue-plyr here: https://github.com/sampotts/plyr/releases/tag/v3.7.4

  4. Problem: when turning the phone into landscape mode, still in "full screen mode" (which is not full screen), the video disappears completely.
    Possible solution: could be a problem in public.scss. Deactivation was a wrong idea, styles should be rewritten Fix a height of the landscape format server#37765

Updating vue-plyr to version v3.7.8 haven't helped at all described problems ;(

@skjnldsv could you please look in that problems? Thanks a lot!

@JuliaKirschenheuter JuliaKirschenheuter added bug Something isn't working 0. Needs triage Pending approval or rejection. This issue is pending approval. 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels May 26, 2023
@JuliaKirschenheuter JuliaKirschenheuter self-assigned this Jun 6, 2023
@JuliaKirschenheuter JuliaKirschenheuter added 2. developing Work in progress and removed 1. to develop Accepted and waiting to be taken care of labels Jun 6, 2023
@ChristophWurst ChristophWurst added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jun 6, 2023
@JuliaKirschenheuter
Copy link
Contributor Author

reopening while fullscreen mode was not fixed

@szaimen
Copy link
Contributor

szaimen commented Jun 26, 2023

Can you tick which problems have been addressed already?

@JuliaKirschenheuter
Copy link
Contributor Author

New problems regarding full screen from customer side:

  1. the full screen is not working, it’s just a window that loses all controls (play, pause, get back to windowed mode)
  2. when in full screen, you basically can’t do anything anymore, I just quit the application (firefox or safari) to stop the video.
  3. when turning the phone from portrait to landscape, the video disappear behind the title bar.

I don't have any iOS device ;( I've tested current stable25.0.8 with latest stable25 viewer version in Chrome, Firefox in mobile mode (iPhone12,..) and i can't reproduce 1 and 3 issues. But can reproduce second issue.

@szaimen
Copy link
Contributor

szaimen commented Jun 28, 2023

Thanks!

@JuliaKirschenheuter
Copy link
Contributor Author

@szaimen @skjnldsv are you able to reproduce first and third issues? Could you please test it?

@szaimen
Copy link
Contributor

szaimen commented Jun 28, 2023

I dont have an ios device either :/

@hamza221
Copy link
Contributor

I was able to reproduce on IPhone

@JuliaKirschenheuter
Copy link
Contributor Author

JuliaKirschenheuter commented Jul 13, 2023

@hamza221 unfortunately we have a problem with full screen again ;(
Ivan tested it on iPhone and confirmed that full screen is broken again:

image
image

Failing Cypress tests have to be fixed too

1 failing

  1. See shared folder with link share
    Opens the shared video in the viewer:
    AssertionError: Timed out retrying after 4000ms: expected '<a#downloadFile.button>' to be 'visible'

But actually downloading itself (per download button) has no problems.

If a user click on "download" from action menu, nothing happens (but that could be another problem):

Screenshot from 2023-07-13 17-15-15

@hamza221 could you please have a look again? Thank you!

@st3iny
Copy link
Member

st3iny commented Jul 17, 2023

I tested it again on my iPad (Safari) and the full screen player breaks when activating it in landscape and then switching to portrait (while full screen is still activated). From that point on the player will be broken and the page has to be reloaded. Other than that, I couldn't spot any breakage.

This only happens when viewing a video from a publicly shared link. The viewer in files works flawlessly. Downloading the file works too.

Bildschirmfoto 2023-07-17 um 09 13 39

@hamza221
Copy link
Contributor

I couldn't reproduce the download bug, Download button works at my end

@st3iny
Copy link
Member

st3iny commented Jul 18, 2023

The reported bug is fixed. My repro above is from another bug that is not related.

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