OZONE Asylum
Forums
Multimedia/Animation
Custom controls for windows media player Full Screen button
This page's ID:
25041
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, With my very limited javascript knowledge.... not to mention wmplayer's javascript api In http://lyndonborrow.com/sample/video_setting.js I believe you should change [code]function fullScreen() { var player=document.getElementById("solvideo"); if (solvideo.DisplaySize==3) { solvideo.fullScreen=true; } }[/code] to [code]function fullScreen() { var player=document.getElementById("solvideo"); if (player.DisplaySize==3) // player is the wmplayer object not solvideo { player.fullScreen=true; } }[/code] You could also do this: [code]function fullScreen(id) { var player=document.getElementById(id); // id is dynamic if (player.playState == 3) // check wmplayer status { player.fullScreen=true; } }[/code] This way you could use the function for different wmplayer objects. [small](Edited by [internallink=26277]bucabay[/internallink] on 07-19-2005 00:23)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »