Search Unity

Video Seek video without playing

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

  1. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    642
    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