1
0
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:
Steve Heffernan 2014-04-11 14:50:08 -07:00
commit 2fca84435d

View File

@ -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.
});
```