Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-17-2007, 08:32 PM   #1
olivestreetprods
Just learning ....
 
Join Date: Aug 2007
Location: Phoenix, AZ
Posts: 23
Default Custom video player not finding video

Hi, thanks for reading ....

I'll do the best I can to explain the problem, but I'm not sure posting the code at this time will help.

I'm building a portfolio web site. In the portfolio part, where actual examples of my work are to be displayed, I have it set up via an XML function from a tutorial I found on building a slideshow. On the stage is an empty movieclip called "myHolder". When you click on the portfolio button in the main movie, a submenu appears with several headings(movieclip buttons), such as print, design, direct mail, etc. When you click on, say, print ads, external thumbnail jpgs are loaded into the lower portion of the main stage, while the first external large size example of the group is loaded into the upper part of the main stage. This is all fed into the main movie from an external xml document. Each time you click on one of the thumbnails, that thumbnai's corresponding larger swf is loaded into the upper portion of the main stage in the "myHolder" movieclip. As I mentioned, I've made all of the larger examples into swfs. And each group of thumbnail jpgs and corresponding larger swf examples, are all kept in separate directories.

Everything works fine, except for the videos. I've made a custom player with the proper code calling the NetConnect and NetStream. When I run the main movie locally, the video player loads fine and the videos play as they should. But when I upload everything to the server, the flv doesn't play. The button rollOvers function, but I don't think the actual functions I placed on the buttons(which are movieclips) are working.

Oddly enough, when I use the built-in video player component that comes with Flash within the individual swfs that are to be loaded dynamically, the video plays remotely in the main movie, however I then also lose the included controls that come with the component. So obviously that won't work, plus I would rather use my own player.

I know this is an addressing problem, but I haven't been able to decipher it for two days. Obviously, I'm not a real Flasher; I'm just trying to do something nice for my little freelance business.

To see the problem in action, Please go here and click on "portfolio" >> "Motion Media".

Sorry for the long post. I'd be happy to post the code if the would help you understand the problem. If anyone can offer a suggestion, I would sure appreciate it.

Thanks very much,
bfg
olivestreetprods is offline   Reply With Quote
Old 11-18-2007, 03:27 PM   #2
danjp
Senior Member
 
Join Date: Oct 2007
Location: London
Posts: 120
Default

sounds to me like a path issue.

are you using a relative or a fixed path to the video you are loading?

eg "../mySite/assets/flv/myvideo.flv" (relative)

or

"http://www.myblog.com/mySite/assets/flv/myvideo.flv" (fixed).

A quick an dirty way to test this is to put your FLV files in every folder that your site uses. If it works after doing that it is simply a matter of trial and error to work out which folder it is actually looking in.

If you post some of your code it would help also.
danjp is offline   Reply With Quote
Old 11-19-2007, 04:48 PM   #3
olivestreetprods
Just learning ....
 
Join Date: Aug 2007
Location: Phoenix, AZ
Posts: 23
Default

It was an addressing issue, due mostly to my own stupidity ... seems I can't see typos in my own url.

Uuuggghhhh!

I have the videos showing up, but now my scrubber bar works only the first time it's called.

Last edited by olivestreetprods; 11-19-2007 at 04:55 PM.
olivestreetprods is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Controller disappears from flash video player zombor Flash 8 General Questions 2 03-28-2007 01:13 PM
FLASH - XML help. Dynamically created video player lsatdown ActionScript 2.0 0 03-21-2007 05:53 PM
Dynamic Video options for Flash player 7 ShaolinWood Components 0 03-08-2007 04:14 AM
Some Flash Video Converter Tools Compare terry117 Detention 7 05-18-2006 02:08 AM


All times are GMT. The time now is 11:48 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.