Reputation: 4053
I have an .mp4
that I want to play on my site via the video_tag
like so:
<%= video_tag "video1.mp4", type: "video/mp4" %>
This works on Firefox and Safari (on Mac) and on Android Chrome, but it doesn't work on Safari for iOS. Is there some special command or option to be able to view .mp4
on an iOS device?
Upvotes: 1
Views: 356
Reputation: 540
To play mp4 on IOS mp4 encoding setting should be changed according to IOS requirements.
Actually not all encoded Mp4 files are supported by iPhone. Different encoding may cause some file to work and fail for others.
Best possible encoding settings are
Upvotes: 1