Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-30-2006, 10:35 AM   PM User | #1
skatermike21988
New Coder

 
Join Date: Oct 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
skatermike21988 is an unknown quantity at this point
Custom wmp controls

Hi i am trying to make custom windows media player controls, i have googled and all results are the same, when i try these i recieve: object doesn't support this method


here is my code:

Code:
<script>
function pause() {
 document.MediaPlayer1.pause();
 }
</script>

<a href='#' onclick='pause()'>Pause</a>

<OBJECT ID='MediaPlayer1' width='0' height='0' 
classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6'
type='application/x-oleobject'>
<param name='URL' value=''>
<param name='AutoStart' VALUE='True'>
<param name='uiMode' value='full'>
<PARAM NAME='showControls' VALUE='false'>
<embed type='application/x-mplayer2'
src='' id='music' name='MediaPlayer1'>

</embed>
</object>
Doing this is the way every forum/tutorial has told me. Why am i getting errors?
Please Help. Thanks
skatermike21988 is offline   Reply With Quote
Old 12-30-2006, 12:04 PM   PM User | #2
skatermike21988
New Coder

 
Join Date: Oct 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
skatermike21988 is an unknown quantity at this point
Quote:
Originally Posted by Ancora View Post
didn't help any, i tried that and i still get errors, with that i get that Player is undefined
skatermike21988 is offline   Reply With Quote
Old 12-30-2006, 12:07 PM   PM User | #3
skatermike21988
New Coder

 
Join Date: Oct 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
skatermike21988 is an unknown quantity at this point
nm, i'm dumb, i got it.
skatermike21988 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:34 AM.


Advertisement
Log in to turn off these ads.