[ 
https://issues.apache.org/jira/browse/WICKET-5819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557344#comment-14557344
 ] 

Tobias Soloschenko commented on WICKET-5819:
--------------------------------------------

I got stuck while trying to improve the code here. 

https://github.com/apache/wicket/commit/b3c9843f805560f6685106b97cd2f9ddab8c28a9

I tried to create a fluent API to tell the resource reference to not read the 
full resource in memory. There are some issues left:

1. If I set readPartially to true it is not read as true while sending the 
response
2. The stream said to be closed, but I don't actually know why, because I used 
the delegate to read the Content-Length and I return the input stream of the 
delegate and not an filled bytearrayinputstream 

> Support for HTML 5 media tags (audio / video)
> ---------------------------------------------
>
>                 Key: WICKET-5819
>                 URL: https://issues.apache.org/jira/browse/WICKET-5819
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>    Affects Versions: 7.0.0-M6
>            Reporter: Tobias Soloschenko
>            Assignee: Martin Grigorov
>              Labels: features
>             Fix For: 7.0.0-M6
>
>         Attachments: wicket-examples-media-tags.png
>
>
> It would be great to embed video and audio files with the html5 tags:
> http://www.w3schools.com/html/html5_video.asp
> http://www.w3schools.com/html/html5_audio.asp
> http://dev.w3.org/html5/spec-author-view/video.html
> A documentation / implementation is provided here:
> https://github.com/klopfdreh/wicket-components-playground



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to