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:
-
- 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 2199 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 4411 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 3358 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 2771 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 11940 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 2919 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 8307 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 2649 2017-11-07 11:21:24
-
- Methods to create and return new text tracks in html5
- The addTextTrack() method creates and returns a new text track. A new TextTrack object is added to the video/audio element's text track list.
- H5 Tutorial 2211 2017-11-07 11:15:29
-
- The oncanplay event triggered when the user can start playing video/audio in html5
- The oncanplay event is triggered when the user can start playing audio/video. During the video/audio (audio/video) loading process, the triggering sequence of events is as follows:
- H5 Tutorial 3810 2017-11-07 11:02:48
-
- The event onscroll that is triggered when the element scroll bar is scrolling in html5
- The onscroll event is fired when the element's scrollbar is scrolling. Tip: Use the CSS overflow style property to create scroll bars for elements.
- H5 Tutorial 12432 2017-11-07 09:50:42
-
- The event onmousewheel of the script that runs when the mouse wheel is being scrolled in html5
- The scroll wheel event is slightly different in different browsers. One such as Firefox uses DOMMouseScroll. ff can also use the addEventListener method to bind the DomMouseScroll event. Other browser wheel events use mousewheel. Let me introduce it to you in detail.
- H5 Tutorial 2364 2017-11-07 09:46:32
-
- The ondrop event in HTML5 is triggered when a draggable element or selected text is placed in the target area.
- The ondrop event is triggered when a draggable element or selected text is placed in the target area. Drag and drop is a very common feature in HTML5. For more information, check out HTML5 Drag and Drop in our HTML tutorial. Note: To make an element draggable, you need to use the HTML5 draggable attribute. Tip: Links and images are draggable by default and do not require the draggable attribute.
- H5 Tutorial 2587 2017-11-07 09:43:39
-
- The ondragover event in HTML5 is triggered when a draggable element or selected text is being dragged to the drop target.
- By default, data/elements cannot be placed inside other elements. If we want to implement the change function, we need to avoid the default processing method of the element. We can implement the ondragover event by calling the event.preventDefault() method.
- H5 Tutorial 3190 2017-11-07 09:39:43
-
- The ondragleave event is triggered in HTML5 when a draggable element or selected text moves out of the drop target.
- The ondragenter and ondragleave events can help users better understand the process of draggable elements entering and leaving the placement area. You can set different background colors when a draggable element enters and leaves the drop zone.
- H5 Tutorial 2350 2017-11-07 09:36:49