今天写了一个js函数,还有bug 没调好,当嵌入到ifream中时,视频播放器会自动缩小,不知道为什么,研究了半天没弄明白,希望有了解的朋友,给个提示。
var _test = function(options) {
this.version = "v0.1";
this.option = {};
this.flag = false;
this.init(options);
};
_test.prototype = {
init : function(options) {
if (options) {
this.option = options;
}
},
loadMedia : function() {
var _strObjMedia = "";
// var _codebaseParm = this.option.codebaseParm;
var _width = this.option.width;
var _height = this.option.height;
// var _type = this.option.type;
var _url = this.option.url;
// var _divId = this.option.divId;
_strObjMedia += "<object id=\"mediaInfo_Player\" ";
_strObjMedia += " width=\"" &#
var _test = function(options) {
this.version = "v0.1";
this.option = {};
this.flag = false;
this.init(options);
};
_test.prototype = {
init : function(options) {
if (options) {
this.option = options;
}
},
loadMedia : function() {
var _strObjMedia = "";
// var _codebaseParm = this.option.codebaseParm;
var _width = this.option.width;
var _height = this.option.height;
// var _type = this.option.type;
var _url = this.option.url;
// var _divId = this.option.divId;
_strObjMedia += "<object id=\"mediaInfo_Player\" ";
_strObjMedia += " width=\"" &#