Rename to hkt.sh
This commit is contained in:
39
node_modules/puppeteer-extra-plugin-stealth/evasions/media.codecs/readme.md
generated
vendored
Normal file
39
node_modules/puppeteer-extra-plugin-stealth/evasions/media.codecs/readme.md
generated
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
## API
|
||||
|
||||
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
|
||||
|
||||
#### Table of Contents
|
||||
|
||||
- [class: Plugin](#class-plugin)
|
||||
- [parseInput(arg)](#parseinputarg)
|
||||
|
||||
### class: [Plugin](https://github.com/berstend/puppeteer-extra/blob/e6133619b051febed630ada35241664eba59b9fa/packages/puppeteer-extra-plugin-stealth/evasions/media.codecs/index.js#L12-L88)
|
||||
|
||||
- `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)](https://github.com/berstend/puppeteer-extra/blob/e6133619b051febed630ada35241664eba59b9fa/packages/puppeteer-extra-plugin-stealth/evasions/media.codecs/index.js#L33-L51)
|
||||
|
||||
- `arg` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
|
||||
|
||||
Input might look funky, we need to normalize it so e.g. whitespace isn't an issue for our spoofing.
|
||||
|
||||
Example:
|
||||
|
||||
```javascript
|
||||
video / webm
|
||||
codecs = 'vp8, vorbis'
|
||||
video / mp4
|
||||
codecs = 'avc1.42E01E'
|
||||
audio / x - m4a
|
||||
audio / ogg
|
||||
codecs = 'vorbis'
|
||||
```
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user