Skip to content

Commit

Permalink
fix: add all missing video plugins for WebKit (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov authored Jul 31, 2020
1 parent 50b6389 commit e81effd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1193,8 +1193,8 @@ async function run() {
...deps.webkit
]);
// - `ffmpeg`: For video playback in Firefox
// - `gstreamer1.0-plugins-good`: For video playback in WebKit
await exec('sudo', ['apt-get', 'install', 'ffmpeg', 'gstreamer1.0-plugins-good']);
// - `gstreamer1.0-plugins-{base,good,bad}`: For video playback in WebKit
await exec('sudo', ['apt-get', 'install', 'ffmpeg', 'gstreamer1.0-plugins-good', 'gstreamer1.0-plugins-bad', 'gstreamer1.0-plugins-base']);
// For headful execution
await exec('sudo', ['apt-get', 'install', 'xvfb'])
}
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ async function run() {
...deps.webkit
]);
// - `ffmpeg`: For video playback in Firefox
// - `gstreamer1.0-plugins-good`: For video playback in WebKit
await exec('sudo', ['apt-get', 'install', 'ffmpeg', 'gstreamer1.0-plugins-good']);
// - `gstreamer1.0-plugins-{base,good,bad}`: For video playback in WebKit
await exec('sudo', ['apt-get', 'install', 'ffmpeg', 'gstreamer1.0-plugins-good', 'gstreamer1.0-plugins-bad', 'gstreamer1.0-plugins-base']);
// For headful execution
await exec('sudo', ['apt-get', 'install', 'xvfb'])
}
Expand Down

0 comments on commit e81effd

Please sign in to comment.