mirror of
https://github.com/videojs/video.js.git
synced 2025-02-08 12:05:47 +02:00
Merge branch 'stable'
Conflicts: dist/video-js/video-js.css dist/video-js/video-js.min.css dist/video-js/video.dev.js dist/video-js/video.js
This commit is contained in:
commit
a2710b60f1
@ -6,6 +6,9 @@ CHANGELOG
|
|||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
## 4.8.4 (2014-09-23)
|
||||||
|
* @gkatsev fixed isFullscreen reporting on iOS devices ([view](https://github.com/videojs/video.js/pull/1511))
|
||||||
|
|
||||||
## 4.8.3 (2014-09-22)
|
## 4.8.3 (2014-09-22)
|
||||||
* @heff updated to the latest version of the SWF to 4.4.4 ([view](https://github.com/videojs/video.js/pull/1526))
|
* @heff updated to the latest version of the SWF to 4.4.4 ([view](https://github.com/videojs/video.js/pull/1526))
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "video.js",
|
"name": "video.js",
|
||||||
"description": "An HTML5 and Flash video player with a common API and skin for both.",
|
"description": "An HTML5 and Flash video player with a common API and skin for both.",
|
||||||
"version": "4.8.3",
|
"version": "4.8.4",
|
||||||
"main": [
|
"main": [
|
||||||
"dist/video-js/video.js",
|
"dist/video-js/video.js",
|
||||||
"dist/video-js/video-js.css"
|
"dist/video-js/video-js.css"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "video.js",
|
"name": "video.js",
|
||||||
"description": "An HTML5 and Flash video player with a common API and skin for both.",
|
"description": "An HTML5 and Flash video player with a common API and skin for both.",
|
||||||
"version": "4.8.3",
|
"version": "4.8.4",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"videojs",
|
"videojs",
|
||||||
"html5",
|
"html5",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "video.js",
|
"name": "video.js",
|
||||||
"description": "An HTML5 and Flash video player with a common API and skin for both.",
|
"description": "An HTML5 and Flash video player with a common API and skin for both.",
|
||||||
"version": "4.8.3",
|
"version": "4.8.4",
|
||||||
"copyright": "Copyright 2014 Brightcove, Inc. https://github.com/videojs/video.js/blob/master/LICENSE",
|
"copyright": "Copyright 2014 Brightcove, Inc. https://github.com/videojs/video.js/blob/master/LICENSE",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"videojs",
|
"videojs",
|
||||||
|
@ -77,9 +77,12 @@ goog.exportProperty(vjs.Player.prototype, 'preload', vjs.Player.prototype.preloa
|
|||||||
goog.exportProperty(vjs.Player.prototype, 'remainingTime', vjs.Player.prototype.remainingTime);
|
goog.exportProperty(vjs.Player.prototype, 'remainingTime', vjs.Player.prototype.remainingTime);
|
||||||
goog.exportProperty(vjs.Player.prototype, 'supportsFullScreen', vjs.Player.prototype.supportsFullScreen);
|
goog.exportProperty(vjs.Player.prototype, 'supportsFullScreen', vjs.Player.prototype.supportsFullScreen);
|
||||||
goog.exportProperty(vjs.Player.prototype, 'currentType', vjs.Player.prototype.currentType);
|
goog.exportProperty(vjs.Player.prototype, 'currentType', vjs.Player.prototype.currentType);
|
||||||
goog.exportProperty(vjs.Player.prototype, 'requestFullScreen', vjs.Player.prototype.currentType);
|
goog.exportProperty(vjs.Player.prototype, 'requestFullScreen', vjs.Player.prototype.requestFullScreen);
|
||||||
goog.exportProperty(vjs.Player.prototype, 'cancelFullScreen', vjs.Player.prototype.currentType);
|
goog.exportProperty(vjs.Player.prototype, 'requestFullscreen', vjs.Player.prototype.requestFullscreen);
|
||||||
goog.exportProperty(vjs.Player.prototype, 'isFullScreen', vjs.Player.prototype.currentType);
|
goog.exportProperty(vjs.Player.prototype, 'cancelFullScreen', vjs.Player.prototype.cancelFullScreen);
|
||||||
|
goog.exportProperty(vjs.Player.prototype, 'exitFullscreen', vjs.Player.prototype.exitFullscreen);
|
||||||
|
goog.exportProperty(vjs.Player.prototype, 'isFullScreen', vjs.Player.prototype.isFullScreen);
|
||||||
|
goog.exportProperty(vjs.Player.prototype, 'isFullscreen', vjs.Player.prototype.isFullscreen);
|
||||||
|
|
||||||
goog.exportSymbol('videojs.MediaLoader', vjs.MediaLoader);
|
goog.exportSymbol('videojs.MediaLoader', vjs.MediaLoader);
|
||||||
goog.exportSymbol('videojs.TextTrackDisplay', vjs.TextTrackDisplay);
|
goog.exportSymbol('videojs.TextTrackDisplay', vjs.TextTrackDisplay);
|
||||||
|
@ -209,6 +209,20 @@ vjs.Html5.prototype.supportsFullScreen = function(){
|
|||||||
|
|
||||||
vjs.Html5.prototype.enterFullScreen = function(){
|
vjs.Html5.prototype.enterFullScreen = function(){
|
||||||
var video = this.el_;
|
var video = this.el_;
|
||||||
|
|
||||||
|
if ('webkitDisplayingFullscreen' in video) {
|
||||||
|
this.one('webkitbeginfullscreen', vjs.bind(this, function(e) {
|
||||||
|
this.player_.isFullscreen(true);
|
||||||
|
|
||||||
|
this.one('webkitendfullscreen', vjs.bind(this, function(e) {
|
||||||
|
this.player_.isFullscreen(false);
|
||||||
|
this.player_.trigger('fullscreenchange');
|
||||||
|
}));
|
||||||
|
|
||||||
|
this.player_.trigger('fullscreenchange');
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
|
||||||
if (video.paused && video.networkState <= video.HAVE_METADATA) {
|
if (video.paused && video.networkState <= video.HAVE_METADATA) {
|
||||||
// attempt to prime the video element for programmatic access
|
// attempt to prime the video element for programmatic access
|
||||||
// this isn't necessary on the desktop but shouldn't hurt
|
// this isn't necessary on the desktop but shouldn't hurt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user