<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hey, all!<br>
<br>
For some reason, I can use a videoview to view a streaming FLV just
fine. However, I can't seem to get it to work with an MP3. I've tried
using a simple videoview, a videoview with an embedded mediastream,
using a file on localhost, using files on a remote server, etc.
Nothing I do seems to help. From my tests, the files are loading fine,
I just can't get them to play.<br>
<br>
I've uploaded an MP3 to a public-facing server for a simple test.
Please give this test harness a shot:<br>
<br>
</font></font><font size="-1"><tt><canvas width="100%" height="100%"
debug="true"><br>
<simplelayout axis="y"/><br>
<br>
<videoview name="video" autoplay="true"><br>
<!-- <mediastream name="stream"
url=<a class="moz-txt-link-rfc2396E"
href="http://localhost:8080/lps-4.0.2/track4.mp3">"http://localhost:8080/lps-4.0.2/track4.mp3"</a>>
--><br>
<mediastream name="stream"
url=<a class="moz-txt-link-rfc2396E"
href="http://featurific.com/files/tmp/shiver.mp3">"http://featurific.com/files/tmp/shiver.mp3"</a>><br>
<handler name='onprogress'><br>
Debug.write("PROGRESS! " + progress)<br>
if(progress==1)<br>
{<br>
Debug.write("Come on, play!")<br>
play()<br>
}<br>
</handler><br>
<br>
<handler name='onrequest'><br>
Debug.write("REQUEST!")<br>
</handler><br>
<br>
<handler name='onurl'><br>
Debug.write("URL!")<br>
</handler><br>
<br>
<handler name='onload'><br>
Debug.write("LOAD!")<br>
</handler><br>
</mediastream><br>
</videoview><br>
<br>
<!-- <videoview
url=<a class="moz-txt-link-rfc2396E"
href="http://featurific.com/files/tmp/shiver.mp3">"http://featurific.com/files/tmp/shiver.mp3"</a>
autoplay="true"/>
--><br>
<br>
<!-- <videoview
url=<a class="moz-txt-link-rfc2396E"
href="http://site.airgundepot.com/video/agd.flv">"http://site.airgundepot.com/video/agd.flv"</a>
autoplay="true"
width="800" height="600"/> --><br>
<br>
<!-- <videoview
url=<a class="moz-txt-link-rfc2396E"
href="http://site.airgundepot.com/video/agd.flv">"http://site.airgundepot.com/video/agd.flv"</a>
autoplay="true"><br>
<animator name="movex" attribute="x" to="300"
duration="5000" start="true"/><br>
<animator name="movey" attribute="y" to="300"
duration="7000" start="true"/><br>
</videoview> --><br>
<br>
</canvas></tt></font><font size="-1"><font
face="Helvetica, Arial, sans-serif"><br>
<br>
As a side-note, I've been able to find examples of using a videoview
with a .flv file. However, I can't find any code examples on the net
of someone using a videoview with an MP3 file to provide just audio
alone. So strange for a feature that seems so powerful! (The original
laszlo killer-app (Pandora) relied profoundly on this feature, right?
Surprising...)<br>
<br>
Anyway, thanks in advance for your help! :)<br>
-Rich<br>
<br>
P.S. THis is my first post to the email group. Which is better for
questions like this - the email group or the forums on the website?
I'd imagine turnaround time is shorter here, and the discussion is
still indexed somewhere as Google-fodder, right?<br>
</font></font>
</body>
</html>