Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Video Seek video without playing

Discussion in 'Audio & Video' started by nsmith1024, Aug 31, 2019.

  1. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    784
    Hello,

    Im making a video player that has a slider showing the current position of the video. I want the user to be able to slide the slider to any point in the video and see a preview image of the frame at the current slider spot before playing.

    The user should be able to slide the slider around, as the slider moves it should show a still frame of the video at that spot without actually playing it. Then when play is pressed start playing from that spot.

    I tried doing that using the VideoPlayer but sometimes it dont work.

    Anybody knows how to code that?

    Thanks
     
unityunity