View Full Version : Full screen video questions
aae991
02-15-2005, 08:47 AM
I'm a relatively new user of AutoPlay Pro and have a question regarding full-screen video. I'm trying to make a simple autoplay CD for a client where they load the CD, the movie (an MPEG-1) comes up and plays for its full 15 minute runtime (after you hit the play button). I have been able to get the basics done, including the full screen, but I'm curious if there's an easy way to stop, start, and resume the full screen mode?
Right now, using the mouse anywhere on the full screen video playback causes the video to go back to the original smaller size. To get it back to full screen, I have to hit play again. I want to be able to stop it, and resume it at full screen.
Thanks for any advice on this.
Stuart
Roboblue
02-15-2005, 12:08 PM
If you use the windows media player plugin, you can just right click and toggle full screen at any time. I think you have to have the "show context menu" enabled in the media player properties window.
You can get it here free wmp plugin (http://www.indigorose.com/ams/all_add_ons.php?showItem=1&itemLimit=50&itemIndex=0&sortBy=name&sortOrder=ASC)
aae991
02-15-2005, 03:16 PM
Okay, I downloaded the plug-in but am still a bit confused.
When I add a video object, it automatically puts in player controls. When I added the WM plug-in, the controls were not active. Do I have to disable the original video object controls?
aae991
02-15-2005, 03:49 PM
Okay, I tried using the sample template that came with the plug-in. I then loaded a video object and made it invisible.
When the project plays back, the video stutters like crazy. When I use the same exact video clip without the WM plug-in, there is no stuttering.
The controls on the WM plug-in seem to work fine after I locate the video in the "load file" button, but the stuttering is unacceptable. Also, is there a way to make the video on the CD load automatically without having to make the client look for it in the video folder of the application?
Thanks.
Stuart
Roboblue
02-15-2005, 04:09 PM
Here is an apz with a .jpg instead of a video. I don't have a small video handy, so just substitute your vid in its place.
Be sure to rename the file in the lad action.
Notice that after you start the vis, you can right click on the player and toggle full screen, even when it is paused or stopped.
If you are still having stuttering problems, close AMS and re-install the plugin.
aae991
02-15-2005, 04:10 PM
THANKS! I'll work on it tonight and let you know.
Stuart
Roboblue
02-15-2005, 04:22 PM
You only have one vid to show? If so, create another page and put a wmp plugin object on it. put the MediaPlayer.Load function in the PAGE preload action. Then just put a button on the first page to jump to the page with the player object. the vid should load and play automatically.
Roboblue
02-15-2005, 04:25 PM
Here is .apz for page preload
aae991
02-15-2005, 09:46 PM
I think I've got it, but I still can't figure out where and what to put in to get it to play at full screen resolution - at least not in the page preview.
Once I've got that, I'm set - thanks to your help. I've tried the settings on the plug-in help page, but they're not getting me full screen. My placement of the text/syntax must be wrong.
Stuart
csd214
02-16-2005, 12:24 AM
I'm far from being a video expert (that's why I read this thread and downloaded Roboblue's example).
To toggle full screen: Double-click the video/image.
(I have WMP ver. 10).
Roboblue
02-16-2005, 10:25 AM
I don't believe there is a way to start the player in full screen. You can put in a dialog box that tells about the double-click/right click toggle. Have it show before loading the vid. Or, you can put a small instruction label on the jump from page, or even put a help button that is on each page that has some instructions for the whole project.
Intrigued
02-16-2005, 12:01 PM
I wonder if you use Worm's KEYSTROKE.dll and then pass the key combo Alt+Enter (Full-Screen mode) in via such... if that would work.
TJ_Tigger
02-16-2005, 04:44 PM
IF you are using the MediaPlayer object, have you tried to place code like this in the [On Play] event
MediaPlayer.SetFullScreen(this, true)
If you are working on trying to load the movie into an external WMP object, you could use LuaCOM to create and play an external WMP object and set it to full screen. I don't know exactly how, but www.msdn.com has information on the ActiveX objects for WMP
Tigg
Roboblue
02-16-2005, 06:31 PM
TJ
I looked thru the mediaplayer plugin info and didn't see this. I didn't scroll down far enough. I have been having problems with my keyboard and finally figured out this afternoon that the batteries were dead.
Good excuse, huh.
Intrigued
02-16-2005, 07:27 PM
To add to TJ_TIGGER's post:
For the Windows Media Player 10
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/windowsmediaplayeractivexcontrol.asp
PARAM tags (control the player):
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/playerobject.asp
and...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/paramtags.asp
Sample complete code for say a Web page in a Web Object in AMS 5:
<HTML>
<HEAD>
</HEAD>
<BODY>
<OBJECT ID="Player" height="0" width="0"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
</OBJECT>
<INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick="StartMeUp()">
<INPUT TYPE="BUTTON" NAME="BtnStop" VALUE="Stop" OnClick="ShutMeDown()">
<SCRIPT>
<!--
function StartMeUp ()
{
Player.URL = "laure.wma";
}
function ShutMeDown ()
{
Player.controls.stop();
}
-->
</SCRIPT>
</BODY>
</HTML>
This below is for the Windows Media Player 6.4:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmp6sdk/htm/microsoftwindowsmediaplayercontrolversion64sdk.asp
Intrigued
02-16-2005, 09:13 PM
COM interfaces exposed by the Windows Media Player ActiveX control (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/interfaces.asp)
This may come in handy if you go the luaCOM plugin route, instead of the Web Object (specifically via a Web page)
aae991
02-16-2005, 10:09 PM
Wow, this really is a great forum. Lot's of great suggestions. Thanks!
I will be trying all of them in the coming days and report on my progress.
Stuart
csd214
02-16-2005, 10:25 PM
Yesterday
I'm far from being a video expert
Today: Thanks to TJ_Tigger and Intrigued I am promoted. Today I am a "video expert" :lol
Intrigued, if you talk more about the LuaCom plugin I have to replace the batteries in my "intention to learn LuaCom engine". What voltage do I need?
aae991, great forum? Indeed. It's the fountain of juvenile.
willfreer
11-21-2005, 12:42 PM
Is there away to have a video play full screen at start up, with an nice border mask in autoplay, then after leaving the video go to a regular size menu or background?
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.