Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Sep 19, 2019 4:36 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: making a video go full screen
PostPosted: Tue Sep 25, 2012 7:48 pm 
Offline

Joined: Tue Mar 20, 2012 5:45 pm
Posts: 19
I'm new at RB and know nothing about coding. I made an app that plays movie, just using the movieplayer control that I drag and dropped over a window. Movies plays fin, but play at it's normal size 1280 *720, Is there a property I can change where the user can just full screen it ?

I'm looking for a simple solution as I dont know much about coding.

tks guys !

Serge


Top
 Profile  
Reply with quote  
 Post subject: Re: making a video go full screen
PostPosted: Wed Sep 26, 2012 6:28 am 
Offline
User avatar

Joined: Mon Jan 02, 2012 1:51 am
Posts: 382
Location: India
photoserge wrote:
Is there a property I can change where the user can just full screen it ?


I don't think there is any property in MoviePlayer to play a movie file in full screen. You can make the window full screen to do the trick.

I also interested to know if there is any better/easy way to do so. :idea:

_________________
Amitava Karan
Real Studio 2012 Release 1
Windows 7 (32 bit)
Mac OS X Version 10.7


Top
 Profile  
Reply with quote  
 Post subject: Re: making a video go full screen
PostPosted: Wed Sep 26, 2012 7:44 pm 
Offline

Joined: Tue Mar 20, 2012 5:45 pm
Posts: 19
Ok, and how can the user make the window go full screen ?

I tryed with autoresize, but the video doesnt follow along.


Serge


Top
 Profile  
Reply with quote  
 Post subject: Re: making a video go full screen
PostPosted: Thu Sep 27, 2012 12:48 am 
Offline

Joined: Mon Jan 16, 2012 8:08 am
Posts: 161
Location: India
Is it mac os x or Windows?

I think the autoresize property only work for Mac os.


Top
 Profile  
Reply with quote  
 Post subject: Re: making a video go full screen
PostPosted: Thu Sep 27, 2012 2:14 am 
Offline
User avatar

Joined: Mon Jan 02, 2012 1:51 am
Posts: 382
Location: India
Ok, and how can the user make the window go full screen ?

That's depends on you how you show the option for go full screen. You may add a menu like "View -> Full Screen" or a show a contextual menu.

And to make a window full screen,

Window1.FullScreen = true

_________________
Amitava Karan
Real Studio 2012 Release 1
Windows 7 (32 bit)
Mac OS X Version 10.7


Top
 Profile  
Reply with quote  
 Post subject: Re: making a video go full screen
PostPosted: Thu Sep 27, 2012 1:37 pm 
Offline

Joined: Tue Mar 20, 2012 5:45 pm
Posts: 19
Hello I tried that Window1.FullScreen = true

but the screen goes full screen bu the videos stays at the same size see the screen shot :

http://cl.ly/image/3V1B3y3o021G

I want to the video to go full, screen and by the way Im on mac os on an Imac 27 inch, I think its the wrong place to post but if you have the answer that would be great!

Serge


Top
 Profile  
Reply with quote  
 Post subject: Re: making a video go full screen
PostPosted: Thu Sep 27, 2012 2:09 pm 
Offline
User avatar

Joined: Mon Jan 02, 2012 1:51 am
Posts: 382
Location: India
After dragging the MoviePlayer to the window, make it exactly the same size of that window.(Top = 0, Left = 0, Width = Window width, Height = Window height)
Then Just lock the left, right, top and bottom of the MoviePlayer control and make sure "AutoResized" property is set to false.

Now you should see the video in full screen.

_________________
Amitava Karan
Real Studio 2012 Release 1
Windows 7 (32 bit)
Mac OS X Version 10.7


Top
 Profile  
Reply with quote  
 Post subject: Re: making a video go full screen
PostPosted: Thu Sep 27, 2012 4:38 pm 
Offline

Joined: Tue Mar 20, 2012 5:45 pm
Posts: 19
it worked and exactly what I was looking for tks so much !

Serge


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group