mirror of
https://github.com/videojs/video.js.git
synced 2024-12-31 03:11:11 +02:00
Added line to changelog for #1321. Removed unneeded hasOwnProperty.
This commit is contained in:
parent
34ad720626
commit
9217d5c2e7
@ -15,6 +15,7 @@ CHANGELOG
|
||||
* Added support for listening to multiple events through a types array ([view](https://github.com/videojs/video.js/pull/1231))
|
||||
* Exported the vertical option for the volume slider ([view](https://github.com/videojs/video.js/pull/1378))
|
||||
* Fixed Component trigger function arguments and docs ([view](https://github.com/videojs/video.js/pull/1310))
|
||||
* Now copying all attributes from the original video tag to the generated video element ([view](https://github.com/videojs/video.js/pull/1321))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -195,9 +195,7 @@ vjs.Player.prototype.createEl = function(){
|
||||
// ID will now reference player box, not the video tag
|
||||
attrs = vjs.getAttributeValues(tag);
|
||||
vjs.obj.each(attrs, function(attr) {
|
||||
if (Object.prototype.hasOwnProperty.call(attrs, attr)) {
|
||||
el.setAttribute(attr, attrs[attr]);
|
||||
}
|
||||
el.setAttribute(attr, attrs[attr]);
|
||||
});
|
||||
|
||||
// Update tag id/class for use as HTML5 playback tech
|
||||
|
Loading…
Reference in New Issue
Block a user