mirror of
https://github.com/videojs/video.js.git
synced 2025-07-17 01:42:41 +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
|
// Add tech element to player div
|
||||||
if (this.techs[techName] === undefined) {
|
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.techs[techName] = this.tech = new _V_[techName](this, techOptions);
|
||||||
this.tech.ready(techReady)
|
this.tech.ready(techReady)
|
||||||
|
@ -25,7 +25,6 @@ _V_.each(_V_.apiMethods, function(methodName){
|
|||||||
/* HTML5 Playback Technology - Wrapper for HTML5 Media API
|
/* HTML5 Playback Technology - Wrapper for HTML5 Media API
|
||||||
================================================================================ */
|
================================================================================ */
|
||||||
_V_.html5 = _V_.PlaybackTech.extend({
|
_V_.html5 = _V_.PlaybackTech.extend({
|
||||||
// name: "html5",
|
|
||||||
|
|
||||||
init: function(player, options, ready){
|
init: function(player, options, ready){
|
||||||
this.player = player;
|
this.player = player;
|
||||||
@ -223,7 +222,6 @@ if (_V_.isAndroid()) {
|
|||||||
/* VideoJS-SWF - Custom Flash Player with HTML5-ish API
|
/* VideoJS-SWF - Custom Flash Player with HTML5-ish API
|
||||||
================================================================================ */
|
================================================================================ */
|
||||||
_V_.flash = _V_.PlaybackTech.extend({
|
_V_.flash = _V_.PlaybackTech.extend({
|
||||||
// name: "flash",
|
|
||||||
|
|
||||||
init: function(player, options){
|
init: function(player, options){
|
||||||
this.player = player;
|
this.player = player;
|
||||||
|
Reference in New Issue
Block a user