ActionScript 2.0 :: Netscape 7 Streaming MP3 Won't Play?
Aug 22, 2003
why the attached code works in IE but not in Netscape?
When I click the button in IE, I get the "loading" message and then the file plays.
In Netscape, I get the "loading" message and then nothing else happens.
Also, in another different file I am loading 10 short MP3's dynamically to an array. I set _soundbuftime = 0, loaded the sounds as streaming and immediately used stop() so they wouldn't play as soon as they were loaded. I am doing this so all the sounds begin to load at the beginning of the movie but the user can play the first sound without having to wait for the last sound to load. (as I think they would if I didn' t stream them)
Anyway, in IE everything works fine but in Netscape 7 all the sounds begin streaming as soon as they begin to load (ie the stop() command doesn't seem to work) and do not stop.
View 1 Replies
Similar Posts:
Jun 22, 2004
Just went live with a soft launch for this site....[URL]Works great in i.e Click on Shows> and any Show from left.When i watch in Netscape i looks like its not getting the variables from the page. So it wont load the right stuff.Heres th code that calls in the variable.
Code:
stop();
path = "content_media/";
myvars = new LoadVars();
myvars.loadVariables("Show_Page.aspx");
[code]....
View 11 Replies
Jun 22, 2004
Just went live with a soft launch for this site....http:[url]....Works great in i.e .Click on Shows> and any Show from left.When i watch in Netscape i looks like its not getting the variables from the page. So it wont load the right stuff.Heres th code that calls in the variable.
Code:
stop();
path = "content_media/";
myvars = new LoadVars();[code]....
View 10 Replies
Mar 2, 2011
I used NetStream.play("invalid-live-stream-url") to play an invalid live stream. The other arguments are using default, e.g. start = -2, len = -1.
The menu says that when we use the default "start" and "len" to call "NetStream.play", "Plays the live stream until it is no longer available. If a live stream of the specified name is not found, Flash Player plays a recorded stream until it ends."
However, I do not have a recorded stream on the server that has the same name as the live stream, and I did not get the expected "NetStream.Play.StreamNotFound" error.
View 1 Replies
Aug 20, 2004
Instead of using a created back button, how do I put the script on the back and forward button on IE Netscape browser buttons?
View 5 Replies
Oct 5, 2010
I need to play an flv in streaming in a website build on a php/apache2/mysql CMS.I like a lot [url]... website and i would like to use this layout with a flv as header.
View 2 Replies
Apr 26, 2011
I am working on my new project and i want to play streaming mp4 video in it ...so is it possible to play streaming mp4 in as 2.0? [code]...
View 4 Replies
Apr 24, 2010
import flash.media.Sound;import flash.media.SoundLoaderContext;import flash.net.URLRequest;var sound:Sound;var url:URLRequest=new URLRequest("http://91.121.142.100:8008/;");sound = new Sound();var
[code]....
View 2 Replies
Mar 1, 2011
my problem is that FLV streaming stopped for seconds.i found this log in edge log file. (below)
#Version: 1.0
#Start-Date: 2011-03-01 00:08:40
#Software: Adobe Flash Media Server 3.5.1 r516
[code].....
View 5 Replies
Apr 26, 2011
I am working on my new project and I want to play streaming mp4 video in it. So is it possible to play streaming mp4 in as 2.0? It only starts playing when video is loaded fully.
PHP Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.setBufferTime(1);
ns.play("INTRO.mp4");
View 1 Replies
Sep 30, 2010
I had a question. So now I am streaming an mo3 file using the sound object (loadSound function) ...So the mp3 is loading (and I have a progress bar showing the percentage loaded) and while it is loading it is being played. Now, when the playhead (the location being played) reaches the end of whatever has been download, it goes to the beginning (repeats). I am looking for a way to make the sound pause once it reaches the end, and then wait until a reasonable amount has been downlaoded, so that it may continue playing again. I hope I was clear.
View 5 Replies
Nov 14, 2010
I am trying to create a simple desktop app to play a live radio stream from a shoutcast server. I cannot get it to play. I am now wondering if it is even possible using the Flex/Air platform. Here is my code:
package
{
import flash.display.Sprite;
import flash.display.StageAlign;
[Code]....
View 5 Replies
Jan 26, 2004
I was wondering if it's possible for flash to play a music stream off of di.fm. They have a jazz stream that would fit perfect for the site I'm working on.
View 2 Replies
Apr 20, 2009
I have just a play and pause button on a website I'm creating for a client that streams one mp3 song. It works great with the code below, but the problem is that when it reaches the end, it doesn't loop back to the beginning. I would like for the user to be able to press the play button at the end to hear the song again, or include another button that rewinds back to the beginning.
Code:
this.createEmptyMovieClip("sound_mc", 10);
music = new Sound(sound_mc);
music.loadSound("[URL]", true);
music.start();
active_button = "play";
[Code] .....
View 1 Replies
Jan 26, 2004
I was wondering if it's possible for flash to play a music stream off of di.fm. They have a jazz stream that would fit perfect for the site I'm working on.
View 2 Replies
Jan 11, 2011
What code should I use in AS2.0 if I wish to make my swf application play streaming video. Right now I am using the NetStream interface, but as I realize it is only capable to buffer the video from the very beginning.
View 1 Replies
Sep 26, 2009
How can I streem a video into flash and have the user be able to pause play stop and ff and RW? I can play a streeming video now but I can't get it to respond to controlls.
Here is how I'm importing it.
url = "http://www.hotflashtoons.com/video/SIIDUnratedTrailer.flv";
// initialize net connection and stream
var netConn:NetConnection = new NetConnection();
netConn.connect(null);
[Code].....
View 9 Replies
Jul 13, 2010
After I updated Adobe flash player I noticed that videos I streamed did not play correctly.A video will begin to play but part way through it will freeze. It will indicate that it is buffering but it never finishes buffering and never continues to play, even if I refresh it.This occurs for several sites such as youtube, megavideo, and wisevid. This occurs for every browser I have tried (Firefox, IE, and Opera.) I also realized today that now iTunes cannot not download video either. When I try it says that parts of the files seem to be corrupted. I have uninstalled and reinstalled flash several times but that has not helped. I am using Adobe 10.1 (under version test it says it is WIN 10,1,53,64) and I have Windows 7
View 1 Replies
Feb 24, 2010
I just need something simple, where there is only pause, play and stop buttons. I usually load the music within the flash movie and play from there, but I would like to build one where if you press play, the music loads and plays streaming on the spot. I have got a couple of more complex streaming style mp3 players but I would like to use a simplified streaming version. Any recommendations or code that I can just add to a button?
View 1 Replies
Sep 9, 2011
We're using HTTP live streaming service designed for Apple's iOS devices. It's working well with iOS devices currently.
Source video fragments are stored in server formatted in H.264 and with MPEG2(.ts) container. Is there a way to play these video in Flash platform?
[Code]...
View 2 Replies
Mar 21, 2003
i have a button that when you click on it it moves forward to a frame labelled "row2". it works on ie but not on netscape? the code i am using is
[Code]...
View 1 Replies
Oct 8, 2010
Writing RTMP Streaming Server for streaming AVC+AAC video. And it works fine with rtmpdump. But I can't force it to work in flowplayer and other flash video players.The message sequence after handshake is similar to FMS / RED5 / erlyvideo / haxevideo servers: I've tried a lot of variations.
From Chrome debug console I can see, what all negotiating messages passed to the flowplayer. The last one is onMetaData. And after this the working sample (rtmp://flash.tvwmedia.net/LiveVideo//Live300) gets NetStream.Buffer.Full. And streaming from my server don't get it.
I'm starting with AVC Header message, containing sps/pps. After it first AVC picture passed. After - AAC header and AAC sample. And then AVC/AAC samples. This dumped OK by rtmpdump - I have working flv on exit. But flowplayer and others does not work.
[Code]...
View 2 Replies
Sep 23, 2010
I am streaming pre recorded audio files (mp4) to an AIR client. I have tried two different solutions,
streaming the file directly with the NetStream.play("mp4:xxxxx.m4a") and creating a server side playlist, adding the same sound clip and then streaming the playlist. The problem is, when streaming the playlist i get a few NetStream.Play.InsufficientBW, this does not happen when streaming the file direct. Both solutions uses bufferTime=1.0
I would like to use a server side playlist to implement a simple key solution so that the client dont know the full path to the file, but instead sends a key to a custom server side function that looks up the file path and creates a stream for the client.
View 1 Replies
Jul 14, 2011
Can an iphone app developed with Adobe AIR (version 2.6/2.7) play a streaming sound when it is in background? Only native application can play in background? I have not found a clearly response to this question on documentation. PS: i'm using the Adobe AS3 class Sound to play a shoutcast streaming.
View 2 Replies
Jun 10, 2011
I want to play smooth streaming video from IIS using the flash video player like e.g. jw flash player instead of silverlight player?Which video format should I use in this case? Can flash then play e.g a video via smooth streming encoded with microsoft encoder?Do you know some alternative video players, that combines flash and silverlight functionality (selected per java script) to use with flash and silverlight?
View 1 Replies
Dec 14, 2010
As of Flash 10.1, they have added the ability to add bytes into the NetStream object via the appendBytes method URL...The main reason for this addition is that Adobe is finally supporting HTTP streaming of video. This is great, but it seems that you need to use the Adobe Media Streaming Server (URL...) to create the correct video chunks from your existing video to allow for smooth streaming.I have tried to do a hacked version of HTTP streaming in the past where I swap out the NetStream objects (URL...), but there is always a momentary pause between the chunks. With the new appendBytes, I tried to do a quick mock up with the two sections of video from the preceding site, but even then, the skip still remains.Does anyone know how the two consecutive .FLV files needs to be formated in order for the appendBytes method on the NetStream object to create a nice smooth video without a noticeable skip between the segments?
View 6 Replies
Jul 2, 2009
We are streaming a one hour F4V from streaming media server 3.5.2 and for some reason it is seeing our one hour video as being 10 hours long. We have tons of other videos and never ran into this problem in any of the other files. This is the only file that exceeds one hour. This occurs in the default player from the streaming server.
View 1 Replies
Jan 8, 2009
Is it possible to stream mp3 files from mms url's like this? [URL]
It throws an error when i try the way i use to load mp3 files (it works with other mp3s):
var sndObject:Sound= new Sound();
var reqObject:URLRequest=new URLRequest("mms://example.streamsvr.com/example.mp3");
sndObject.load(reqObject);
[Code]....
View 1 Replies
Feb 24, 2010
I have a virtual directory (Storage Area Network) in 'C' drive as well as in "webroot" folder in Flash Streaming Server. What do I need to do to make RTMP videos work from SAN directory on Flash Streaming Server. It works fine for http. RTMP from vod -> application folder works fine. I have done a lot of research and found out that we can use virtual directories for streaming videos. I am unable to find steps on how to use it..
View 4 Replies
Sep 29, 2009
We (the university I work for) want to add an IP camera to the top of a building (so it has to be IP, we can't put a machine up there, so USB is out of the question) to stream a live view of the quad. The problem is, I can't find a way to stream any IP Cameras through the flash live encoder. I tried a camera by Axis, but their capture driver only supported MJPEG which the live encoder does not.
View 3 Replies