forked from forks/ffprobe-wasm
feature: add support for displaying chapters (#15)
* feat: add initial code for reading chapters * feat: add more fields for supporting chapters and chapter tags.
This commit is contained in:
@@ -8,6 +8,15 @@
|
||||
|
||||
<h4>Streams</h4>
|
||||
<b-table striped hover :items="info.streams"></b-table>
|
||||
|
||||
<div v-show="info.chapters.length > 0">
|
||||
<h4>Chapters</h4>
|
||||
<b-table striped hover :items="info.chapters">
|
||||
<template #cell(tags)="data">
|
||||
<b-table-lite small stacked outlined :items="data.item.tags"></b-table-lite>
|
||||
</template>
|
||||
</b-table>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -25,6 +34,7 @@ export default {
|
||||
url: this.info.url,
|
||||
nb_streams: this.info.nb_streams,
|
||||
flags: this.info.flags,
|
||||
nb_chapters: this.info.nb_chapters,
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user