Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Text over a theora video  (Read 3109 times)

0 Members and 1 Guest are viewing this topic.

Mihulik

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 71
    • View Profile
Text over a theora video
« on: August 28, 2011, 04:28:02 PM »

Hi,
I was wondering whether I can display text over a theora video while the video is being played? :)
Can I play a sound while a video is being played?


I've never worked with theora videos in WME so I'd like to be sure. ;)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Text over a theora video
« Reply #1 on: August 28, 2011, 05:14:34 PM »

If you use a video entity (entity.PlayTheora()), it acts just like any other scene element, so the answer to both questions is yes.
Full-screen video (Game.PlayTheora()) runs in exclusive mode and the game is frozen until the playback is over.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Mihulik

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 71
    • View Profile
Re: Text over a theora video
« Reply #2 on: August 28, 2011, 05:21:40 PM »

However, if I use a video entity whose size matches the screen resolution, it'll act like a full-screen video so I'll be able to play a sound / display text over the video, won't I? :)
« Last Edit: August 28, 2011, 05:40:33 PM by Mihulik »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Text over a theora video
« Reply #3 on: August 28, 2011, 05:57:31 PM »

Yes, definitely.
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.049 seconds with 18 queries.