|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
|
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. |
|
|
|
|
|
#2 |
|
Forum Administrator
Staff
Premium Member
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.
|
|
|
|
|
|
#3 |
|
Member (10 bit)
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
|
|
|
|
|
|
#4 |
|
Member (10 bit)
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..... |
|
|
|
|
|
#5 |
|
Member (9 bit)
|
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?
|
|
|
|
|
|
#6 | |
|
Member (9 bit)
|
Quote:
edit: ok i got it to work using this way. sweet Last edited by tim1477; 03-14-2005 at 05:24 PM. |
|
|
|
|
|
|
#7 |
|
Forum Administrator
Staff
Premium Member
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!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|