Skip to content

Commit

Permalink
Update readme on SSR support
Browse files Browse the repository at this point in the history
  • Loading branch information
tchakabam authored Aug 8, 2018
1 parent 335158b commit cd33b58
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ made by [gramk](https://github.com/gramk/chrome-hls), plays hls from address bar
- Firefox [native-hls](https://addons.mozilla.org/en-US/firefox/addon/native_hls_playback/)



## Dependencies

No external JS libs are needed.
Expand Down Expand Up @@ -178,6 +177,12 @@ Please note: iOS Safari "Mobile" does not support the MediaSource API. Safari br

When a platform has neither MediaSource nor native HLS support, you will not be able to play HLS.

### Server-side-rendering (SSR) and `require` from a Node.js runtime

We support this now. You can safely require this library in Node and absolutely nothing will happen :) See https://github.com/video-dev/hls.js/pull/1841

(This is also known as "Universal builds" and "isomorphic apps")

## CORS

All HLS resources must be delivered with [CORS headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS) permitting `GET` requests.
Expand Down

0 comments on commit cd33b58

Please sign in to comment.