Hi,
I create a custom Post Type called "video". I create a Video custom field and a CRED form to upload video.
When I make a Video with iPhone, the format which video is uploaded is .mov . When I tried to show post "video" in a view, in the page I see only link of the video.
I try to display Video in HTML with tag "<video></video>" using my custom field Video and assign atttribute "output=raw". It works well, but on iOS I don't show preview image.
There is a way to upload a .mov video and display the poster's video on iOS?
Thank a lot,
Aleixs
The Video tag only supports certain filetypes. The .MOV container uses the Quicktime codec which is proprietary Apple software and is not on the list of Media formats supported by the HTML audio and video elements. I'd suggest transcoding the footage to .MP4 and using that instead.
However, if you only care about Safari and iOS, you can use the following code:
<video poster="<em><u>hidden link</u></em>" src="[types field='my-video-field-slug' output='raw'][/types]" controls></video>
You would need to upload a separate image to your media library to use for the "poster" attribute. Otherwise, you could create another custom image field on your post and use this field for the poster attribute. Again, this approach ONLY works for Safari on iOS devices.
More info from Apple here:
hidden link
Let me know if I can be of further help.