Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3516
  • Last Modified:

iOS AVPlayer rate property not effecting video playback speed

I have an iOS app (running fine on iOS 6 and iOS 7).

The app plays .mp4 videos that it pulls from my web server.

The videos play fine.

But if I change the rate to try and slow down or speed up the video, nothing changes.
The video still plays back at normal speed.

I have tried these various ways -

[player setRate:0.50];
[player play];

player.rate = 0.50;
[player play];

[player setRate:2.0];
[player play];
0
kevinvw1
Asked:
kevinvw1
  • 2
1 Solution
 
kevinvw1Author Commented:
Never mine, I figured it out.  Rookie mistake.  I needed to set the rate after the [player play]

It is working fine now.
0
 
kevinvw1Author Commented:
"Never mind", not "Never mine"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now