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

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

Ok - there are some examples, now. I added additional checks if the resource 
can not be found and reimplemented the PageParameters constructors. I used the 
following code to convert the PageParameters into a query string - hope this is 
ok:

Url encoded = new PageParametersEncoder().encodePageParameters(pageParameters);
String queryString = encoded.getQueryString();

"The line is returning 'null' for a valid video located in the package with the 
correct scope - any idea what it could be?" - This issue was only a fault of my 
IDE which does not copied the video.mp4 into the target/classes folder.

One little hint I also mentioned in the Examples Page:

Videos are from: http://media.w3.org/2010/05/video/
Images are from: http://search.creativecommons.org/ with check on commercial 
use and modify...


> 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)

Reply via email to