• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Calling AVPlayer seekToTime: results in incorrect scrollWheel behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calling AVPlayer seekToTime: results in incorrect scrollWheel behavior


  • Subject: Calling AVPlayer seekToTime: results in incorrect scrollWheel behavior
  • From: Konidaris Christos via Cocoa-dev <email@hidden>
  • Date: Thu, 6 Feb 2020 15:22:06 +0200

Any ideas on this problem?

I tried with the latest macOS 10.15.3 and the problem is still there.

> Hi all,
>
> In our macOS apps we use our custom movie controller view. From there we call
> the AVPlayer method seekToTime:(CMTime)time to jump to specific movie times
> to be displayed in a AVPlayerView.
>
> The following series of actions results in wrong behavior:
> 1) Use seekToTime: to jump to a position in the movie asset (from a button or
> a menu item).
> 2) Try to use the trackpad or the mouse scroll-wheel over the AVPlayerView to
> scroll the video content forward or backward.
>
> The video position jumps to start (time 0) and scrolls from there, instead of
> scrolling around the programmatically set position from step (1).
>
> The problem occurs only if the first user action results to a call to
> scrollToTime, followed by using the scroll-wheel. Changing the sequence of
> actions, or after getting the wrong behavior the first time, things behave as
> expected.
>
> Is there any way around this very annoying problem?
>
> Christos Konidaris
>
>
> P.S. Also submitted as problem FB7506896.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Important request, participation in software development study
  • Next by Date: How to present a web view while supporting 10.9?
  • Previous by thread: Important request, participation in software development study
  • Next by thread: How to present a web view while supporting 10.9?
  • Index(es):
    • Date
    • Thread