Play HLS, DASH, and future HTTP streaming protocols with video.js, even where they're not natively supported.
Included in video.js 7 by default! See the video.js 7 blog post
Maintenance Status: Stable
Video.js Compatibility: 7.x, 8.x
- Installation
- Contributing
- Troubleshooting
- Talk to us
- Getting Started
- Compatibility
- Documentation
- Options
- How to use
- List
- withCredentials
- useCueTags
- parse708captions
- overrideNative
- experimentalUseMMS
- playlistExclusionDuration
- maxPlaylistRetries
- bandwidth
- useBandwidthFromLocalStorage
- enableLowInitialPlaylist
- limitRenditionByPlayerDimensions
- useDevicePixelRatio
- usePlayerObjectFit
- customPixelRatio
- allowSeeksWithinUnsafeLiveWindow
- customTagParsers
- customTagMappers
- cacheEncryptionKeys
- handlePartialData
- liveRangeSafeTimeDelta
- useNetworkInformationApi
- useDtsForTimestampOffset
- useForcedSubtitles
- captionServices
- Runtime Properties
- Events
- VHS Usage Events
- In-Band Metadata
- Segment Metadata
- Object as Source
- Options
- Hosting Considerations
- Known Issues and Workarounds
- Testing
- Debugging
- Release History
- Building
- Development
Installation
In most cases it is not necessary to separately install http-streaming, as it has been included in the default build of Video.js since version 7.
Only install if you need a specifc combination of video.js and http-streaming versions. If installing separately, use the "core" version of Video.js without the bundled version of http-streaming.
NPM
To install videojs-http-streaming with npm, run
npm install --save @videojs/http-streaming
CDN
Select a version of VHS from the CDN
Releases
Download a release of videojs-http-streaming
Manual Build
Download a copy of this git repository and then follow the steps in Building
Contributing
See CONTRIBUTING.md
Troubleshooting
Talk to us
Drop by the Video.js slack.
Getting Started
This library is included in Video.js 7 by default.
Only if need a specific combination of versions of Video.js and VHS you can get a copy of videojs-http-streaming and include it in your page along with video.js. In this case, you should use the "core" build of Video.js, without a bundled VHS: