Skip to content

Commit

Permalink
getElementsById -> getElementById
Browse files Browse the repository at this point in the history
small typo fix in code that leads to error
  • Loading branch information
stin7 committed Apr 5, 2014
1 parent 35d7258 commit d8f721a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ The third argument is a 'ready' callback. Once Video.js has initialized it will
Instead of using an element ID, you can also pass a reference to the element itself.

```js
videojs(document.getElementsById('example_video_1'), {}, function() {
videojs(document.getElementById('example_video_1'), {}, function() {
// This is functionally the same as the previous example.
});
```
Expand Down

0 comments on commit d8f721a

Please sign in to comment.