current location:Home > Technical Articles > Web Front-end > H5 Tutorial
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- HTML5 returns the attribute of whether the audio/video has ended
- The ended property returns whether the audio/video has ended. If the playback position is at the end of the audio/video, the audio/video has ended.
- H5 Tutorial 3385 2017-11-08 14:00:45
-
- html5 returns the duration attribute of the current audio/video in seconds
- The duration property returns the length of the current audio/video in seconds. If audio/video is not set, returns NaN (Not-a-Number).
- H5 Tutorial 4133 2017-11-08 13:57:21
-
- The attribute defaultPlaybackRate that sets or returns the default playback speed of audio/video in H5
- The defaultPlaybackRate property sets or returns the default playback speed of audio/video. Setting this property only changes the default playback speed, not the current one. To change the current playback speed, use the playbackRate property.
- H5 Tutorial 5143 2017-11-08 11:11:58
-
- The attribute defaultMuted that sets or returns whether the audio/video is muted by default in HTML5
- The defaultMuted property sets or returns whether the audio/video is muted by default. Setting this property only changes the default mute state, not the current one. To change the current muted state, use the muted attribute.
- H5 Tutorial 7351 2017-11-08 11:08:10
-
- H5 sets or returns the currentTime property of the current position (in seconds) of audio/video playback
- The currentTime property sets or returns the current position of audio/video playback in seconds. When this property is set, playback will jump to the specified position.
- H5 Tutorial 3953 2017-11-08 11:02:30
-
- The attribute currentSrc that returns the URL of the current audio/video in html5
- currentSrc returns the URL of the current audio/video. If audio/video is not set, an empty string is returned.
- H5 Tutorial 3257 2017-11-08 10:58:55
-
- In HTML5, set or return the attribute controls that the browser should display standard audio and video controls.
- The controls attribute sets or returns the standard audio and video controls that the browser should display. Standard audio and video controls include: Play Pause Progress bar Volume Full screen switching (for video) Subtitles (when available) Track (when available)
- H5 Tutorial 2174 2017-11-08 10:50:49
-
- Return the attribute controller of the current media controller of audio and video in html5
- The controller attribute returns the current media controller of audio and video. By default, audio and video elements will not have media controllers. If a media controller is specified, the controller property returns it as a MediaController.
- H5 Tutorial 2079 2017-11-08 09:40:31
-
- Return the property buffered of TimeRanges object in html5
- The buffered property returns a TimeRanges object. The TimeRanges object represents the user's audio and video buffering range. The buffering range refers to the time range of buffered audio and video. If the user skips playback in audio and video, he will get multiple buffer ranges.
- H5 Tutorial 4139 2017-11-08 09:38:12
-
- In html5, set or return the attribute autoplay of whether the audio and video will start playing after loading.
- The autoplay attribute sets or returns whether the audio and video starts playing after loading. All major browsers support the autoplay attribute. Note: This attribute is not supported in Internet Explorer 8 or earlier browsers.
- H5 Tutorial 3221 2017-11-08 09:35:48
-
- Return the attribute audioTracks of the AudioTrackList object in html5
- The audioTracks property returns an AudioTrackList object. The AudioTrackList object represents the available audio tracks for audio and video. Each available audio track is represented by an AudioTrack object.
- H5 Tutorial 2620 2017-11-08 09:32:22
-
- html5 method pause() to stop (pause) the currently playing audio or video
- The pause() method stops (pauses) the currently playing audio or video. All major browsers support the pause() method. Note: This method is not supported in Internet Explorer 8 and earlier.
- H5 Tutorial 11675 2017-11-08 09:29:14
-
- How to start playing the current audio or video in html5
- The play() method starts playing the current audio or video. All major browsers support the play() method. Note: This method is not supported in Internet Explorer 8 and earlier.
- H5 Tutorial 2785 2017-11-07 14:05:28
-
- The method load() to reload audio/video elements in html5
- The load() method reloads audio/video elements. The load() method is used to update the audio/video element after changing the source or other settings.
- H5 Tutorial 8133 2017-11-07 11:27:15
-
- The method canPlayType() in HTML5 determines whether the browser can play the specified audio/video type.
- canPlayType() method determines whether the browser can play the specified audio/video type. The canPlayType() method can return one of the following values: "probably" - the browser is most likely to support this audio/video type "maybe" - the browser may support this audio/video type "" - (empty string) the browser does not support it The audio/video type
- H5 Tutorial 2540 2017-11-07 11:21:24