Skip to content

video speed() needs to be called after play() #3113

@micuat

Description

@micuat

Nature of issue?

  • Found a bug
  • Existing feature enhancement
  • New feature request

Most appropriate sub-area of p5.js?

  • Color
  • Core/Environment/Rendering
  • Data
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Other (specify if possible)

Which platform were you using when you encountered this?

  • Mobile/Tablet (touch devices)
  • Desktop/Laptop
  • Others (specify if possible)

Details about the bug:

  • p5.js version: 0.6.1
  • Web browser and version: chrome 68.0.3440.84
  • Operating System: windows 10
  • Steps to reproduce this:

video speed() is ignored when called before play()

http://alpha.editor.p5js.org/micuat/sketches/rJzuVH7r7

for me I thought calling speed() before play() is more intuitive but it makes sense to change speed after video has started too. Looking at this PR #1245 I guess setting video.elt.playbackRate is not enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions