13518219792

建站动态

根据您的个性需求进行定制 先人一步 抢占小程序红利时代

创新互联百度小程序教程:swan.createAnimationVideo

swan.createAnimationVideo

解释: 创建并返回 animation-video 上下文animationVideo对象。通过 animationVideoId 跟一个 animation-video 组件绑定,通过它可以操作一个 animation-video 组件。
Web 态说明:详见 animation-video 组件 Web 态说明。

方法参数

String animationVideoId

返回值

AnimationVideo

示例

跳转编辑工具

在开发者工具中打开

在 WEB IDE 中打开

扫码体验

代码示例

请使用百度APP扫码

图片示例

代码示例

 
 
 
  1. id="myAnimationVideo"
  2. path="{{path}}"
  3. loop="{{loop}}"
  4. resource-width="800"
  5. resource-height="400"
  6. canvas-style="width:200px;height:200px"
  7. autoplay="{{autoplay}}"
  8. bindstarted="started"
  9. bindended="ended">

网页标题:创新互联百度小程序教程:swan.createAnimationVideo
本文网址:http://cdbrznjsb.com/article/coceids.html
  • 网站建设专属方案

  • 网站定制化设计

  • 7X24小时服务

  • N对管家服务

让你的专属顾问为你服务