Merge pull request #7530 from viown/add-title-to-experimental-layout-video
Add video title to experimental layout
This commit is contained in:
@@ -192,6 +192,7 @@ export default function (view) {
|
||||
if (!item) {
|
||||
updateRecordingButton(null);
|
||||
LibraryMenu.setTitle('');
|
||||
Events.trigger(document, EventType.VIDEO_TITLE_CHANGE, [ '' ]);
|
||||
nowPlayingVolumeSlider.disabled = true;
|
||||
nowPlayingPositionSlider.disabled = true;
|
||||
btnFastForward.disabled = true;
|
||||
@@ -261,6 +262,7 @@ export default function (view) {
|
||||
}
|
||||
|
||||
LibraryMenu.setTitle(title);
|
||||
Events.trigger(document, EventType.VIDEO_TITLE_CHANGE, [ title ]);
|
||||
|
||||
const documentTitle = parentName || (item ? item.Name : null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user