?
Solved

getting embedded windows media player to loop

Posted on 2003-12-07
3
Medium Priority
?
904 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 800 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
Suggested Courses

770 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