Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Pages: [1] 2  All

Author Topic: Theora question  (Read 10089 times)

0 Members and 1 Guest are viewing this topic.

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Theora question
« on: June 21, 2011, 05:02:29 PM »

Hi everyone!
When i play a theora video i wan't to disabled any click of mouse and keyboard keys..
Can i?
Is there any script?
Thanks! :)
Logged

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: Theora question
« Reply #1 on: June 21, 2011, 11:41:29 PM »

I did some modification along these lines which should be theoretically in WME - latest.

the attribute in question is

Game.VideoSkipButton = [0..2];

0 = leftclick skips theora
1 = rightclick skips theora
2 = no mouse skipping allowed

But ask Mnemonic, if it's included in the official branch.
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: Theora question
« Reply #2 on: June 22, 2011, 08:17:54 PM »

Thanks metamorphium for the replay..
I will be waiting for an answer of mnemonic! :)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Theora question
« Reply #3 on: June 23, 2011, 12:00:11 PM »

It's present in the (unofficial) WME latest build.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: Theora question
« Reply #4 on: June 23, 2011, 12:55:52 PM »

Thanks mnemonic.. any example code to understand because i have stuck! :(
« Last Edit: June 24, 2011, 05:55:25 AM by fsk »
Logged

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: Theora question
« Reply #5 on: June 25, 2011, 09:18:16 AM »

anyone to help me?  ::rock
Logged

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: Theora question
« Reply #6 on: June 25, 2011, 01:56:28 PM »

You simply write Game.VideoSkipButton = 2; in your Script, so the video cannot be skipped by mouseclick.
Logged

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: Theora question
« Reply #7 on: June 26, 2011, 07:48:37 AM »

no working.. Try it if you want!
"VideoSkipButton" there is not.

Look, i use theora.. so, in my game.script:

Game.VideoSkipButton = 2;
Game.PlayTheora ("My Video.ogv");

am i wrong?

Thanks for the replay Spellbreaker..
Logged

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: Theora question
« Reply #8 on: June 26, 2011, 11:18:48 AM »

Did you download the wme version that Mnemonic linked above?
Logged

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: Theora question
« Reply #9 on: June 26, 2011, 05:29:25 PM »

Yes..i have the WME latest build.
Did you tried?
Logged

eborr

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 196
    • View Profile
Re: Theora question
« Reply #10 on: June 26, 2011, 05:30:47 PM »

I tried the download - couldn't download  - downloading file box just hung
Logged

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: Theora question
« Reply #11 on: June 26, 2011, 06:02:59 PM »

Just downloaded - worked fine
Wrote Game.VideoSkipButton = 2; into my game.script file - worked fine

Dunno where your problem is, did you _really_ use exactly the version mnemonic linked there, and updated the two files?


cheers
Logged

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: Theora question
« Reply #12 on: June 26, 2011, 06:17:49 PM »

It's worked..
but i wrote: Game.VideoSkipButton = 3;  :-\
ok for mouse.. but for keyboard? (esc for example to disable)
« Last Edit: June 26, 2011, 06:23:12 PM by fsk »
Logged

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: Theora question
« Reply #13 on: July 02, 2011, 09:57:19 AM »

Anyone to know how to disable the esc button when i play my video?

and

another problem is the audio of theora? i don't hear anything.. is there any way to saw to change maybe the volume if is down..?

Thanks!
« Last Edit: July 02, 2011, 11:39:29 AM by fsk »
Logged

fsk

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 82
    • View Profile
    • My blog
Re: Theora question
« Reply #14 on: July 07, 2011, 01:33:48 PM »

anyone to have the same problem (disable the esc button when theora is playing) ?  ??? (only me?  ;D )
Logged
Pages: [1] 2  All
 

Page created in 0.017 seconds with 20 queries.