Double-click video to enter fullscreen
This commit is contained in:
@@ -37,6 +37,7 @@ function Player (state, dispatch) {
|
||||
onmousemove=${() => dispatch('videoMouseMoved')}>
|
||||
<video
|
||||
src='${state.server.localURL}'
|
||||
ondblclick=${() => dispatch('toggleFullScreen')}
|
||||
onloadedmetadata=${onLoadedMetadata}
|
||||
autoplay>
|
||||
</video>
|
||||
|
||||
Reference in New Issue
Block a user