Giter Club home page Giter Club logo

Comments (3)

178320805 avatar 178320805 commented on June 3, 2024

image
这个是还没使用旋转api之前的视频

from xgplayer.

178320805 avatar 178320805 commented on June 3, 2024
  config: {
    id: "mse",
    url: "",
    fluid: true,
    defaultPlaybackRate: 1,
    definitionActive: "click",
    poster: "",
    volume: 1,
    autoplay: false, // 手动点击播放,节省用户流量
    playsinline: true,
    lastPlayTime: 0, //视频起播时间(单位:秒)
    lastPlayTimeHideDelay: 3,
    enableVideoDbltouch: true,
    rotateFullscreen: true,
    // closeInactive: true, // 使播放器控制栏常驻不隐藏
    rotate: {   //视频旋转按钮配置项
    innerRotate: true, //只旋转内部video
     clockwise: true // 旋转方向是否为顺时针
   },
    fitVideoSize: "auto",
  }, 这个是我的视频的配置,我手动点击旋转按钮并不会出现占不满的情况

from xgplayer.

178320805 avatar 178320805 commented on June 3, 2024

image
手动点击旋转之后的效果

from xgplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.