/    Sign up×
Community /Pin to ProfileBookmark

.control has no properties.

Basically we’ve been having this problem in which our custom buttons are not working with the embedded windows media player in both firefox and IE. We’ve tried both codes shown below and still get no result. Can anyone tell me what we have been doing wrong? If more code is needed to post, then I will surely do so. Thanks.

[CODE]document.getElementById(“showLogo”).controls.play();
// document.showLogo.controls.pause();[/CODE]

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@felgallFeb 27.2006 — The HTML that this is referencing would help.
Copy linkTweet thisAlerts:
@methoauthorFeb 27.2006 — The HTML that this is referencing would help.[/QUOTE]


[CODE]<!-- -------------------------------------------------------- -->
<!-- control buttons for the header video player left-side -->
<!-- -------------------------------------------------------- -->
<!-- area href='#pause' alt='Pause' tag='Pause' coords='14,50,33,61' shape='RECT' onClick='javascript:mediaStop()' -->

<map name='left'>
<area href='#pause' alt='Pause' tag='Pause' coords='14,50,33,61' shape='RECT' onClick='document.getElementById("showLogo").Controls.stop();'>
<area href='#Rewind' alt='Rewind' tag='Rewind' coords='14,70,33,78' shape='RECT' onclick='javascript:mediaRewind()'>
<area href = '#External Video'
alt = 'External Video'
tag = 'External Video - video will restart from beginning'
coords = '28,118,41,130'
shape = 'RECT'
onClick = 'window.open("http://tribeca.net/external_video.html","","z-lock,alwaysRaised,width=580,height=475")'
>
</map>



<!-- -------------------------------------------------------- -->
<!-- control buttons for the header video player right-side -->
<!-- -------------------------------------------------------- -->
<map name='right'>
<area href='#play' alt='Play' tag='Play' coords='11,40,25,62' shape='RECT' onclick='javascript:mediaPlay()'>
<area href='#FF' alt='FF' tag='FF' coords='11,71,32,80' shape='RECT' onclick='javascript:mediaFF()'>
<area href='#Random' alt='Random' tag='Random' coords='23,108,48,133' shape='RECT' onclick='document.getElementById("logodiv").innerHTML=recycle_video();'>
</map>

[/CODE]

Do you mean this?
×

Success!

Help @metho spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...