/    Sign up×
Community /Pin to ProfileBookmark

Windows media Player script problem

I have found this script and add them on my forum, but the problem is that it has no start or stop function. So everytime my members click or refresh the forum, the movie starts again. Is there anything I can do with the script so that I can add a start and a stop function or an user needs to click start in order to play the media ?
Any help would be appreciated. Thanks

[QUOTE]

<OBJECT id=”VIDEO” width=”320″ height=”240″
style=”position:absolute; left:0;top:0;”
CLASSID=”CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6″
type=”application/x-oleobject”>

<PARAM NAME=”URL” VALUE=”your file or url”>
<PARAM NAME=”SendPlayStateChangeEvents” VALUE=”True”>
<PARAM NAME=”AutoStart” VALUE=”True”>
<PARAM name=”uiMode” value=”none”>
<PARAM name=”PlayCount” value=”9999″>

</OBJECT>

[/QUOTE]

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@WoDJul 12.2005 — "So everytime my members click or refresh the forum, the movie starts again."

Not a damned thing you can do about that aside from popping it up in a separate window or having it in an individual frame (not an iframe, as that will also be reloaded)

When a user clicks from one page to another the page reloads, the content reloads, and thus the movie reloads. There is no way to store the state of a movie mid-play and have it resume from page to page, as far as I know. Mainly because such functionality is contrary to the very nature of the web.
Copy linkTweet thisAlerts:
@pangolin123authorJul 12.2005 — Thanks for the reply..

It does not matter whether if the movie reloads , but Is there any way from auto staring the movie itself ? I want the user to click the play function before viewing the movie.
Copy linkTweet thisAlerts:
@WoDJul 12.2005 — What happens if you change: <PARAM NAME="AutoStart" VALUE="True">

To: <PARAM NAME="AutoStart" VALUE="False">
×

Success!

Help @pangolin123 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.5,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...