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:
commit
46731c40c3
@ -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);
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user