Add support for 1080p/4K/8K and add audio
This commit is contained in:
parent
fa64b3c1ce
commit
4941fbb853
1 changed files with 1 additions and 30 deletions
|
@ -82,7 +82,7 @@ let ViewsFormat = ViewsConversion.format(Views);
|
|||
<div class="comment">
|
||||
<img
|
||||
src={
|
||||
DEFAULT_IMAGE_PROXY + "/" + comment.authorThumbnails[1].url
|
||||
DEFAULT_IMAGE_PROXY + "/" + comment.authorThumbnails[0].url
|
||||
}
|
||||
/>
|
||||
<div>
|
||||
|
@ -116,35 +116,6 @@ let ViewsFormat = ViewsConversion.format(Views);
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Dialog
|
||||
Title="Download"
|
||||
Description="Choose a download method"
|
||||
Closable
|
||||
CloseOnclick="DownloadDialogHide()"
|
||||
>
|
||||
<p>Video</p>
|
||||
<div class="dialog-downloads-list">
|
||||
<a href={video.formatStreams[1].url} download={video.title + '.mp4'} target="_blank">Download</a>
|
||||
</div>
|
||||
<p>Audio Only</p>
|
||||
<div class="dialog-downloads-list">
|
||||
<a href={video.adaptiveFormats[1].url} download={video.title + '.mp3'} target="_blank">Download</a>
|
||||
</div>
|
||||
</Dialog>
|
||||
<Dialog
|
||||
Title="Share"
|
||||
Description="Choose a share method"
|
||||
Closable
|
||||
CloseOnclick="ShareDialogHide()"
|
||||
>
|
||||
<div class="dialog-downloads-list">
|
||||
<a href={'https://mastodonshare.com/?url=' + SERVER_DOMAIN + '/watch?q=' + video.videoId} target="_blank">Mastodon</a>
|
||||
<a href={'https://share.minpluto.org/?url' + SERVER_DOMAIN + '/watch?q=' + video.videoId} target="_blank">Misskey</a>
|
||||
<a href={'https://share.minpluto.org/?url' + SERVER_DOMAIN + '/watch?q=' + video.videoId} target="_blank">Firefish</a>
|
||||
<a href={'https://share.minpluto.org/?url' + SERVER_DOMAIN + '/watch?q=' + video.videoId} target="_blank">Elk</a>
|
||||
<a href={'https://share.minpluto.org/?url' + SERVER_DOMAIN + '/watch?q=' + video.videoId} target="_blank">Lemmy</a>
|
||||
</div>
|
||||
</Dialog>
|
||||
</Base>
|
||||
|
||||
<script is:inline>
|
||||
|
|
Reference in a new issue