Support video files in viewer
This commit is contained in:
@@ -15,7 +15,13 @@
|
||||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
{#if currpage < totpage}<a href="{nexturi}">{/if}<img style="position: absolute; left: 50%; transform: translate(-50%, 0);" src="{image}" />{#if currpage < totpage}</a>{/if}
|
||||
{#if currpage < totpage}<a href="{nexturi}">{/if}
|
||||
{#if image != null}
|
||||
<img style="position: absolute; left: 50%; transform: translate(-50%, 0);" src="{image}" />
|
||||
{#else if video != null}
|
||||
<video src="{video}" controls style="width: 100%"></video>
|
||||
{/if}
|
||||
{#if currpage < totpage}</a>{/if}
|
||||
<hr />
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user