mirror of
https://github.com/videojs/video.js.git
synced 2024-11-26 08:51:09 +02:00
Merge pull request #1130 from stin7/patch-1
getElementsById -> getElementById
This commit is contained in:
commit
2fca84435d
@ -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.
|
||||
});
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user