We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Video Texture: Jump to second/frame of Video?

Home Forums General Questions Video Texture: Jump to second/frame of Video?

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #35660
    justin_blender
    Customer

    Hi, I wanted to set the time of the video by programming. Of cource the easiest would be to have a puzzle like

    “set second of (video) to (int) sec”

    As it is not available today, is there a way to achieve this with javascript? I do know the right functions for it, but it is neccessary to catch the Video object from the DOM. And in this case I dont think it is not possible as it is part of the 3D scene?

    Thanks for your answer

    #35672

    Here you go:

    Attachments:
    You must be logged in to view attached files.

    Chief 3D Verger | LinkedIn | Twitter

    #35790
    justin_blender
    Customer

    Oh thats how to do it. Thank you so much.

    I really have to say this is the best customer support I have ever experienced!

    For everyone after me following this thread. This is how you will set the time with the script completely.

    var target_time = 5;
    var myVideo = VARS["video"];
    myVideo.source.currentTime = target_time;
    #35802

    :good:

    Chief 3D Verger | LinkedIn | Twitter

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.