-
-
Save JJ-8/bc3943c30cf4cdc45e29dff7567f8677 to your computer and use it in GitHub Desktop.
Electron Youtube iframe segementation fault
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<iframe src="https://www.youtube.com/embed/L_LUpnjgPso"></iframe> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {app, BrowserWindow} = require('electron') | |
app.whenReady().then(() => { | |
// Code for collecting minidump: | |
// const { crashReporter } = require('electron') | |
// console.log(app.getPath('crashDumps')) | |
// crashReporter.start({ submitURL: '', uploadToServer: false }) | |
const mainWindow = new BrowserWindow() | |
mainWindow.loadFile('index.html') | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "iframe-segfault-electronjs", | |
"productName": "iframe-segfault-electronjs", | |
"description": "My Electron application description", | |
"keywords": [], | |
"main": "./main.js", | |
"version": "1.0.0", | |
"author": "JJ-8", | |
"scripts": { | |
"start": "electron ." | |
}, | |
"dependencies": {}, | |
"devDependencies": { | |
"electron": "16.0.5" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment