Laker-Compendium icon indicating copy to clipboard operation
Laker-Compendium copied to clipboard

Enable Autoplay for videos & "start video"

Open ffranke opened this issue 13 years ago • 4 comments

Enable autoplay for videos, checking the max. dimensions for videos playable by iPhone and setting classes for a "start video" (just like a "start picture", but with äähm video ;D)

ffranke avatar May 17 '11 10:05 ffranke

Most people hate Autoplay videos i think its better preloading but the problem here is that you cant have more than one. HTML5 Video tag have this features.

ghost avatar May 24 '11 19:05 ghost

Another - maybe stupid question - regarding Video. How is it possible to realize the following: I show a picture (may be full screen, may be next to a text column) that has a touch-sensitive area somewhere in the picture (or outside, but this doesn't really matter). On touching this area, the picture is replaced by a video, basically with the original picture being the first frame of the video. I want to specifically avoid the ugly Play Button and place something more decent. If I was being too complicated, download the "Red Bulletin App" and look at how this is realized there ...

Regards,

erikm30 avatar May 26 '11 20:05 erikm30

Hey Erik,

I think it could be possible with jquery with some show() and hide() action. Hide "ontouch" the button, and show the video instead. You maybe need to enable Autoplay in xcode (see: http://www.lakercompendium.com/how-to-use/issues-known-bugs/autoplay-video/) or otherwise you need to touch again to play the video.

cheers

ffranke avatar May 26 '11 23:05 ffranke

Hi erikm30 am I wrong, isnt that possible via the poster property of the html video object:

I know what you mean about the play button, uggglee. Wish there was some way to edit the visual appearance of the button too.

k8fisher avatar Jun 16 '11 08:06 k8fisher