Topic: Multiple WMP streams don't go fullscreen (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=26575" title="Pages that link to Topic: Multiple WMP streams don&amp;#039;t go fullscreen (Page 1 of 1)" rel="nofollow" >Topic: Multiple WMP streams don&#039;t go fullscreen <span class="small">(Page 1 of 1)</span>\

 
hoppekee
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Sep 2005

posted posted 09-01-2005 14:46

Hi, I have a simple webpage with two media player objects. They should be able to go fullscreen by pressing the button.

BUT..

It doesn't work. Only 1 of 2 will go to fullscreen mode. The other object gives an error. Press the button for object 1, and object 2 won't work. And vice versa.

Why can't I have Fullscreen on more than one media player on my page??

Here's my code:

code:
<html>
<head>

<title>Multiple WMP Fullscreen Test</title>

<script language="JavaScript">
function fullScreen(id)
{
	var player=document.getElementById(id);
	if (player.playState == 3)
	{
		player.fullScreen=true;
	}
}
</script>
</head>

<body>

	<table>
	<tr>
	<td>
		<object id="BB1" width="400" height="307" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject">
			<param name="URL" value="http://streamers.at.sara.garnierprojects.com/streamgate03">
			<param name="SendPlayStateChangeEvents" value="True">
			<param name="AutoStart" value="True">
			<param name="uiMode" value="none">
		</object>
	</td>
	<td>
		<object id="BB2" width="400" height="307" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject">
			<param name="URL" value="http://streamers.at.sara.garnierprojects.com/streamgate04">
			<param name="SendPlayStateChangeEvents" value="True">
			<param name="AutoStart" value="True">
			<param name="uiMode" value="none">
		</object>
	</td>
	</tr>
	<tr>
	<td>
		<input type=button name="bt11" value="Play" onClick="BB1.controls.play()">
		<input type=button name="bt12" value="Stop" onClick="BB1.controls.stop()">
		<input type=button name="bt13" value="Fullscreen" onClick="fullScreen('BB1')">
	</td>
	<td>
		<input type=button name="bt21" value="Play" onClick="BB2.controls.play()">
		<input type=button name="bt22" value="Stop" onClick="BB2.controls.stop()">
		<input type=button name="bt23" value="Fullscreen" onClick="fullScreen('BB2')">
	</td>
	</tr>
	</table>

</body>
</html>



Thanks for looking! Anybody suggestions on how to fix this? Thanks!



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu