OZONE Asylum
Forums
Multimedia/Animation
Multiple WMP streams don't go fullscreen
This page's ID:
26575
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
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> [/code] Thanks for looking! Anybody suggestions on how to fix this? Thanks!
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »