Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70de0e1

Browse files
committed
[CHG]修复宽度高度计算错误问题
1 parent 15ed30d commit 70de0e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ezuikit.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,6 +1521,8 @@
15211521
var playDOM = document.getElementById(id);
15221522
playDOM.setAttribute("width",width);
15231523
playDOM.setAttribute("height",height);
1524+
playDOM.style.width = width + 'px';
1525+
playDOM.style.height = height + 'px';
15241526

15251527
setTimeout(function(){
15261528
player.postMessage({

0 commit comments

Comments
 (0)