Merge pull request #1674 from eouia/develop

allow html5 autoplay
This commit is contained in:
Michael Teeuw 2019-05-17 16:29:48 +02:00 committed by GitHub
commit 8f96e4847c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Update weather city list url [#1676](https://github.com/MichMich/MagicMirror/issues/1676)
### Fixed
- Allowance HTML5 autoplay-policy (policy is changed from Chrome 66 updates)
- Handle SIGTERM messages
- Fixes sliceMultiDayEvents so it respects maximumNumberOfDays

View File

@ -17,6 +17,7 @@ const BrowserWindow = electron.BrowserWindow;
let mainWindow;
function createWindow() {
app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required");
var electronOptionsDefaults = {
width: 800,
height: 600,