Join Joseph Labrecque for an in-depth discussion in this video Playback and mute controls, part of Building Custom HTML5 Video Playback with AngularJS 1.
We'll set that equal to false at first.…What this is going to do for us is it's going to allow us…to keep track of whether the video is playing or not,…and then to bind some behavior…through AngularJS into at the DOM.…I'm also going to paste in here,…two functions on our scope,…one for toggle play, and another for toggle mute.…So, within each of these functions,…we check to see if certain variables are true.…So we check to see if scope.videodisplay.paused is true.…
If it's paused, and we click play,…we're obviously going to want the video display to play.…So we command it to do that.…
- Setting up
- Creating a video element
- Making the video element responsive
- Building controls
- Setting up an AngularJS controller
- Binding properties
- Customizing the playback controls and time display
- Enabling full-screen playback and playlist support
- Using AngularJS directives and filters
Skill Level Intermediate
1. Setting Up the Project
2. HTML Video Playback
3. AngularJS Integration
4. Playback Customization with AngularJS
5. Advanced Features
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.