diff options
Diffstat (limited to 'server/src/routes/ui/player.rs')
-rw-r--r-- | server/src/routes/ui/player.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/routes/ui/player.rs b/server/src/routes/ui/player.rs index ca3ce14..050a164 100644 --- a/server/src/routes/ui/player.rs +++ b/server/src/routes/ui/player.rs @@ -51,6 +51,7 @@ pub fn r_player( Ok(LayoutPage { title: item.info.title.to_owned(), + class: Some("player"), content: markup::new! { video[src=stream_uri(&item.lib_path, &tracks, true), controls]; }, @@ -109,5 +110,6 @@ pub fn player_conf<'a>(item: Arc<Item>) -> MyResult<DynLayoutPage<'a>> { input[type="submit", value="Start playback"]; } }, + ..Default::default() }) } |