VideoContext.showStatusBar

    代码示例

    • 在 swan 文件中
    • 在 js 文件中
    1. data: { },
    2. onLoad() {
    3. const videoContext = swan.createVideoContext('myVideo');
    4. this.videoContext = videoContext;
    5. },
    6. showStatusBar() {
    7. let that = this;
    8. this.videoContext.showStatusBar();
    9. })
    10. }
    11. });
    • bug:ios13 系统问题暂不支持本 API