日期:2014-05-20  浏览次数:20939 次

JS加载mediaPlayer的时候如何让播放器不改变大小的问题?


var mediaPlayer = "<object id='player' height='" + t.gFile.height + "' width='" + t.gFile.width + "' classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6'>"
                            + "<param name='AudioStream' value='false'>"
                            + "<param name='AutoSize' value='false'>"
                            + "<param NAME='AutoStart' VALUE='1'>"
                            + "<param NAME='Balance' VALUE='0'>"
                            + "<param name='enabled' value='-1'>"
                            + "<param NAME='EnableContextMenu' VALUE='-1'>"
                            + "<param NAME='url' value='" + config.Path + "'>"
                            + "<param NAME='PlayCount' VALUE='1'>"
                            + "<param name='rate' value='1'>"
                            + "<param name='currentPosition' value='0'>"
                            + "<param name='currentMarker' value='0'>"
                            + "<param name='defaultFrame' value=''>"