nate_s1 — 2012-01-25T12:03:00-05:00 — #1
The other day I was looking at the mobile site for CBS (m.cbs.com) and noticed that they have a bunch of videos you can watch. The way they have it set up is that you click on a link (or image) and the video launches in the default video player of the mobile device. It seems to work great for both Android and iOS.
Does anyone know how you would go about doing (coding) this?
Thanks for you help.
nate_s1 — 2012-01-25T15:08:17-05:00 — #2
<a href="link-to-video.mp4" onclick="this.play();">click to play video</a>
This seems to work like I want, at least on android. Would this work on other mobile devices as well?
stevenhu — 2012-02-06T11:00:27-05:00 — #3
The device will automatically play a video in full-screen mode. No special coding required. I believe I use the HTML5 <video> tags in iOS and YouTube's <embed> tags in Android, and both default to full-screen mode without extra coding.
mittineague — 2014-09-21T20:07:16-04:00 — #4
This topic is now archived. It is frozen and cannot be changed in any way.