1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-19 10:54:16 +02:00

Merge branch 'master' of github.com:videojs/video.js

This commit is contained in:
Steve Heffernan 2013-05-31 09:48:18 -07:00
commit 46731c40c3

View File

@ -165,10 +165,10 @@ myPlayer.height(480);
```
### size(width, height) ###
### dimensions(width, height) ###
Changes the width and height of the video to the supplied width and height. This is more efficient if you're changing both width and height (only triggers the player's resize event once). Returns the player object.
```js
myPlayer.size(640,480);
myPlayer.dimensions(640,480);
```