|
let dhrVideo = api.require("TCSuperPlayer");
let rect = {
x: 0,
y: topX,
w: "auto",
h: 200,
// fixedOn:''
};
if (systemType === "android") {
dhrVideo.hideDanmu();
// delete rect.fixedOn;
rect.w = screenWidth;
}
dhrVideo.configPlayerView({
rect,
isShowDanmu: false,
isShowSnapshot: false,
isShowMoreButton: true,
isShowWindowLayoutTop: false,
fixed: true,
});
dhrVideo.initPlayer();
然后弹窗用的时antMobile 的 Popup |
|