Html5 video command - html

Hallo i would like to make a videocomics for ipad and i tought to create a video in html5 that stops in some timeline point and play again if i press a button. It soulc be possible to do that? thanks a lot.

Have a look at the spec:
http://www.w3.org/TR/html5/video.html#playing-the-media-resource
Show's you what's possible with the DOM / Javascript :-)

Related

Can we have an HTML audio player (<audio>) with same appearance/styling in all browsers?

Currently, I've observed that the audio player added via HTML tag looks different in appearance in Chrome and Firefox.
Is there any standard we can follow to make its appearance same across browsers or implement custom player in an easy way to achieve the purpose?
Yes, we can have customised audio player which can look same across all the browsers. But the thing is we need to do styling and develope functionality of that audio player like
a play/pause button
a seek slider
the current time indicator
the duration of the sound file
a way to mute the audio
a volume control slider.
May be the following article will help you
https://css-tricks.com/lets-create-a-custom-audio-player/
Yea You can have it.
You Just Need to write the Appearance .css for all platform Respectively And Explicitly

As this done in html5

one of my client as me which type of banners are these.
can you guys help me out in reaching to the answer of it.
https://www.instagram.com/p/BJZlC-djHAi/
(video?) for me it is looking like normal video in adobe after effects. JS control play and pause. --> hese is only video: https://scontent.cdninstagram.com/t50.2886-16/14082755_1756897074552500_1371943552_n.mp4

Intro video using <video> tag

I am trying to create an introduction video for a website without using flash. It should pop up when the page is loaded and there should be an option to skip it. Is this possible just using html5?
I cannot find anything about this. I just find things on how to create a video or the video tag in general.
I am really new to this and would be very happy for any kind of help!
<video src="intro.mp4"></video>
Skip

HTML5 Video Reverse like Apple website

I've been trying to replicate this effect apple has on their website. I have been able to do the stop & start effectively on scroll but the reverse playback is an issue.
I've searched and old solutions on the website point to a reverse video which i've done but given that apple has done it for both ipad air and mac pro, I am sure there is a new solution.
Do let me know if you have been able to figure it out. I checked the website, they only use one video.
Thank you so much.
Apple reference
Neat. So they have one big video file (named 'story.mp4') which contains all the transitions. Then have code that can ask the video to play from one point in the file to another point, rather than playing from start straight through to finish.
But you've figured out that much and you want to know how to play parts of the video in reverse? Perhaps this question and answer will help: Is it possible to play HTML5 video in reverse? According to that, it comes down to setting the media element's playbackRate to -1.

EPUB3 audio button too big

I'm building an EPUB3 ibook and want to incorporate audio.
I'm succeeding, in so far as that I have a screen on my iPad2 with a button to play the audio file.
But that button is ugly and way too big. I suppose it's some default button of Apple.
How can I influence the way the button looks?
The XHTML tag I use now is like this:
<audio controls="controls" src="dir1/sound.wav">sound.wav not present</audio>
That's all I do now. Nothing epub:type for this whatsoever.
Good question. Apple has royally failed on the audio player in this last iOS update... But the good thing is: you can build your own using Javascript!
You can find most of the main functions here: http://www.w3schools.com/tags/ref_av_dom.asp.
As long as the audio container is in the same chapter, you should be able to control it with the functions above (just hide it and don't show controls). Then you can use custom CSS to build your player from scratch (cool example here: http://webdesign.tutsplus.com/tutorials/create-a-customized-html5-audio-player--webdesign-7081)!
You should also use .mp3 format for best file sizes and results...
Good luck!