Apologies
You must be signed in to watch this lesson.
Time Slider, Rewind, Fast Forward, Volume Controls
Podcasts
The remaining functionality that we have to implement is to pause and play, fast forward and rewind, and also a volume control for our Audio Playback. Again, nothing to difficult for us to handle, let's take our time and take care of each feature one at a time.

Comments (6)
이동건
6 years ago
is it possible to control that volume by device volume button?
ekucet
5 years ago
maybe he explained how to do it in the future videos.
AlexKey
5 years ago
Hi Brian I'm having an error when trying to play the podcasts on my phone: 2018-04-04 00:01:55.166827+0100 Podcasts[9949:4846661] CredStore - performQuery - Error copying matching creds. Error=-25300, query={ class = inet; "m_Limit" = "m_LimitAll"; "r_Attributes" = 1; sync = syna; } (lldb) I read something about URLCredentials here on SO: https://stackoverflow.com/questions/46099940/credstore-perform-query-error But am hesitant to make changes to files like these, can you provide any guidance?
AlexKey
5 years ago
Also, I have set NSAllowsArbitraryLoads to true in the info.plist file as I saw you suggest on another video, but this hasn't changed anything.
GaryChen
5 years ago
May I ask whats the different between CMTimeMake and CMTimeMakeWithSeconds?
Maxnelson997
5 years ago
Wow. Super easy to implement. Amazing haha.
Maxnelson997
5 years ago
Oh dang, I just copied the fast forward logic, command clicked into CMTimeAdd, searched "difference" and found CMTimeSubtract and used that to rewind. Your solution is cleaner, less code at least.
Maxnelson997
5 years ago
well, less redundancy.
Brian Voong
5 years ago
Christopher J. Roura
4 years ago
Hi Brian, I have been making two versions of the app, one is fully programmatic and the other follows your approach with the xib files. My question is when I set the height of the titleLabel to titleLabel.heightAnchor.constraint(greaterThanOrEqualToConstant: 20).isActive = true in the fully programmatic app it configures the height of the titleLabel to adjust for the remaining space instead of the playControlsStackView (the stackView with the play pause button).So my title is huge and the play controls are squished at the bottom. My resolution has been to configure the height to be titleLabel.heightAnchor.constraint(lessThanOrEqualToConstant: 40).isActive = true however, this approach keeps the titleLabel to a constant height of 40 and never actually adjusts it. Do you know of a fix that I could use to have the titleLabel still be adjustable instead of hard coding it to 40? And as a side note, I have been attempting to use the new system bicolors which automatically adjust to dark mode or light mode. Could you maybe include the proper way of doing this (for buttons, imageViews, and text labels) to properly account for light and dark mode. Thank you in advance and thanks for the great courses!
HELP & SUPPORT