mirror of https://github.com/Chocobozzz/PeerTube
Merge branch 'release/2.1.0' into develop
commit
818c449b3c
|
@ -255,17 +255,13 @@ menu {
|
||||||
@media screen and (max-width: $mobile-view) {
|
@media screen and (max-width: $mobile-view) {
|
||||||
.menu-wrapper {
|
.menu-wrapper {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
|
|
||||||
|
menu {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-menu, .footer {
|
.top-menu, .footer {
|
||||||
width: 100% !important;
|
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) {
|
private async buildDock (videoInfo: VideoDetails, configResponse: Response) {
|
||||||
if (!this.controls) return
|
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 title = this.title ? videoInfo.name : undefined
|
||||||
|
|
||||||
const config: ServerConfig = await configResponse.json()
|
const config: ServerConfig = await configResponse.json()
|
||||||
|
|
Loading…
Reference in New Issue