Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ambar committed Jun 24, 2021
1 parent 842c7b2 commit d820f15
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions packages/griffith/README-zh-Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ externals: {
在 webpack 配置中添加如下选项:

```javascript
plugins: [
new webpack.DefinePlugin({
__WITHOUT_HLSJS__: JSON.stringify(true),
}),
],
resolve: {
alias: {
'griffith-hls': false,
},
},
```

注意:在这种情况下,如果试图播放 M3U8 视频,会发出错误警告。
Expand Down
10 changes: 5 additions & 5 deletions packages/griffith/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ If you are sure that you will not support M3U8 video, you may not use hls.js.
Add the following options to your webpack configuration:

```js
plugins: [
new webpack.DefinePlugin({
__WITHOUT_HLSJS__: JSON.stringify(true),
}),
],
resolve: {
alias: {
'griffith-hls': false,
},
},
```

Note: In this case, an error warning is issued if an attempt is made to play an M3U8 video.
Expand Down
10 changes: 5 additions & 5 deletions website/md/build-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ If you are sure that you will not support M3U8 video, you may not use hls.js.
Add the following options to your webpack configuration:

```js
plugins: [
new webpack.DefinePlugin({
__WITHOUT_HLSJS__: JSON.stringify(true),
}),
],
resolve: {
alias: {
'griffith-hls': false,
},
},
```

Note: In this case, an error warning is issued if an attempt is made to play an M3U8 video.

0 comments on commit d820f15

Please sign in to comment.