Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: pause video file?  (Read 2557 times)

0 Members and 1 Guest are viewing this topic.

Rocco

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 87
    • View Profile
    • Virtual-Illusion
pause video file?
« on: November 26, 2005, 01:13:45 PM »

is it possible to pause a video file?
I have an intro video, with a short duration.
At the end of this file stands the logo.
I want to hold the last picture a few seconds on the screen, without extending the videofile size.

I know i can take a picture witch fits to the end of the video, but the easiest way would be to pause the last pic of the video file.
Is this possible??


I suggestion for the engine - MoveTo command for sprite entitys.
 
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: pause video file?
« Reply #1 on: November 27, 2005, 01:10:25 PM »

You can't pause the video playback, because the game is frozen while the video is playing. You could achieve that by using a video entity + Theora video instead. Entities now provide a PlayTheora() method, which plays the video asynchronously. This allows your scripts to control video playback using methods such as Entity.PauseTheora(), Entity.ResumeTheora() etc.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.044 seconds with 23 queries.