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 2016/05/03 21:58:12 UTC

[jira] [Resolved] (WICKET-6160) Missing type for MediaComponent causing iOS devices not to be able to play videos

     [ https://issues.apache.org/jira/browse/WICKET-6160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tobias Soloschenko resolved WICKET-6160.
----------------------------------------
    Resolution: Fixed

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