Git Product home page Git Product logo

Comments (28)

arronf2e avatar arronf2e commented on August 15, 2024 1

我是vue1的,我换了v2.5.0的版本,现在可以了,谢谢,祝你找到好工作!@surmon-china

from videojs-player.

surmon-china avatar surmon-china commented on August 15, 2024

Vue1需要使用v3.0.0版本之前的组件,且api需要按照旧版的API使用。

from videojs-player.

arronf2e avatar arronf2e commented on August 15, 2024

@surmon-china 旧版本的文档没有吗

from videojs-player.

surmon-china avatar surmon-china commented on August 15, 2024

tag切换到对应的旧版本,一切文件都是旧版本的,包括REAMDE.md。

from videojs-player.

HuMonkey avatar HuMonkey commented on August 15, 2024

vue2 微信里的页面 也有这样的问题

from videojs-player.

surmon-china avatar surmon-china commented on August 15, 2024

@HuMonkey 能否贴一下实际生产代码

from videojs-player.

HuMonkey avatar HuMonkey commented on August 15, 2024
<template>

<div class="weui-gallery">
  <video-player :options="videoOptions"></video-player>
</div>
</template>
<script>
export default {
	name: 'error',
  data() {
    return {
      videoOptions: {
        start: 0,
        playsinline: false,
        preload: 'none',
        language: 'zh-CN',
        languages: {
          'zh-CN': {
            'No compatible source was found for this media.': '请稍等 直播暂停中~',
          }
        },
        sources: [{
          type: "video/mp4",
          src: 'https://xcycdn-video.zhongguowangshi.com/record/zbcb/14933451863408_3.mp4',
        }],
      }
    }
  }
}
</script>
<style scoped>

</style>

from videojs-player.

surmon-china avatar surmon-china commented on August 15, 2024

@HuMonkey 我稍后测试,微信问题重现环境在:IOS Android都存在吗?

from videojs-player.

HuMonkey avatar HuMonkey commented on August 15, 2024

我们只试了ios的 android的不清楚哦~

from videojs-player.

surmon-china avatar surmon-china commented on August 15, 2024

OK,我今晚会进行测试

from videojs-player.

HuMonkey avatar HuMonkey commented on August 15, 2024

好的,麻烦您了

from videojs-player.

arronf2e avatar arronf2e commented on August 15, 2024

@HuMonkey 我的就是安卓的

from videojs-player.

HuMonkey avatar HuMonkey commented on August 15, 2024

@arronf2e 那你的问题是怎么修复的?换成vue2就好了嘛?

from videojs-player.

arronf2e avatar arronf2e commented on August 15, 2024

@HuMonkey 还没有,等作者测一下吧

from videojs-player.

HuMonkey avatar HuMonkey commented on August 15, 2024

@arronf2e 好的,我们这边看了好久,也不知道是什么问题,其他浏览器应该都没有做这样的问题;而且微信里进去是一直loading,但是稍微拖一下进度条就能播放了

from videojs-player.

arronf2e avatar arronf2e commented on August 15, 2024

@HuMonkey 是的,loading的时候也可以点击播放的

from videojs-player.

surmon-china avatar surmon-china commented on August 15, 2024

实测Android未复现,IOS复现,正在找问题。

from videojs-player.

surmon-china avatar surmon-china commented on August 15, 2024

实测playsinline: true手动控制全屏应该能解决这个问题,能满足你们的需求吗?

@arronf2e
@HuMonkey

from videojs-player.

HuMonkey avatar HuMonkey commented on August 15, 2024

@surmon-china 你说的方法我们试了下好像也不行。
而且我们这边可能会有视频不全屏播放的需求,我们尝试在组件的@play函数中加了一段这样的代码,问题好像就解决了:

setTimeout(() => {
    player.play();
}, 0)

from videojs-player.

surmon-china avatar surmon-china commented on August 15, 2024

@arronf2e 谢谢😆。

@HuMonkey 我再测试,找找原因。

from videojs-player.

HuMonkey avatar HuMonkey commented on August 15, 2024

@surmon-china 作者是在找工作吗,要不要试试杭州这边,哈哈哈

from videojs-player.

surmon-china avatar surmon-china commented on August 15, 2024

@HuMonkey 在找呀,北上深杭都在投,这几天在电面

from videojs-player.

HuMonkey avatar HuMonkey commented on August 15, 2024

@surmon-china 给你发了封邮件 哈哈

from videojs-player.

arronf2e avatar arronf2e commented on August 15, 2024

@surmon-china ios下无法全屏,点击全屏的直接直接闪了一下就关了,有碰到过吗

from videojs-player.

surmon-china avatar surmon-china commented on August 15, 2024

playsinline: false能行吗

from videojs-player.

arronf2e avatar arronf2e commented on August 15, 2024

不行,我再找找原因

from videojs-player.

zhixuanziben avatar zhixuanziben commented on August 15, 2024

视频上下都有一段黑色的空间,怎么不显示这些黑色区域?

from videojs-player.

surmon-china avatar surmon-china commented on August 15, 2024

年久失修,关闭。

from videojs-player.

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.