dify icon indicating copy to clipboard operation
dify copied to clipboard

Dify 0.13.2 Audio / video Preview

Open asrguru20 opened this issue 8 months ago • 4 comments

Self Checks

  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Provide a description of requested docs changes

Does Dify version 0.13.2 supports audio and video file preview in chatbot iframe? so we can play the audio file or video file

asrguru20 avatar Mar 31 '25 10:03 asrguru20

I couldn't find specific information about audio and video file previews in chatbot iframes for Dify 0.13.2. However, the update notes for this version mention comprehensive file upload functionality, including support for audio and video files [1][2][3]. The supported audio formats are MP3, M4A, WAV, WEBM, and AMR, while the supported video formats are MP4, MOV, MPEG, and MPGA [4].

If you are looking for specific configuration settings or examples for enabling previews, I couldn't find any documentation or example code demonstrating this feature. You might want to explore the configuration settings related to media file handling in chatbots, which are detailed in the file_upload and system_parameters sections [5][6][7].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

dosubot[bot] avatar Mar 31 '25 10:03 dosubot[bot]

Have you tried the solution I provided in the previous issue?

crazywoola avatar Mar 31 '25 10:03 crazywoola

您是否尝试过我在上一期提供的解决方案?

Could you provide the address for the operating instructions of this solution?

zx874561 avatar Apr 02 '25 01:04 zx874561

您是否尝试过我在上一期提供的解决方案?

Image

I can only find a link and a video file, there is no preview available.

zx874561 avatar Apr 02 '25 01:04 zx874561

https://github.com/langgenius/dify/issues/17198 @zx874561

crazywoola avatar Apr 02 '25 02:04 crazywoola

#17198 @zx874561

thank you!!! it works. But now there is a new problem. The video at this address is from the public internet. It seems I can't display it directly, can I? This issue should be similar to displaying an image from a public link in the iframe. I don't seem to have found a solution in the issues. Is it currently unsupported? like #4176

zx874561 avatar Apr 02 '25 02:04 zx874561