Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

> 视频对象上设置了内容类型吗? #3164

Closed
Lihy6472 opened this issue Dec 19, 2023 · 0 comments
Closed

> 视频对象上设置了内容类型吗? #3164

Lihy6472 opened this issue Dec 19, 2023 · 0 comments

Comments

@Lihy6472
Copy link

          > 视频对象上设置了内容类型吗?
Content-Type
video/mp4

当我在本地检查时,它按预期工作。还尝试了前缀内的视频,它按预期工作。

例如:

 ➜ mc stat local22/test-bucket/               
Name      : file_example_MP4_480_1_5MG.mp4
Date      : 2023-12-19 12:56:06 IST 
Size      : 1.5 MiB 
ETag      : d9061d3da8601932e98f79ec8ba1c877 
VersionID : 8b8373a1-4bd1-4fd0-961d-afcdeb40b3c2 
Type      : file 
Metadata  :
  Content-Type: video/mp4 

http://localhost:22000/test-bucket/file_example_MP4_480_1_5MG.mp4 `

并在我们的托管实例上进行了测试:https://play.min.io/test-public-bucket/drill/2023-09-28/path/file_example_MP4_480_1_5MG.mp4 它按预期工作。

  • Set, but still unable to access
    image
bash-5.1# mc stat local/training/
Name      : drill/
Date      : 2023-12-19 07:54:20 UTC 
Type      : folder 

bash-5.1# mc stat local/training/drill/2023-09-28/
Name      : 20231215173830rec.mp4
Date      : 2023-12-19 06:19:21 UTC 
Size      : 6.9 MiB 
ETag      : b50c828ffb98b8062af19c1b0adaab64 
Type      : file 
Metadata  :
  Content-Type: video/mp4 

Name      : original.jpg
Date      : 2023-12-19 06:19:45 UTC 
Size      : 4.0 MiB 
ETag      : d721d950e97a653f6dc46c9a5b6bf3ca 
Type      : file 
Metadata  :
  Content-Type: image/jpeg 

bash-5.1# 

image

Originally posted by @Lihy6472 in #3163 (comment)

@harshavardhana harshavardhana transferred this issue from minio/minio Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant