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