2021-07-02 00:56:29 +00:00
|
|
|
<body>
|
|
|
|
<div id="div">
|
|
|
|
WebView
|
|
|
|
</div>
|
2022-06-07 16:59:50 +00:00
|
|
|
<video></video>
|
2021-07-02 00:56:29 +00:00
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
|
|
const {ipcRenderer} = require('electron')
|
|
|
|
ipcRenderer.send('webview-ready')
|
|
|
|
document.addEventListener('fullscreenchange', () => {
|
|
|
|
ipcRenderer.send('webview-fullscreenchange')
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</body>
|