Solved

getting embedded windows media player to loop

Posted on 2003-12-07
3
895 Views
Last Modified: 2012-08-13
I'm trying to embed a streamed media player, which works, but I can't get it to loop. Here are the files.

stream.html
<HTML>
<HEAD>
<TITLE>Embedded Windows Media Player 7 Control</TITLE>
</HEAD>
<BODY>
<OBJECT ID="Player" width="320" height="240"
 CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<PARAM name="autoRewind" value="True">
<PARAM name="autoStart" value="True">
<PARAM name="URL" value="http://www.mydomain.com/intro.asx">
</OBJECT>
</BODY>
</HTML>

intro.asx
<ASX version="3.0">
<Entry>
<ref HREF="mms://www.mydomain.com/intro.wmv">
</Entry>
</ASX>

I thought the autorewind param would do it, but the video just stops at the end. The target video file is a wmv file. Help greatly appreciated. Thanks.
0
Comment
Question by:skylabel
3 Comments
 
LVL 15

Expert Comment

by:Timbo87
ID: 9894632
Add:
<PARAM name="loop" value="True">

<HTML>
<HEAD>
<TITLE>Embedded Windows Media Player 7 Control</TITLE>
</HEAD>
<BODY>
<OBJECT ID="Player" width="320" height="240"
 CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<PARAM name="autoRewind" value="True">
<PARAM name="autoStart" value="True">
<PARAM name="loop" value="True">
<PARAM name="URL" value="http://www.mydomain.com/intro.asx">
</OBJECT>
</BODY>
</HTML>
0
 
LVL 1

Author Comment

by:skylabel
ID: 9894663
..Thanks Timbo but I thought of and tried that, but it still doesn't seem to work....
0
 
LVL 9

Accepted Solution

by:
pepsichris earned 200 total points
ID: 9895727
If you have JScript:

<SCRIPT LANGUAGE="JScript">
<!--
     Player.settings.setMode("loop",true);
-->
</SCRIPT>

It goes just after </object>

Although I just found that on the web, I don't really know much about this stuff.  Hope it works...
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question