Skip to content

Commit

Permalink
Release v4.12.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav committed May 7, 2015
1 parent 36956e2 commit 7bbbf99
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 34 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ CHANGELOG
=========

## HEAD (Unreleased)
* @saxena-gaurav fixed a bug from disposing after changing techs ([view](https://github.com/videojs/video.js/pull/2125))
_(none)_

--------------------

## 4.12.6 (2015-05-07)
* @saxena-gaurav fixed a bug from disposing after changing techs ([view](https://github.com/videojs/video.js/pull/2125))

## 4.12.5 (2015-03-17)
* Updated to videojs-swf v4.5.4 to fix a potential security issue ([view](https://github.com/videojs/video.js/pull/1955))

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "video.js",
"description": "An HTML5 and Flash video player with a common API and skin for both.",
"version": "4.12.5",
"version": "4.12.6",
"main": [
"dist/video-js/video.js",
"dist/video-js/video-js.css",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "video.js",
"description": "An HTML5 and Flash video player with a common API and skin for both.",
"version": "4.12.5",
"version": "4.12.6",
"keywords": [
"videojs",
"html5",
Expand Down
2 changes: 1 addition & 1 deletion dist/video-js/video-js.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
Video.js Default Styles (http://videojs.com)
Version 4.12.5
Version 4.12.6
Create your own skin at http://designer.videojs.com
*/
/* SKIN
Expand Down
2 changes: 1 addition & 1 deletion dist/video-js/video-js.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 4 additions & 9 deletions dist/video-js/video.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ vjs.ACCESS_PROTOCOL = ('https:' == document.location.protocol ? 'https://' : 'ht
* Full player version
* @type {string}
*/
vjs['VERSION'] = '4.12.5';
vjs['VERSION'] = '4.12.6';

/**
* Global Player instance options, surfaced from vjs.Player.prototype.options_
Expand Down Expand Up @@ -7774,12 +7774,6 @@ vjs.Flash = vjs.MediaTechController.extend({

var source = options['source'],

// Which element to embed in
parentEl = options['parentEl'],

// Create a temporary element to be replaced by swf object
placeHolder = this.el_ = vjs.createEl('div', { id: player.id() + '_temp_flash' }),

// Generate ID for swf object
objId = player.id()+'_flash_api',

Expand Down Expand Up @@ -7826,7 +7820,7 @@ vjs.Flash = vjs.MediaTechController.extend({
}

// Add placeholder to player div
vjs.insertFirst(placeHolder, parentEl);
vjs.insertFirst(this.el_, options['parentEl']);

// Having issues with Flash reloading on certain page actions (hide/resize/fullscreen) in certain browsers
// This allows resetting the playhead when we catch the reload
Expand All @@ -7853,7 +7847,7 @@ vjs.Flash = vjs.MediaTechController.extend({
// use stageclick events triggered from inside the SWF instead
player.on('stageclick', player.reportUserActivity);

this.el_ = vjs.Flash.embed(options['swf'], placeHolder, flashVars, params, attributes);
this.el_ = vjs.Flash.embed(options['swf'], this.el_, flashVars, params, attributes);
}
});

Expand Down Expand Up @@ -8120,6 +8114,7 @@ vjs.Flash.embed = function(swf, placeHolder, flashVars, params, attributes){
;

placeHolder.parentNode.replaceChild(obj, placeHolder);
obj[vjs.expando] = placeHolder[vjs.expando];

// IE6 seems to have an issue where it won't initialize the swf object after injecting it.
// This is a dumb fix
Expand Down
Loading

0 comments on commit 7bbbf99

Please sign in to comment.