diff --git a/CHANGELOG.md b/CHANGELOG.md index 4926c83c..9184fb0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.21.1](https://github.com/zhihu/griffith/compare/v1.21.0...v1.21.1) (2021-10-15) + + +### Bug Fixes + +* 隐藏移动端原生控件后,需添加自定义 loading ([2b70b23](https://github.com/zhihu/griffith/commit/2b70b23)) + + + + + # [1.21.0](https://github.com/zhihu/griffith/compare/v1.20.0...v1.21.0) (2021-10-13) diff --git a/example/CHANGELOG.md b/example/CHANGELOG.md index 7a6931eb..994246d4 100644 --- a/example/CHANGELOG.md +++ b/example/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.21.1](https://github.com/zhihu/griffith/compare/v1.21.0...v1.21.1) (2021-10-15) + +**Note:** Version bump only for package example + + + + + # [1.21.0](https://github.com/zhihu/griffith/compare/v1.20.0...v1.21.0) (2021-10-13) **Note:** Version bump only for package example diff --git a/example/package.json b/example/package.json index 6c2c1d22..fa4dc74c 100644 --- a/example/package.json +++ b/example/package.json @@ -1,6 +1,6 @@ { "name": "example", - "version": "1.21.0", + "version": "1.21.1", "private": true, "scripts": { "build": "vite build", @@ -8,7 +8,7 @@ }, "dependencies": { "@types/react-router-dom": "^5.1.8", - "griffith": "^1.21.0", + "griffith": "^1.21.1", "react": "^16.8", "react-dom": "^16.8", "react-router-dom": "^5.3.0" diff --git a/lerna.json b/lerna.json index bb4505fc..7f0ad6de 100644 --- a/lerna.json +++ b/lerna.json @@ -4,7 +4,7 @@ "example", "website" ], - "version": "1.21.0", + "version": "1.21.1", "conventionalCommits": true, "npmClient": "yarn", "useWorkspaces": true diff --git a/packages/griffith-standalone/CHANGELOG.md b/packages/griffith-standalone/CHANGELOG.md index e75f11c9..99746d2f 100644 --- a/packages/griffith-standalone/CHANGELOG.md +++ b/packages/griffith-standalone/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.21.1](https://github.com/zhihu/griffith/compare/v1.21.0...v1.21.1) (2021-10-15) + +**Note:** Version bump only for package griffith-standalone + + + + + # [1.21.0](https://github.com/zhihu/griffith/compare/v1.20.0...v1.21.0) (2021-10-13) **Note:** Version bump only for package griffith-standalone diff --git a/packages/griffith-standalone/package.json b/packages/griffith-standalone/package.json index ae926aa5..5e8b54f9 100644 --- a/packages/griffith-standalone/package.json +++ b/packages/griffith-standalone/package.json @@ -1,6 +1,6 @@ { "name": "griffith-standalone", - "version": "1.21.0", + "version": "1.21.1", "description": "Zhihu Video Player", "homepage": "https://github.com/zhihu/griffith/tree/master/packages/griffith-standalone", "license": "MIT", @@ -16,7 +16,7 @@ }, "devDependencies": { "@types/react-dom": "^17.0.9", - "griffith": "^1.21.0", + "griffith": "^1.21.1", "react": "^16.8", "react-dom": "^16.8" } diff --git a/packages/griffith/CHANGELOG.md b/packages/griffith/CHANGELOG.md index bbfd3510..268db16a 100644 --- a/packages/griffith/CHANGELOG.md +++ b/packages/griffith/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.21.1](https://github.com/zhihu/griffith/compare/v1.21.0...v1.21.1) (2021-10-15) + + +### Bug Fixes + +* 隐藏移动端原生控件后,需添加自定义 loading ([2b70b23](https://github.com/zhihu/griffith/commit/2b70b23)) + + + + + # [1.21.0](https://github.com/zhihu/griffith/compare/v1.20.0...v1.21.0) (2021-10-13) diff --git a/packages/griffith/package.json b/packages/griffith/package.json index 06bf0ca1..d860f762 100644 --- a/packages/griffith/package.json +++ b/packages/griffith/package.json @@ -1,6 +1,6 @@ { "name": "griffith", - "version": "1.21.0", + "version": "1.21.1", "description": "Zhihu Video Player", "homepage": "https://github.com/zhihu/griffith/tree/master/packages/griffith", "license": "MIT", diff --git a/packages/griffith/src/components/Player.tsx b/packages/griffith/src/components/Player.tsx index 4c38988d..7f2d9f10 100644 --- a/packages/griffith/src/components/Player.tsx +++ b/packages/griffith/src/components/Player.tsx @@ -624,6 +624,11 @@ class InnerPlayer extends Component { useAutoQuality={useAutoQuality} /> + {hideMobileControls && isPlaybackStarted && isLoading && ( +
+ +
+ )} {!hideCover && (