Coder Social home page Coder Social logo

Comments (7)

PonyCui avatar PonyCui commented on September 23, 2024 1

可以把存在问题的 Demo 打包发送到 [email protected] 吗?包括解决问题前的,和解决问题后的。这样,我们可以快速定位到问题在哪里。

from svgaplayer-web.

PonyCui avatar PonyCui commented on September 23, 2024

不是很明白你说的意思,可以贴图说明问题吗?

from svgaplayer-web.

obvious89 avatar obvious89 commented on September 23, 2024

你好,下面是我的截图和问题描述:
我导出的动画是750x1334的,如果在iphone7全屏播放,设置容器宽高等于屏幕,默认是以下效果

problem

我只能将容器尺寸设为750x1334,然后再用css3缩放,这样动画区域刚好等于容器区域是正常的

success

我看了下canvas/player.js代码,找到这一步。在设置viewport后,JS获取宽高clientWidth、clientHeight是缩放后的,按照我的设置就是(375x667),这样就会走到下面的动画缩放逻辑,不知道我描述清楚了没

reason

from svgaplayer-web.

PonyCui avatar PonyCui commented on September 23, 2024

已经明白你说的问题了,我看一下能不能在本地重现问题。

from svgaplayer-web.

obvious89 avatar obvious89 commented on September 23, 2024

可以把存在问题的 Demo 打包发送到 [email protected] 吗?包括解决问题前的,和解决问题后的。这样,我们可以快速定位到问题在哪里。

邮件已发送,后面找出是demo里的代码问题

from svgaplayer-web.

obvious89 avatar obvious89 commented on September 23, 2024

想问一个别的问题,SVGA导出视频这块有什么推荐的方案吗?

from svgaplayer-web.

zhang0224 avatar zhang0224 commented on September 23, 2024

对的 是有这么回事 已经遇到了

from svgaplayer-web.

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.