mirror of https://github.com/electron/electron
14 lines
333 B
HTML
14 lines
333 B
HTML
<body>
|
|
<div id="div">
|
|
WebView
|
|
</div>
|
|
<video></video>
|
|
<script type="text/javascript" charset="utf-8">
|
|
const {ipcRenderer} = require('electron')
|
|
ipcRenderer.send('webview-ready')
|
|
document.addEventListener('fullscreenchange', () => {
|
|
ipcRenderer.send('webview-fullscreenchange')
|
|
})
|
|
</script>
|
|
</body>
|