Solved

getting embedded windows media player to loop

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

Technology Partners: 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

Suggested Solutions

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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 code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

726 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