Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

feat: add supports for preview audio and video file in attachment detail #841

Merged
merged 4 commits into from
Feb 17, 2023

Conversation

ruibaby
Copy link
Member

@ruibaby ruibaby commented Feb 9, 2023

What type of PR is this?

/kind feature

What this PR does / why we need it:

支持在附件库的附件详情弹框中预览音视频文件。

Which issue(s) this PR fixes:

Fixes halo-dev/halo#1923

Screenshots:

image

image

Special notes for your reviewer:

测试方式:

  1. 上传若干视频和音频文件,检查是否可以正常播放即可。

可供测试的文件:音视频测试.zip

Does this PR introduce a user-facing change?

Console 端的附件详情支持预览音视频文件。

@f2c-ci-robot f2c-ci-robot bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/feature Categorizes issue or PR as related to a new feature. labels Feb 9, 2023
@vercel
Copy link

vercel bot commented Feb 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
ui ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 17, 2023 at 7:44AM (UTC)

Copy link
Member

@guqing guqing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Feb 13, 2023
@ruibaby
Copy link
Member Author

ruibaby commented Feb 13, 2023

@halo-dev/sig-halo-console

@f2c-ci-robot f2c-ci-robot bot removed the lgtm Indicates that a PR is ready to be merged. label Feb 16, 2023
Copy link
Member

@JohnNiang JohnNiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works very well.

image

/approve

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Feb 17, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnNiang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 17, 2023
@JohnNiang
Copy link
Member

/lgtm

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Feb 17, 2023
@JohnNiang JohnNiang added this to the 2.3.0 milestone Feb 17, 2023
@f2c-ci-robot f2c-ci-robot bot merged commit 87d7592 into halo-dev:main Feb 17, 2023
@ruibaby ruibaby deleted the feat/preview-audio-video branch February 17, 2023 07:51
JohnNiang pushed a commit to JohnNiang/halo that referenced this pull request Mar 2, 2023
…ail (halo-dev/console#841)

#### What type of PR is this?

/kind feature

#### What this PR does / why we need it:

支持在附件库的附件详情弹框中预览音视频文件。

#### Which issue(s) this PR fixes:

Fixes halo-dev#1923

#### Screenshots:

<img width="1011" alt="image" src="https://user-images.githubusercontent.com/21301288/217746883-92c46d4e-a51d-4b53-ae8e-f647a47b216f.png">
<img width="1010" alt="image" src="https://user-images.githubusercontent.com/21301288/217746922-9b014974-71aa-4d54-aa42-be2ae03647a1.png">


#### Special notes for your reviewer:

测试方式:

1. 上传若干视频和音频文件,检查是否可以正常播放即可。


可供测试的文件:[音视频测试.zip](https://github.com/halo-dev/console/files/10694553/default.zip)

#### Does this PR introduce a user-facing change?

```release-note
Console 端的附件详情支持预览音视频文件。
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

图片提供了预览图,音频视频能不能提供播放功能?
3 participants