留言板

Chunked response with MessageBoard attachment.

Vipul Dave,修改在12 年前。

Chunked response with MessageBoard attachment.

New Member 发布: 1 加入日期: 11-2-7 最近的帖子
Hiya,

I am using message board and attaching video file to thread MBMessage.
Here is sample URL how I am retrieving attachment item :
http://localhost:8080/c/message_boards/get_message_attachment?messageId=15806&attachment=Manamana.flv

I am able to download the video with that URL. But I need to play that video with JWPlayer inline.
Since the response from GetMessageAttachmentAction.java->StringServletResponse.java, has "Transfer-encoding : chunked", I am not able to play the video with player.
Is there any alternate URL to retrieve MBMessage attachment ? or anyway I can avoid chunked response?

The Videos from document library are served thru "AbsoluteRedirectsResponse.java", those works fine with player, since it doesn't have chunked response. For example : localhost:8080/documents/10157/0/Abc.flv


Thanks,
Vipul Dave