[
https://issues.apache.org/jira/browse/WICKET-6160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov updated WICKET-6160:
------------------------------------
Fix Version/s: (was: 7.3.0)
7.4.0
> 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: 8.0.0-M1, 7.4.0
>
>
> 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.
> http://moduscreate.com/enable-remote-web-inspector-in-ios-6/ (for iOS 9 very
> similar)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)