Flash Video Jukebox - Sound Stops After 45 Minutes

Apr 13, 2011

I made a flash video jukebox, so it reads a dynamic playlist of F4V files for hours. Everything works well but after about 45 min the sound stops and after 2 hours the flash player plug in crashes. It seems like the cache is not accepting more F4V videos and then crashes. If I auto-refresh the browser every 2 hours it works but I would like to avoid having to refresh the browser and just clear the flash player cache if that's where the F4V go? I can't find any info about where the F4V files go when you play them!

Frame 1 gives the variable vidReference the value of the video file name:
VidReference = trackToPlay;
Frame 2 does the playing:
var nc:NetConnection = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nc.connect(null);
[Code] .....

This is the function that detects when video is done playing, still on frame 2:
function netStatusHandler(event:NetStatusEvent):void {
switch (event.info.code) {
case "NetStream.Play.StreamNotFound": newTrack();
break;
case "NetStream.Play.Stop": newTrack();
break;
}}

And the function newTrack() is just giving the variable trackToPlay a value (the file name of the next video). And then says to gotoAndPlay frame 1, so it kind of reinitializing the player. The objects are re declared in frame 2, is that the problem here?

View 2 Replies


Similar Posts:


Media Server :: After 70 Minutes, The Video Stops Playing?

May 13, 2010

I bought Adobe Flash Media Streaming Server 3.5 and I have problems with large video.After 70 minutes, the video stops playing.

View 8 Replies

Flash :: Video Stops And Sound Continues?

Jan 4, 2010

I have noticed a very frustrating error in flash lately. I will be watching a video in full screen mode...on any site...then all of the sudden, the video freezes and the sound continues. This does not fix automatically. I have to minimize the video from full screen to default size and then the video unfreezes and I can then go back to full screen mode.However, eventually I have to repeat this because the video freezes again.

This happens in Firefox 3.5.6 and Chrome 4.0.249.43. I am near certain I can get this to happen in any browser but I don't use other browsers to play videos so I have not tested my theory. All I know is that the problem is very consistent.
 
I am using Flash Player 10 ActiveX version 10.0.32.18 in XP Pro SP3.

View 6 Replies

Media Server :: Multicast Stops After About 2 Minutes?

Feb 28, 2011

We are testing IP Multicast, with Flahs media player 4.0. We set up the encoder and generated the manifest file. Multicast start, but we see lot of bufferring and video running fast. After about 2 minutes, the encode stops publishing to the server. We are using digital rapids as the encoder.

View 3 Replies

ActionScript 1/2 :: Make Button On Rollover Starts Sound And Rolloff Stops Sound?

Jul 28, 2009

I have several buttons in a movie and I want to be able to rollover an individual button and play the sound for that button and when I rolloff I want the sound for that button to stop.

View 6 Replies

Flash :: Video Streaming Stops

Aug 24, 2010

I have a problem with an embedded  flash video not playing to the end, it stops around half way It is a 4 minute video with sound, the FLV file is around 24Mo This is a normal server not a flash streaming server .

I have at least 10 other sites on line with a flash video on the home page and they all work fine.on the same server.only difference is that this file is about 10 Mo bigger on average.

I contacted the company where my server is hosted and they say that it looks like a java script problem but I am using flash 8 pro standard <object> no java script to detect version etc.[code]...

View 1 Replies

Creating A Jukebox In Flash?

Jan 27, 2010

Basically, as a part of my college assignment, I have to create a media jukebox in Flash. However, I have never actually used Flash before in my life, so I'm completely lost. create a jukebox or point me to a simple tutorial that shows how to make it.

I searched on Google but the best I found was this:[URL]. It looks simple but it requires some sort of extension which costs �70.I made a rough design of the jukebox in PowerPoint. I don't know whether or not I will be able to actually make something that looks like it though.

View 4 Replies

IDE :: Flash Video Plays For 2 Seconds And Then Stops

Jun 19, 2009

[URL] Some of the clips play fine, others play for 2 seconds and then stop.

View 2 Replies

ActionScript 3.0 :: NetStream Choppy - Make A Character Start To Talk When The Sound Starts And Stop Talk When The Sound Stops

Aug 5, 2010

Need to make a character start to talk when the sound starts and stop talk when the sound stops so I'm using this:

[Code]...

View 2 Replies

Media Server :: Can't Resume Video Stream After 5 Minutes Inactivity

Jul 10, 2011

I originally posted this question on Flash Player forum but I've got a feeling it needs configuring at the server end, so I thought I'd ask you more technical guys.
 
When viewing streamed videos on a guitar tutorial website, if I pause for 5 minutes or more (to practice) I can't continue playing the video. When I click play it says 'loading' but just stays like that continually, or until the window is refreshed. The site uses real time streaming, not progressive downloading.
 
So I guess the connections timed out and been dropped after 5 minutes of inactivity, is this right? If so, has it been dropped by the server or by the player? Can it be configured at either end to stop this, or to lengthen the time before it happens?

View 14 Replies

ActionScript 2.0 :: Timer Stops The Sound

Feb 2, 2009

I've got a simple timer set up... heres the code for the frame:

[Code].....

heres my problem: when i start the timer with the start button, it stops the music... why is that, and how can i prevent it?

View 1 Replies

ActionScript 3.0 :: Sound Stops Working Randomly?

Dec 6, 2009

I imported a .aif sound in to my library and gave it a class name of "Beat". I'm using this sound as a rollover effect. So I have my variable initiated at the top like so:

Code:
var snd:Beat= new Beat();
My listener's function like so:

[code].....

View 1 Replies

Actionscript 3 :: Sound Stream Stops Loading?

Jan 28, 2011

I have a little sound stream script here, but sometimes if you press play to the next track before the current has done loading the next track doesn't comeplete loading

package player {
import flash.events.Event;
import flash.display.Sprite;

[Code]....

View 1 Replies

Actionscript 3 :: Sound.play() Stops Animation,?

Feb 13, 2011

I have a working Flash movie, using a couple of AS3 scripts. The main stage has some animation going on. My player.as plays some mp3 clips when I click a button. The problem is, the stage animation stops as soon as the sound starts ie. Sound.play() starts, then animation starts again when the sound ends.

The animation is based on

this.addEventListener(Event.ENTER_FRAME,loop3D);

so I gather something happens to ENTER_FRAME due to Sound.play(). What is weird is everything works perfectly on the Flash Test movie (ctrl+Enter). The animation does NOT stop during sound. What to do to make sure the animation goes on always?

View 1 Replies

ActionScript 3.0 :: Stop Sound When Object Stops Animating At End Of Stage?

Nov 14, 2011

I am trying to make the sleigh bell sound stop when my object(santa) reaches the end of stage. First of all, I don't exacly know how to write an if statement, second I get an error when I try to stop the sound.

var mySound:Sound = new bellsSound();
mySound.play();
var myTween:Tween = new Tween(santa, "x", Regular.easeOut, -100, 810, 25, true);
addChild(santa);

[Code]...

View 13 Replies

ActionScript 3.0 :: VIDEO Stops Playing, Continue Playing Flash Movie?

Aug 7, 2009

I am loading an external SWF file into my main timeline. The external SWF file contains an FLV video. At a certain point in my main timeline, the SWF file loads and plays the video. Is there a way to say...

If the VIDEO (FLV) is done playing, gotoAndPlay(X)?

View 4 Replies

IDE :: Video Player Stops Playing Before The End?

Jul 6, 2009

I have a FLV player that stops playing right before the end of the video.

View 1 Replies

ActionScript 3.0 :: Add A Button When Video Stops Playing?

Sep 23, 2009

I created an FLV of my movie and am using the Slideshowpro for flash component to play the FLV in my SWF. (Not the built in FLVPlayback component) The video is about 2 minutes long.At the end of the video playing I would like a button to pop up that people can press to send an email to request more information. I have no idea what the best way to go about doing this would be and I do not know AS well at all.Currently my only thought is to make my player.swf (the one that plays my video) as long as my video (appr. 2 minutes) and then fade in a button towards that people can use. This would probably work but it is probably not the most efficient way of accomplishing this.Does anyone have any suggestions? I have been searching for things like adding annotations to flash movies just as YouTube does but have not found anything so far.

View 4 Replies

ActionScript 2.0 :: Embed Video Stops When Tweened?

Jan 7, 2011

I have an embedded video on time line. I gave it an instance name and tweened it to move left using the tween class. Video moves as expected, but while moving it stops playing itself. I want the video to play as well as move.

View 0 Replies

Actionscript 3.0 :: When Navigate To Next Page Video Stops

May 7, 2011

I have a website that plays video1 when it opens. When you navigate to next page the video stops. One of the buttons on the second page plays video2. The problem is that video 2 won't stop using the same command that made video1 stop.[code]

View 2 Replies

Can't Mask Layer On A Jukebox

Dec 9, 2010

I've been making a jukebox that plays mp3s via an xml file and the playlist is doing strange things (I think it's due to using a flash decomplier, as I lost the original fla file!) I want it to be completely masked by the player body and just show in the lower window, but somehow it's coming out over the top of it.

View 2 Replies

Media Server :: Get Sound Level Of Each Clients Who Are Streaming Video And Sound?

Oct 20, 2011

I am using a flash app. I can send and receive streaming data to FMS by using this app, like the chart I attached. [URL] This app uses RTMP to access to FMS. I want to upgrade this app to display sound level of each client. Is it possible by using Actionscript and FMS? If so, which class should I use?

View 3 Replies

Media Server :: The Video Plays With Constant Stops?

Mar 19, 2010

the people from my server installed fms 3.5, but the demo video with that train stops every other second. Should I adjust something in settings?

View 8 Replies

Javascript :: Jquery - Know When The User Starts Or Stops A Video?

May 5, 2011

On a page with an embedded Flash video (from YouTube in an <iframe/>), is it possible to be notified through JavaScript when the user starts or stops playing a video?

As far as I know, events raised on Flash level are not propagated to the container page, so it is not possible to do that.

View 4 Replies

Actionscript 3.0 :: Unable To Get Rid Of The Audio Even When Video Stops Playing?

Nov 8, 2010

I'm trying to load a movieclip that has some video running on it using a page container dynamically on the click of a button. however im not able to get the audio from pausing even when this page has been navigated to another. The video gets hidden behind the newly called page however the audio still continues to play on the called pagethis is the code i wrote to add the movieclip(page) to the container..

var gp1:gpage1=new gpage1;
menu_cont.media_menu.press_review.addEventListener(MouseEvent.CLICK,mediaclik3);
function mediaclik3(event:MouseEvent ):void {

[code]....

View 1 Replies

ActionScript 3.0 :: How To Remove Image From Jukebox In XML

Mar 16, 2011

How do I remove an image using action script. I am making a jukebox that shows an image along with playing a playlist. Both the image and the playlist are in xml. I have a reset button that resets the jukebox, but the image stays in the same place.

View 3 Replies

ActionScript 2.0 :: Video Resize Metadata - FLV Scrubber Stops Working

Feb 26, 2010

All this code works properly, however when I include the part which controls the video resize metadata the scrubber stops working... (see the section between the ">>> <<<").

Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(2);
ns.onStatus = function(info) {
[Code] .....

View 2 Replies

ActionScript 3.0 :: Loaded Local Video Stops Play After A Few Seconds?

May 16, 2011

when I use the following function in my doc class to launch a local video, the video "freezes" after a few seconds. This happens no matter what video I am trying to play.

Code:
private function startVideo(e:MouseEvent):void
{

[code].....

View 7 Replies

Mp4 Video Will Only Play Sound In Flash Cs4?

Sep 17, 2010

I'm using a flvplayback component in flash cs4. The sound from the mp4 video plays fine, but the video doesn't play. I don't know how to check the specific encoding of the mp4. I'm publishing to flash player 10 at 24fps.

View 2 Replies

ActionScript 3.0 :: Reset Button For Drag And Drop Jukebox?

Mar 8, 2011

i am making a drag and drop jukebox that will play an xml playlist when an icon is dropped onto it's target.i have the one xml playlist working,but i need to make a button that will reset all the movie clips to their original position when a playlist has been played.does anybody know the code that i would have to use to make a reset button??

View 0 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved