帖子
帖子
用户
博客
课程
显示全部楼层
16
帖子
0
勋章
743
Y币

[插件使用] oxeplayer 作者麻烦来回答下问题

[复制链接]
发表于 2023-12-26 12:08:29
在使用内置ui时,比如指定大小窗口播放时,能否上下滑动来控制音量大小亮度大小;全屏播放时标题栏还有按钮颜色能否改变;还有自定义组件样式说明文档看不太明白还有更详细的说明吗
31
帖子
1
勋章
561
Y币
smallGestureSlide:true
fullGestureSlide:true
{
           type: 'component',
           x:20,
           y:h-300,
           w:140,
           h:70,
           radius:5,
           backgroundColor:'#000000',
           alpha:0.5,
           border:0,
           borderColor:'#E066FF',
           code:26,
           hidden:false,
           animation:0,
           pics:[{path:'widget://image/product.jpg',x:0,y:0,w:70,h:70,code:261},{path:'widget://image/icon_close.png',x:125,y:0,w:15,h:15,code:262}],
           texts:[{x:80,y:40,w:60,h:20,isHtml:false,text:'商品',textSize:12,textColor:'#FFFFFF',alignment:0,code:263}]
    }
31
帖子
1
勋章
561
Y币
title = {
        type: 'title',
        x: 10,
        y: h - 160,
        w: w - 120,
        h: 80,
        code: 22,
        textSize: 14,
        textColor: '#FFFFFF',
        hidden: false
    }; //标题控件
31
帖子
1
勋章
561
Y币
//component 自定义控件  radius 圆角值 backgroundColor 背景色 border 边框 borderColor边框颜色
             //alignment 文字对齐0:居中 1上左对齐 2上中对齐 3上右对齐 4上两端对齐 5下左对齐 6下中对齐 7下右对齐 8下两端对齐 9居中两端对齐
             //textSize:14  文字大小 textColor:'#C0FF3E' 文字颜色 alpha 背景透明度
             //hidden 是否隐藏
             //code:16//控件标识  同时作为点击事件返回码 0,1,2,3,4,5占用 不能使用 组件 code值不能重复 rect 图片位置(相对父组件component位置)
             //type为full显示在全屏 small 显示在小屏
16
帖子
0
勋章
743
Y币
蒋小玉 · 2023-12-26 13:45smallGestureSlide:true
fullGestureSlide:true
{

苹果调用播放有画面没声音
您需要登录后才可以回帖 登录

本版积分规则