You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Tobias Soloschenko (JIRA)" <ji...@apache.org> on 2015/02/16 05:59:11 UTC

[jira] [Comment Edited] (WICKET-5819) Support for HTML 5 media tags (audio / video)

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

Tobias Soloschenko edited comment on WICKET-5819 at 2/16/15 4:59 AM:
---------------------------------------------------------------------

Hi, 

it is quite more then only the ResourceReference itself. See here: https://github.com/klopfdreh/wicket/blob/4434d94f95c5c8b8b6e70e65ab630ccac42f9b6d/wicket-core/src/main/java/org/apache/wicket/markup/html/media/MediaStreamingResourceReference.java#L159

There is a PartWriterCallback which also belongs to the MediaStreamingResourceReference and is used to write data chunk wise - only in combination the implementation makes sense and thats the reason why to implement a specialized class for Accept-Range. I think if you would put all stuff into the PackageResourceReference it would get to big and the functionality is way to specialized to implement it for all Resource.

But good to see that it has been requested. :-)


was (Author: klopfdreh):
Hi, 

it is quite more then only the ResourceReference itself. See here: https://github.com/klopfdreh/wicket/blob/4434d94f95c5c8b8b6e70e65ab630ccac42f9b6d/wicket-core/src/main/java/org/apache/wicket/markup/html/media/MediaStreamingResourceReference.java#L159

There is a PartWriterCallback which also belongs to the MediaStreamingResourceReference and is used to write data chunk wise - only in combination the implementation makes sense and thats the reason why to implement a specialized class for Accept-Range. I think if you would put all stuff into the PackageResourceReference it would get to big and the functionality is way to specialized to implement it for all Resource.

> 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-M5
>            Reporter: Tobias Soloschenko
>            Assignee: Martin Grigorov
>              Labels: features
>
> 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)