Skip to content

Commit

Permalink
add isHLS to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
machenmusik committed May 13, 2017
1 parent 84b8894 commit b504f88
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/core/utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,8 @@ AFRAME.registerComponent('foo', {
throttledTick: function (t, dt) {}
});
```

### `AFRAME.utils.isHLS (src, type)`

Given video element src and type, guess whether stream is HLS.
This is used internally to make special accommodations for HLS playback on iOS 10+ using Mobile Safari.

0 comments on commit b504f88

Please sign in to comment.