API
Table of Contents
class: Plugin
opts(optional, default{})
Extends: PuppeteerExtraPlugin
Fix Chromium not reporting "probably" to codecs like videoEl.canPlayType('video/mp4; codecs="avc1.42E01E"').
(Chromium doesn't support proprietary codecs, only Chrome does)
parseInput(arg)
argString
Input might look funky, we need to normalize it so e.g. whitespace isn't an issue for our spoofing.
Example:
video / webm
codecs = 'vp8, vorbis'
video / mp4
codecs = 'avc1.42E01E'
audio / x - m4a
audio / ogg
codecs = 'vorbis'