| Author |
Message |
Jefe
Guest
|
Posted:
Sat Jun 11, 2005 4:30 pm Post subject:
Double click and FullScreen |
|
|
hi group
when playing a video file using WindowsMediaPlayer if user double clicks on
the control it then will be switched to FullScreen mode but how can I prevent
it and not let the control to display the video in FullScreen mode?
Regards
|
|
| Back to top |
|
 |
michael--
Guest
|
|
| Back to top |
|
 |
Jefe
Guest
|
Posted:
Sat Jun 11, 2005 4:30 pm Post subject:
RE: Double click and FullScreen |
|
|
but how I can I prevent the FullScreen because in this event handler I set
FullScreen to False but it didn't helped.
"michael--" wrote:
|
|
| Back to top |
|
 |
michael--
Guest
|
Posted:
Sat Jun 11, 2005 4:30 pm Post subject:
RE: Double click and FullScreen |
|
|
here is the code
<html>
<head>
<script language="javascript1.2" type="text/javascript">
var WMP=new Object();
function setPlayerID() {
WMP=document.getElementById("MediaPlayer");
WMP.attachEvent("doubleclick",doubleClickEventHandler);
}
function doubleClickEventHandler() {
//YOUR CODE GOES HERE
WMP.controls.stop();
}
</script>
</head>
<body onload="setPlayerID()">
<object id="MediaPlayer"
classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6"
type="video/x-ms-wma" width="240" height="180">
<param name="autostart" value="true" />
<param name="stretchtofit" value="false" />
<param name="url" value="a.avi" />
<param name="uimode" value="none" />
</object>
</body>
</html>
"Jefe" wrote:
| Quote: | but how I can I prevent the FullScreen because in this event handler I set
FullScreen to False but it didn't helped.
"michael--" wrote:
Player.DoubleClick Event
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/playerdoubleclickevent.asp
hope it will solve your problem
"Jefe" wrote:
hi group
when playing a video file using WindowsMediaPlayer if user double clicks on
the control it then will be switched to FullScreen mode but how can I prevent
it and not let the control to display the video in FullScreen mode?
Regards |
|
|
| Back to top |
|
 |
Jefe
Guest
|
Posted:
Sun Jun 12, 2005 8:30 am Post subject:
RE: Double click and FullScreen |
|
|
michael I don't that will help because I don't want to stop playing I just
don't want the player to display in FullScreen mode when user double clicks
it, but thanx anyway
"michael--" wrote:
| Quote: | here is the code
html
head
script language="javascript1.2" type="text/javascript"
var WMP=new Object();
function setPlayerID() {
WMP=document.getElementById("MediaPlayer");
WMP.attachEvent("doubleclick",doubleClickEventHandler);
}
function doubleClickEventHandler() {
//YOUR CODE GOES HERE
WMP.controls.stop();
}
/script
/head
body onload="setPlayerID()"
object id="MediaPlayer"
classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6"
type="video/x-ms-wma" width="240" height="180"
param name="autostart" value="true" /
param name="stretchtofit" value="false" /
param name="url" value="a.avi" /
param name="uimode" value="none" /
/object
/body
/html
"Jefe" wrote:
but how I can I prevent the FullScreen because in this event handler I set
FullScreen to False but it didn't helped.
"michael--" wrote:
Player.DoubleClick Event
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/playerdoubleclickevent.asp
hope it will solve your problem
"Jefe" wrote:
hi group
when playing a video file using WindowsMediaPlayer if user double clicks on
the control it then will be switched to FullScreen mode but how can I prevent
it and not let the control to display the video in FullScreen mode?
Regards |
|
|
| Back to top |
|
 |
michael--
Guest
|
Posted:
Sun Jun 12, 2005 2:38 pm Post subject:
RE: Double click and FullScreen |
|
|
in this code only stop will works
if u replace the stiop action with any other code
let say alert('no double click');
while the user db_click it, the alert will comes up, but it will still go
into fullscreen
unless the user right click, and then whenever he db_click. it wont goes
into fullscreen
thats it, and this code only works it this way.
"Jefe" wrote:
| Quote: | michael I don't that will help because I don't want to stop playing I just
don't want the player to display in FullScreen mode when user double clicks
it, but thanx anyway
"michael--" wrote:
here is the code
html
head
script language="javascript1.2" type="text/javascript"
var WMP=new Object();
function setPlayerID() {
WMP=document.getElementById("MediaPlayer");
WMP.attachEvent("doubleclick",doubleClickEventHandler);
}
function doubleClickEventHandler() {
//YOUR CODE GOES HERE
WMP.controls.stop();
}
/script
/head
body onload="setPlayerID()"
object id="MediaPlayer"
classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6"
type="video/x-ms-wma" width="240" height="180"
param name="autostart" value="true" /
param name="stretchtofit" value="false" /
param name="url" value="a.avi" /
param name="uimode" value="none" /
/object
/body
/html
"Jefe" wrote:
but how I can I prevent the FullScreen because in this event handler I set
FullScreen to False but it didn't helped.
"michael--" wrote:
Player.DoubleClick Event
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/playerdoubleclickevent.asp
hope it will solve your problem
"Jefe" wrote:
hi group
when playing a video file using WindowsMediaPlayer if user double clicks on
the control it then will be switched to FullScreen mode but how can I prevent
it and not let the control to display the video in FullScreen mode?
Regards |
|
|
| Back to top |
|
 |
Jefe
Guest
|
Posted:
Sun Jun 12, 2005 2:52 pm Post subject:
RE: Double click and FullScreen |
|
|
well thanx michael
"michael--" wrote:
| Quote: | in this code only stop will works
if u replace the stiop action with any other code
let say alert('no double click');
while the user db_click it, the alert will comes up, but it will still go
into fullscreen
unless the user right click, and then whenever he db_click. it wont goes
into fullscreen
thats it, and this code only works it this way.
"Jefe" wrote:
michael I don't that will help because I don't want to stop playing I just
don't want the player to display in FullScreen mode when user double clicks
it, but thanx anyway
"michael--" wrote:
here is the code
html
head
script language="javascript1.2" type="text/javascript"
var WMP=new Object();
function setPlayerID() {
WMP=document.getElementById("MediaPlayer");
WMP.attachEvent("doubleclick",doubleClickEventHandler);
}
function doubleClickEventHandler() {
//YOUR CODE GOES HERE
WMP.controls.stop();
}
/script
/head
body onload="setPlayerID()"
object id="MediaPlayer"
classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6"
type="video/x-ms-wma" width="240" height="180"
param name="autostart" value="true" /
param name="stretchtofit" value="false" /
param name="url" value="a.avi" /
param name="uimode" value="none" /
/object
/body
/html
"Jefe" wrote:
but how I can I prevent the FullScreen because in this event handler I set
FullScreen to False but it didn't helped.
"michael--" wrote:
Player.DoubleClick Event
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/playerdoubleclickevent.asp
hope it will solve your problem
"Jefe" wrote:
hi group
when playing a video file using WindowsMediaPlayer if user double clicks on
the control it then will be switched to FullScreen mode but how can I prevent
it and not let the control to display the video in FullScreen mode?
Regards |
|
|
| Back to top |
|
 |
michael--
Guest
|
Posted:
Sun Jun 26, 2005 4:30 pm Post subject:
RE: Double click and FullScreen |
|
|
Well, i got excatly what you want.
http://channel9.msdn.com/default.aspx
the videoclip on this page doesnot go fullscreen on doubleclicking.
check it out!
"Jefe" wrote:
| Quote: | well thanx michael
"michael--" wrote:
in this code only stop will works
if u replace the stiop action with any other code
let say alert('no double click');
while the user db_click it, the alert will comes up, but it will still go
into fullscreen
unless the user right click, and then whenever he db_click. it wont goes
into fullscreen
thats it, and this code only works it this way.
"Jefe" wrote:
michael I don't that will help because I don't want to stop playing I just
don't want the player to display in FullScreen mode when user double clicks
it, but thanx anyway
"michael--" wrote:
here is the code
html
head
script language="javascript1.2" type="text/javascript"
var WMP=new Object();
function setPlayerID() {
WMP=document.getElementById("MediaPlayer");
WMP.attachEvent("doubleclick",doubleClickEventHandler);
}
function doubleClickEventHandler() {
//YOUR CODE GOES HERE
WMP.controls.stop();
}
/script
/head
body onload="setPlayerID()"
object id="MediaPlayer"
classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6"
type="video/x-ms-wma" width="240" height="180"
param name="autostart" value="true" /
param name="stretchtofit" value="false" /
param name="url" value="a.avi" /
param name="uimode" value="none" /
/object
/body
/html
"Jefe" wrote:
but how I can I prevent the FullScreen because in this event handler I set
FullScreen to False but it didn't helped.
"michael--" wrote:
Player.DoubleClick Event
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/playerdoubleclickevent.asp
hope it will solve your problem
"Jefe" wrote:
hi group
when playing a video file using WindowsMediaPlayer if user double clicks on
the control it then will be switched to FullScreen mode but how can I prevent
it and not let the control to display the video in FullScreen mode?
Regards |
|
|
| Back to top |
|
 |
wilma
Joined: 11 Mar 2005
Posts: 12
|
Posted:
Mon Jul 18, 2005 11:55 pm Post subject:
windowless video |
|
|
| I think if windowlessvideo = true, the doubleclick won't lead to fullscreen without a need for a stop. |
|
| Back to top |
|
 |
Neil Smith [MVP Digital M
Guest
|
Posted:
Tue Jul 19, 2005 12:30 pm Post subject:
Re: windowless video |
|
|
I think we'll need rather more example code and background to your
problem to test your assertion.
Cheers - Neil
On Mon, 18 Jul 2005 19:30:29 -0500,
unknown@unknown-dot-com.no-spam.invalid (wilma) wrote:
| Quote: | I think if windowlessvideo = true, the doubleclick won't lead to
fullscreen without a need for a stop. |
|
|
| Back to top |
|
 |
|
|
|
|