Merge branch 'release/2.1.0' into develop
This commit is contained in:
commit
818c449b3c
|
@ -255,17 +255,13 @@ menu {
|
|||
@media screen and (max-width: $mobile-view) {
|
||||
.menu-wrapper {
|
||||
width: 100% !important;
|
||||
|
||||
menu {
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.top-menu, .footer {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (hover: none) and (pointer: coarse) {
|
||||
.menu-wrapper {
|
||||
menu {
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -263,6 +263,9 @@ export class PeerTubeEmbed {
|
|||
private async buildDock (videoInfo: VideoDetails, configResponse: Response) {
|
||||
if (!this.controls) return
|
||||
|
||||
// On webtorrent fallback, player may have been disposed
|
||||
if (!this.player.player_) return
|
||||
|
||||
const title = this.title ? videoInfo.name : undefined
|
||||
|
||||
const config: ServerConfig = await configResponse.json()
|
||||
|
|
Loading…
Reference in New Issue