Chapter 4: JavaScript API - Examples
- Listing 4-2: Video Element getting and setting content attributes
- Listing 4-4: Video Element getting @currentSrc
- Listing 4-5: Video Element getting @startTime
- Listing 4-6: Video Element getting @duration
- Listing 4-7: Video Element getting @volume
- Listing 4-8: Video Element getting @muted
- Listing 4-9: Video Element getting @videoWidth and @videoHeight
- Listing 4-10: Video Element getting @currentTime
- Listing 4-11: Video Element getting @seeking
- Listing 4-12: Video Element getting @paused
- Listing 4-13: Video Element getting @ended
- Listing 4-14: Video Element getting @playbackRate
- Listing 4-15: Video Element getting @networkState
- Listing 4-16: Video Element getting @readyState
- Listing 4-17: Video Element getting @error
- Listing 4-18: Video Element getting @buffered
- Listing 4-19: Video Element getting @played
- Listing 4-20: Video Element getting @seekable
- Listing 4-21: Video Element using pause() and play()
- Listing 4-22: Custom video player