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

ASF subversion and git services commented on WICKET-6160:
---------------------------------------------------------

Commit 89c1290cb007f14c13c1d6d6648a8c0a090a97b2 in wicket's branch 
refs/heads/master from [~klopfdreh]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=89c1290 ]

WICKET-6160

> Missing type for MediaComponent causing iOS devices not to be able to play 
> videos
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-6160
>                 URL: https://issues.apache.org/jira/browse/WICKET-6160
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket, wicket-examples
>    Affects Versions: 7.2.0, 8.0.0
>            Reporter: Tobias Soloschenko
>            Assignee: Tobias Soloschenko
>            Priority: Minor
>             Fix For: 7.3.0, 8.0.0-M1
>
>
> Because of a missing option to set the type for MediaComponents - Video / 
> Audio can't be played on iOS devices.
> If you want to enable it with the Wicket 7.2.0 you have to override the 
> onComponentTag method:
> {code}
>       @Override
>       protected void onComponentTag(ComponentTag tag)
>       {
>               super.onComponentTag(tag);
>                 tag.put("type", "video/mp4");
>       }
> {code}
> See Table 10-1  File name extensions for MIME types:
> https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/CreatingVideoforSafarioniPhone/CreatingVideoforSafarioniPhone.html#//apple_ref/doc/uid/TP40006514-SW6
> I used remote debugging of iOS Safari / Mac OS X to check if all videos are 
> playing, now.



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

Reply via email to