New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting SCImageView on Player stops playback. #286
Comments
I've added and moved
and it is now working intermittently. Takes a few times to get the video to actually play through the filter. The end goal is to use the Swipe View but I've had 0 luck with that. _ iOS9_ |
@MMasterson Maybe I met the same problem, could you please describe what is _playerView and _playerControlsView in your code? |
sure @shiweige _playerView is an outlet of SCVideoPlayerView on the story board and _playerControlsView is an outlet of a UIView that holds the play button, next and cancel button for the camera. |
@MMasterson you don't need the SCplayerView since your renderer will be the SCFilterImageView or your future SwipeableFilterVIew.
Then my self.swipeableFilterView is an outlet from my storyboard. |
@sherm4n90 I've made the appropriate changes Changed my SCplayerView to a SCSwipeableFilterView and reconnected it as an outlet named swipeableFilterView in my viewDidLoad
I've added your method
in my viewDidAppear
and it does play the video although, the swipe does not work - as in the filters do not change |
@MMasterson did you try the - (void)swipeableFilterView:(SCSwipeableFilterView *__nonnull)swipeableFilterView didScrollToFilter:(SCFilter *__nullable)filter protocol method? This will tell you if the scrolling through filters is working. Edited: also you may need: |
@sherm4n90 - It is not being called - but can't seem to figure out why. Is there a User Interaction field I have to enable programmatically? |
@sherm4n90 even with your edit, no luck on getting the gesture to fire. |
@MMasterson mm, nothing to add, maybe you have some view covering the swipeableView. |
@sherm4n90 yup.. just double checked, had a view over the swipeView... Thank's so much for your help with the set up! |
@MMasterson great! glad to help |
I've been trying to implement filters, but I am having several issues. The code below should work, but there is 0 playback.
when I remove
[[_playerView player] setSCImageView:filterView];
The video plays...
Anyone have any luck on gettings Filters working with SCRecorder?
The text was updated successfully, but these errors were encountered: