Html5-video Video Playback

Source: Internet
Author: User
Tags rewind

Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">

<!    DOCTYPE html>

</video></br></br><button onclick= "Playpause (This)" > Play </button><button onclick= "Forward ()" > Fast forward 5 Seconds </button><button onclick= "Rewind ()" > Rewind 5 Seconds </button><button onclick= "Mute ( This) "> Mute </button><button onclick=" Accelerate () "> Accelerate 3 times times playback </button><button onclick=" Decelerate () "> Deceleration 3 times times play </button><button onclick=" normal () "> Normal playback </button><button onclick=" Uppervolume () "> Improve sound </button><button onclick=" Lowervolume () "> Reduce sound </button><script type=" Text/javascript "> var video = document.getElementById (' video '); function Playpause (obj) {if (video.paused) {video.play (); obj.innerhtml = "Pause"; } else {video.pause (); obj.innerhtml = "Play"; }} function forward () {video.currenttime + = 5; } function Rewind () {video.currenttime-= 5; } function Mute (obj) {if (video.muted) { video.muted = false; obj.innerhtml = "mute"; } else {video.muted = true; obj.innerhtml = "open sound"; }} function accelerate () {video.playbackrate = 3; } function decelerate () {video.playbackrate = 1/3; } function Normal () {video.playbackrate = 1; } function Uppervolume () {video.volume + = 0.2; } function Lowervolume () {video.volume-= 0.2; }</script></body>


Internet Explorer + +, Firefox, Opera, Chrome, and Safari support <video> elements.

Note: Internet Explorer 8 or earlier IE version numbers do not support the <video> element.


Html5-video Video Playback

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.