mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-05 06:09:57 -05:00
Displaying captions on video page.
This commit is contained in:
parent
0315def174
commit
93204a0b2a
3 changed files with 10 additions and 2 deletions
|
|
@ -97,7 +97,13 @@ function VideoPage(props) {
|
|||
</Tab.Pane>
|
||||
}
|
||||
|
||||
let tabPanes = [descriptionPane, statisticsPane];
|
||||
let captionsPane = {
|
||||
menuItem: 'Captions', render: () => <Tab.Pane>
|
||||
<pre>{video.caption}</pre>
|
||||
</Tab.Pane>
|
||||
};
|
||||
|
||||
let tabPanes = [descriptionPane, statisticsPane, captionsPane];
|
||||
|
||||
return (
|
||||
<Container textAlign='left'>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue