ActionScript 2.0 :: Possible To Play MP4 Video While Streaming
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
Similar Posts:
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
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
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
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 17, 2009
I am looking to broadcast live video and need a camera that is better than a simple webcam. It looks like they used to make video cameras that would register as webcams, but stopped making them.If you wanted to broadcast an event live, what would be a good camera to use?
View 5 Replies
Apr 10, 2011
I am streaming flash video and the dimension of the video is 1280 by 720 (same size as the stage)
but just before the video streams, there is a quick flash of the video (about 320px by 240px) at the top corner of the stage, and then it plays the videos at the correct size (which is 1280 by 720) .... a quick flash is the best way I can explain it.
This is my code:
function clicked(event:MouseEvent):void {
var video:Video = new Video();
addChild(video);
[Code]....
is there anyway I can stop that quick flash of the video .... so when I click on the button, it just plays the video, at the correct size?
View 4 Replies
Jan 30, 2004
I am trying to make a flash movie and have it find a external movie to show. I also need to be able to change the location of the video without flash, so I think I have to use a seperate .as file.
View 6 Replies
Feb 18, 2010
I have loaded an external video with playback component in Flash CS4.
Now the question is do I need to add streaming script or not?
View 2 Replies
Apr 18, 2011
I need to play preview video first, before starts play any other video. I am using jw player
View 1 Replies
Oct 31, 2010
I need a flash video player for our public site where users will share videos.The video usage model is similar to youtube as far as video part is concerned.Users will upload and share videos. Users will browse and play all shared videos as well.The videos will be streamed from the server and our app is a .NET/C#/JQuery application.We have 3 options:
1) Either buy a commercial flash player
2) Customize a open source player or use free player and customize its gui
3) Develop our own (time consuming and last resort)
I am required to find a flash video player with these requirements:
Player should work in all major browsers (IE, FF, Chrome, Safari)
Player should have way to inject Advertisement clips when playing a video file
Light weight and easy to integrate
Must support streaming and scale
Plus all other basic features of a flash video player.
View 1 Replies
Apr 11, 2011
Possible Duplicate: Flash video player for video streaming.is there any good and open-source video player to be embed in as3, no flex, html, and js.i tried
f4player.org
https:[url]....but i found tons of bugs,if you know any comercial player, that would be awesome too.
View 1 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
Jul 19, 2010
I'm looking to duplicate the video-embedding technique shown on [URL], whereby they show the flash video to all platforms where flash is available, and only show the HTML5 player on mobile devices. (specifically, iphone / ipad)
Is there a browser-sniffing framework, or some other method available to accomplish this?
View 2 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
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
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
May 12, 2009
Got a large file 12 minutes long clip and I compressed it with the adobe optimization program adobe media encoder. I got a 350 megbite file to be 60 megabites as a 320X240. I choose also a medium size video file. How do I keep the video quality and stream it (like hulu would do) or how do I compress it smaller than 60 megabites and keep the same quality. Either or. I am not familiar with web video so I am trying to make the file as small as I can in size with the most amount of quality.
View 3 Replies
Jul 23, 2009
I'm new to the streaming video world but I do have FMS 3.5 up and running and have encoded some wmv and mp4 videos to flv using adobe encoder CS4. I followed the tutorials and have created the swf files in flash CS4 and the videos are streaming as expected.
The primary issue I am having is the videos tend to be choppy at times. They pause, run slowly, audio pops and just overall; glitchy. Typically at the beginning but some times throughout. The test files at the FMS admin page stream fine without issue from the same server. We have tested the site/streams from multiple providers all at cable modem speed or above.
We are running FMS 3.5 developer version and wish to purchase the full version but I really need to fix this issue to prove it's value.As a bit of background we are running/testing FMS 3.5 from a server with the following specs:Redhat EL 4.6-32 SuperMicro X7DBU Intel Xeon QuadCore DualProc Sata [2Proc] Intel Xeon-Harpertown 5420-Quadcore [2.5GHz] OEM 4GB ECC FB-DIMM DDR2 Mainboard Onboard SATAII Controller (2) Western Digital WD Caviar RE 16 WD2500YS Uplink speed 10 (Mbps) Bandwidth allotment 2000 GB(Virtual Private Rack)
View 2 Replies
Sep 22, 2011
I know Flash can capture webcam and record the video to FMS.Can I publish a streaming video to FMS ?
I mean, I am streaming a video with netstream and I want record to FMS the output of that video.
View 3 Replies
Apr 18, 2010
I have a "Play video" button that does exactly that, it loads a flv video and plays it - I can stop, pause and play the video. Now, I want to add a streaming bar.
View 2 Replies
Jun 18, 2009
I'm trying to decide whether, for my particular application, I would be better off delivering video via streaming or progressive download. Here's the situation: Background: this will be a learning drill for learning foreign language phrases. There will be a series of ten short video clips, each one a headshot of a native speaker, saying a single sentence. The background is static so the only thing changing will be facial expressions, so compression should be pretty effective. Each clip will be approximately 4-6 seconds total length. Resolution will be approximately 360 X 270.
The way this particular drill works makes me wonder if perhaps progressive downloading might make more sense than streaming. But like I said, I'm not a Flash developer, so I could easily be wrong. (Did I mention we're currently looking for a talented, reliable Flash developer?) So here's how it will work: Drill will load up showing written text of instructions, along with audio of the narrator reading the instructions aloud. Approximate length of the audio instructions will be 15 seconds. (I"m thinking progressive download could begin during the reading of the instructions.)
After the instructions have been read, the intructional text goes away and is replaced with (from top to bottom) the text for the first sentence, the video box with a static image of the first frame, a "Begin" button. When the user clicks the "Begin" button, the video begins to play, and the "Begin" button transforms into a "Repeat" button, which is inactive while the video plays. When the video ends, the "Repeat" button becomes active. Clicking the "Repeat Button" causes the same video clip to play a second time (again, the "Repeat" button is inactive while video plays.
View 1 Replies