This is a discussion on "Flash Video Player Issue" within the Flash & Multimedia Forum section. This forum, and the thread "Flash Video Player Issue are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Flash Video Player Issue
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Flash Video Player Issue
Hello everyone,
I'll do my best to explain this, unfortunately I cannot give you the source files because they are proprietary information but I can share some of the code. So Situation: I've built a flash video player that streams from our flash communication server. (no big deal) I've built in a bandwidth detection function that will determine the bandwidth of the user and play the appropriate sized video from our streaming server in the flash video player, (aka: _56k, _256k, _512k and so on) all of this works fine. Next: I've also built into the code two error messages: 1. If the video stream is missing for some reason it goes to and stops at frame 3 to display a message stating the video is missing. 2. If the user is have internet connectivity issues (say port 1935(flash streaming server port) is blocked by their admin it goto and stops at frame 4, which says to contact their IT department and unblock 1935. The issue I am having is with #1 - when I purposley cause the video to not be found it goes to the right frame(3) but then it jumps into the action script once again and starts the whole process over(of detecting bandwidth, finding and compiling the steamname, etc) and ofcourse still goes to frame(3) to display the "video not found message" I can't seem to figure out where in my code it is causing it to take a second pass through the dectection process. Maybe someone here can help, here is the code that is causing the problem....the entire thing is 600-ish lines so I don't want to include it all) Edit: The code you don't see is basically the bandwidth detection, stream name compiler and the movie controls. The code below connects to the streaming service(vitalstream is our back up server) and looks for the file. If it cannot be found then gotoandstop(3), or if the connection times out gotoandstop(4);
Thanks in advance! (I hope this makes sense) Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)
Last edited by Sgaspar11; Apr 20th, 2007 at 22:54. |
|
|
|
|||
|
Re: Flash Video Player Issue
Well, This might be the problem.
You said that if the video is not found it will take the user to Frame three... You said
|
|
|||
|
Re: Flash Video Player Issue
Hey I did some more goofing with it and I still running into the same issue. It is only happening when I hit a good connection speed. When I get 56k, 112k it works right everytime, and even with 256k and 512k it only blinks...sometimes...
As for the code above, it is checking to see if VitalStream connects, if it does(but doesn't find the movie still) goto(3). "cannot find movie" Otherwise it displays the other message(4) "your connection isn't working, port blocked" as an example.
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
||||
|
Re: Flash Video Player Issue
hmmm, I hate to say it I can't see anything wrong off hand. But I will pass it on to Justin (Flash Specialist I know), maybe he can take a peek.
|
|
|||
|
Re: Flash Video Player Issue
Alright so, fixed it.
Phew, talk about a pain in the you know what...
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
![]() |
| Tags |
| video, flash communication server, flash |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Centering a video player. | aaronh | Starting Out | 1 | Sep 21st, 2007 04:23 |
| Video player preview Image fade to video | Lchad | Flash & Multimedia Forum | 10 | Sep 4th, 2007 15:37 |
| Live Streaming Video Feeds with Flash Player? | kinkarso | Flash & Multimedia Forum | 1 | Aug 5th, 2007 23:35 |
| I really need help badly with my custom video player...! | jaythan | Flash & Multimedia Forum | 1 | Feb 14th, 2007 17:43 |
| Inserting a Flash video player into xhtml | Powderhound | Flash & Multimedia Forum | 6 | Nov 20th, 2006 13:33 |