|
8 | 8 | * - http://www.gnu.org/copyleft/gpl.html |
9 | 9 | * |
10 | 10 | * Author: Mark J Panaghiston |
11 | | - * Version: 2.2.18 |
12 | | - * Date: 28th January 2013 |
| 11 | + * Version: 2.2.19 |
| 12 | + * Date: 29th January 2013 |
13 | 13 | */ |
14 | 14 |
|
15 | 15 | /* Code verified using http://www.jshint.com/ */ |
|
454 | 454 | $.jPlayer.prototype = { |
455 | 455 | count: 0, // Static Variable: Change it via prototype. |
456 | 456 | version: { // Static Object |
457 | | - script: "2.2.18", |
458 | | - needFlash: "2.2.18", |
| 457 | + script: "2.2.19", |
| 458 | + needFlash: "2.2.19", |
459 | 459 | flash: "unknown" |
460 | 460 | }, |
461 | 461 | options: { // Instanced in $.jPlayer() constructor |
|
631 | 631 | currentPercentAbsolute: 0, |
632 | 632 | currentTime: 0, |
633 | 633 | duration: 0, |
| 634 | + videoWidth: 0, // Intrinsic width of the video in pixels. |
| 635 | + videoHeight: 0, // Intrinsic height of the video in pixels. |
634 | 636 | readyState: 0, |
635 | 637 | networkState: 0, |
636 | 638 | playbackRate: 1, |
|
1333 | 1335 | this.status.currentPercentAbsolute = cpa; |
1334 | 1336 | this.status.currentTime = ct; |
1335 | 1337 |
|
| 1338 | + this.status.videoWidth = media.videoWidth; |
| 1339 | + this.status.videoHeight = media.videoHeight; |
| 1340 | + |
1336 | 1341 | this.status.readyState = media.readyState; |
1337 | 1342 | this.status.networkState = media.networkState; |
1338 | 1343 | this.status.playbackRate = media.playbackRate; |
|
1479 | 1484 | this.status.currentTime = status.currentTime; |
1480 | 1485 | this.status.duration = status.duration; |
1481 | 1486 |
|
| 1487 | + this.status.videoWidth = status.videoWidth; |
| 1488 | + this.status.videoHeight = status.videoHeight; |
| 1489 | + |
1482 | 1490 | // The Flash does not generate this information in this release |
1483 | 1491 | this.status.readyState = 4; // status.readyState; |
1484 | 1492 | this.status.networkState = 0; // status.networkState; |
|
0 commit comments