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

Tobias Soloschenko edited comment on WICKET-5819 at 2/16/15 7:19 AM:
---------------------------------------------------------------------

https://github.com/klopfdreh/wicket/blob/3384441307eba0477e9692d1c6080b673dce9748/wicket-core/src/main/java/org/apache/wicket/markup/html/media/MediaComponent.java#L147

You can apply separate PageParameters - if you remove the constructor the 
MediaComponent constructor with PageParameters is not visible anymore (for 
Video / Audio) and you can't apply separate PageParameter.

I missed to apply those PageParameters if you provide an URL:

https://github.com/klopfdreh/wicket/blob/3384441307eba0477e9692d1c6080b673dce9748/wicket-core/src/main/java/org/apache/wicket/markup/html/media/MediaComponent.java#L153

Example:

<video src="http://test.de/myvideo?mySeparatePageParameter=value";>




was (Author: klopfdreh):
https://github.com/klopfdreh/wicket/blob/3384441307eba0477e9692d1c6080b673dce9748/wicket-core/src/main/java/org/apache/wicket/markup/html/media/MediaComponent.java#L147

You can apply separate PageParameter - if you remove the constructor the 
MediaComponent constructor with PageParameters is not visible anymore (for 
Video / Audio) and you can't apply separate PageParameter.

I missed to apply those PageParamter if you provide an URL:

https://github.com/klopfdreh/wicket/blob/3384441307eba0477e9692d1c6080b673dce9748/wicket-core/src/main/java/org/apache/wicket/markup/html/media/MediaComponent.java#L153

Example:

<video src="http://test.de/myvideo?mySeparatePageParameter=value";>



> 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