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.

Controls are not showing when calling .toggleControls(true)

See original GitHub issue

Steps to reproduce

  • Go to https://plyr.io/
  • Play the video
  • Type player.toggleControls(true) into the console

Expected behaviour

Controls are shown when I call player.toggleControls(true).

Actual behaviour

Nothing happens when I call player.toggleControls(true).

Environment

  • Browser: Chrome
  • Version: 65
  • Operating System: macOS
  • Version: 10.12.6

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fridaycommented, Apr 27, 2018

Sorry. I should have been more clear. The other issue relates to this, but I never actually tested toggleControls() with my commit. I had a look at it now, and it didn’t fix things. The logic in toggleControls needs to be rewritten to be used externally. Many conditions and things don’t add up.

0reactions
fridaycommented, May 26, 2018

Fixed in v3.3.8

Read more comments on GitHub >

github_iconTop Results From Across the Web

angular - Toggle does not show data as intended when clicked
I've been trying to display a list of data from the server using a toggle. During the first load, the data will only...
Read more >
Toggle Buttons - Android Developers
A toggle button allows the user to change a setting between two states. You can add a basic toggle button to your layout...
Read more >
Collapse - Bootstrap
Collapse. Toggle the visibility of content across your project with a few classes and our JavaScript plugins. How it works. The collapse JavaScript...
Read more >
.toggle() | jQuery API Documentation
Type: Function(). A function to call once the animation is complete, called once per matched element. ... Use true to show the element...
Read more >
Power button ends call - Android Accessibility Help
Open your device's Settings app . Tap Accessibility. Turn on Power button ends call.
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