Skip to content

Commit

Permalink
Merge pull request #208 from marp-team/chromium-video-workaround
Browse files Browse the repository at this point in the history
Apply workaround for glitched video control on Chromium
  • Loading branch information
yhatt authored Nov 6, 2019
2 parents f9a812f + d600899 commit 5f6f2ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

### Fixed

- Apply workaround for glitched video control on Chromium ([#205](https://github.com/marp-team/marpit/issues/205), [#208](https://github.com/marp-team/marpit/pull/208))

### Changed

- Upgrade Node for development to v12 LTS ([#202](https://github.com/marp-team/marpit/pull/202))
Expand Down
5 changes: 5 additions & 0 deletions src/theme/scaffold.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ h1 {
font-size: 2em;
margin: 0.67em 0;
}
video::-webkit-media-controls {
will-change: transform;
}
`.trim()

/**
Expand All @@ -40,6 +44,7 @@ h1 {
* - Define the default slide size.
* - Set default style for `<section>`.
* - Normalize `<h1>` heading style.
* - Apply workaround for glitched video control on Chromium (https://github.com/marp-team/marpit/issues/205)
*
* @alias module:theme/scaffold
* @type {Theme}
Expand Down

0 comments on commit 5f6f2ad

Please sign in to comment.