mirror of
https://github.com/videojs/video.js.git
synced 2025-07-15 01:34:23 +02:00
Fixed another issue with passing vars to flash
This commit is contained in:
@ -204,7 +204,7 @@ _V_.Player = _V_.Component.extend({
|
||||
// Add tech element to player div
|
||||
if (this.techs[techName] === undefined) {
|
||||
|
||||
var techOptions = _V_.merge({ source: source }, this.options.flash)
|
||||
var techOptions = _V_.merge({ source: source }, this.options[techName])
|
||||
|
||||
this.techs[techName] = this.tech = new _V_[techName](this, techOptions);
|
||||
this.tech.ready(techReady)
|
||||
|
@ -25,7 +25,6 @@ _V_.each(_V_.apiMethods, function(methodName){
|
||||
/* HTML5 Playback Technology - Wrapper for HTML5 Media API
|
||||
================================================================================ */
|
||||
_V_.html5 = _V_.PlaybackTech.extend({
|
||||
// name: "html5",
|
||||
|
||||
init: function(player, options, ready){
|
||||
this.player = player;
|
||||
@ -223,7 +222,6 @@ if (_V_.isAndroid()) {
|
||||
/* VideoJS-SWF - Custom Flash Player with HTML5-ish API
|
||||
================================================================================ */
|
||||
_V_.flash = _V_.PlaybackTech.extend({
|
||||
// name: "flash",
|
||||
|
||||
init: function(player, options){
|
||||
this.player = player;
|
||||
|
Reference in New Issue
Block a user