Skip to content
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

How to reload slider image when video url change? #22

Open
VivekGoswami opened this issue Jun 29, 2017 · 0 comments
Open

How to reload slider image when video url change? #22

VivekGoswami opened this issue Jun 29, 2017 · 0 comments

Comments

@VivekGoswami
Copy link

VivekGoswami commented Jun 29, 2017

I have used SAVideoRangeSlider in swift code works fine, but when i change url from didSelectRowAtIndexPath slider does not change thumbnails with new URL. So can you help me for this issue? Here is my code which i have implement
let cgrect = CGRect(x: videoPlayerView.frame.origin.x, y: frameContainerView.frame.origin.y, width: self.view.frame.size.width-40, height: frameContainerView.frame.size.height)

    slider = SAVideoRangeSlider(frame: cgrect, videoUrl: self.videoURL!)
    slider.bubleText.font = UIFont.init(name: "Helvetica", size: 10.0)
    slider.setPopoverBubbleSize(90, height: 60)
    slider.topBorder.backgroundColor = UIColor(red: 0.996, green: 0.951, blue: 0.502, alpha: 1)
    slider.bottomBorder.backgroundColor = UIColor(red: 0.992, green: 0.902, blue: 0.004, alpha: 1)
    self.slider.delegate = self
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant