question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vimeo player controls vanish permanently soon after they first hide

See original GitHub issue

Expected Behavior

Vimeo player should always show the player controls (including whichever controls the Vimeo account has active: play/pause, fullscreen, bar, etc) whenever the user taps on the video.

Actual Behavior

  1. The player loads.
  2. The controls get automatically hidden after a few seconds as they typically would.
  3. Tapping on the video does not revive the controls.
  4. The fullscreen button never shows even though the width is bigger than 375px (so it should not be in mini or micro modes).

Steps to Reproduce

Load the player in a webkit browser on Android. This issue does not exist on iOS - only on Android.

Also, tried it with iframe instead of the div with the same results.

Using:

import Player from ‘@vimeo/player’; … const options = { id: this.videoId, width: window.innerWidth * 0.96, }; const player = new Player( this.el.nativeElement, options ); … <div data-vimeo-autoplay="false" data-vimeo-playsinline="false" data-video-id="#########" data-vimeo-initialized="true"></div> Where ######### was an actual video id.

============== WHEN FIRST CLICKING PLAY

[Deprecation] ‘HTMLVideoElement.webkitSupportsFullscreen’ is deprecated. Please use ‘Document.fullscreenEnabled’ instead. videoEnabled @ player.js:2 [Deprecation] ‘HTMLVideoElement.webkitEnterFullscreen()’ is deprecated. Please use ‘Element.requestFullscreen()’ instead. i @ player.js:2 [Deprecation] ‘HTMLVideoElement.webkitDisplayingFullscreen’ is deprecated. Please use ‘Document.fullscreenElement’ instead. get @ player.js:2 C @ player.js:2 R @ player.js:2 sentryWrapped @ sentry.min.js:2

============== WHEN FIRST LOADING

Additionally, there are these errors when the player first loads, although it doesn’t prevent the player or the controls (besides fullscreen) from loading, so I suspect is unrelated:

Related to: https://github.com/vimeo/player.js/issues/98

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
luwescommented, Jul 11, 2019

Thanks for your feedback @zeusstl, we will look into this issue.

0reactions
victorkifercommented, Mar 24, 2021

same issue (Android)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Customize the video player – Help Center - Vimeo
You have the choice to show or hide your profile picture, title, and/or byline when the embedded or unlisted video first loads. After...
Read more >
How to Hide Vimeo Controls When Embedding Onto a Website
In this video on how to hide Vimeo controls when embedding onto a website I walk through all the steps and options you...
Read more >
Hiding the vimeo player's sidedock - Stack Overflow
According to this Answer , you will need a Plus or Pro account do hide the side dock.
Read more >
Player.vimeo.com Took too Long to Respond [Chrome, Firefox]
1. Fix Vimeo issues on Firefox · Click on the Menu button – the three horizontal lines referred to as the hamburger icon...
Read more >
How to Fix Vimeo Videos Not Playing on Chrome and Firefox?
Part 2: Solutions for The Vimeo Videos Not Playing Problems on Chrome · 1. Open a run window by pressing Win + R....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found