Go Back   PCMech Forums > Help & Discussion > Software Discussion & Support

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-13-2005, 02:30 PM   #1
Member (9 bit)
 
tim1477's Avatar
 
Join Date: Nov 2003
Location: Philly, PA, USA
Posts: 300
Send a message via AIM to tim1477
Tweaking WMP to do some..interesting things

Guys,
I need to find a way to have windows media player launch in full screen mode and disable the ability for the user to get out. Is this possible, and what can i do? Thanks

edit: actually it doesnt even have to be WMP, it can be anything. i just need the video to run full screen upon launching

Last edited by tim1477; 03-13-2005 at 05:10 PM.
tim1477 is offline   Reply With Quote
Old 03-14-2005, 07:28 AM   #2
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
Join Date: May 2000
Location: Joplin MO
Posts: 37,777
What you need is a media player that can be launched in "kiosk" mode. I haven't found one yet, but I haven't looked too hard either. If you use the term "kiosk" in your searches that may help.
glc is offline   Reply With Quote
Old 03-14-2005, 07:49 AM   #3
Member (10 bit)
 
rightcoast's Avatar
 
Join Date: Nov 2004
Posts: 800
WMP can do this from emmbedded Javascript on a webpage as well. Try search for that too if you can build pages. It obviously doesn't have to accually be online but would open with FF, IE etc...then lauch WMP
rightcoast is offline   Reply With Quote
Old 03-14-2005, 07:55 AM   #4
Member (10 bit)
 
rightcoast's Avatar
 
Join Date: Nov 2004
Posts: 800
I don't know if you into coding, but this will help you:


The following code in the header:


var stateTimer = null;

function playFullscreen() {
// Check if the video is playing. If it is, change
// to fullscreen. If not, start checking to see when
// it is.
if (3 == MediaPlayer.playState) {
MediaPlayer.fullscreen = 'true';
} else {
MediaPlayer.controls.play();
if (!stateTimer) stateTimer =
window.setInterval( checkState, 500 );
}
}

function checkState() {
// Check periodically to see if the video has
// started. If so, destroy the timer and change to
// fullscreen
if (3 == MediaPlayer.playState) {
window.clearInterval( stateTimer );
stateTimer = null;
MediaPlayer.fullscreen = 'true';
}
}




You can look into the WMP command line parameters and try a batch file to accomplish this too.....
rightcoast is offline   Reply With Quote
Old 03-14-2005, 04:31 PM   #5
Member (9 bit)
 
tim1477's Avatar
 
Join Date: Nov 2003
Location: Philly, PA, USA
Posts: 300
Send a message via AIM to tim1477
yea i know a little coding...html and im taking java this year in school. where would that code go, in my html or would i need to edit one of WMP's files?
tim1477 is offline   Reply With Quote
Old 03-14-2005, 04:36 PM   #6
Member (9 bit)
 
tim1477's Avatar
 
Join Date: Nov 2003
Location: Philly, PA, USA
Posts: 300
Send a message via AIM to tim1477
Quote:
Originally Posted by glc
What you need is a media player that can be launched in "kiosk" mode. I haven't found one yet, but I haven't looked too hard either. If you use the term "kiosk" in your searches that may help.
think it would work if i made a webpage with a full screen video on it, and launched internet explorer in kiosk mode?

edit: ok i got it to work using this way. sweet

Last edited by tim1477; 03-14-2005 at 05:24 PM.
tim1477 is offline   Reply With Quote
Old 03-15-2005, 09:56 AM   #7
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
Join Date: May 2000
Location: Joplin MO
Posts: 37,777
Sorry about the deletions, but the script was running and I made it uneditable by making it worse!
glc is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:22 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2