1
0
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:
Steve Heffernan
2011-12-07 22:12:36 -08:00
parent 176eb1f559
commit d1fb95ecbf
2 changed files with 1 additions and 3 deletions

View File

@ -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)

View File

@ -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;