flowplayer / flowplayer-viewport-autoplay

Plugin to start playback when visible in viewport
MIT License
0 stars 2 forks source link

Plugin should be explicitly enabled #10

Closed phloxic closed 7 years ago

phloxic commented 7 years ago

Consider the following scenario:

It's entirely possible and letigimate for both players to be in the same viewport, and it is not necessarily desired or illitigimate that the background video should pause while it's not in the viewport.

  1. this is too much magic - see also #4
  2. except for engine plugins, afair all plugins must be explicitly enabled

It's not an additional core option, it's a plugin option, so we don't have to be utterly miserly with an option at the cost of confusion.

After that we can re-enable splash setups for this, and let the user decide whether the potenial forced unloading etc. is desired or not.