Solved

getting embedded windows media player to loop

Posted on 2003-12-07
3
887 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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.…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now