Skip navigation
Leknolash
Currently Being Moderated

Imported video won't play on another PC

Sep 3, 2013 2:20 AM

Tags: #action_script_3 #flash_cs6 #import_video_sequence

Hello everyone,

 

I'm basically stuck with an issue with my video..

 

So, I imported a video I wanted on the stage from a directory, it basically uses the filepath to locate and play it.

In my case, it's in the same directory, so the filepath is directly "video.flv"

 

I tried editing it to ./video.flv or .\video.flv but apparently it doesn't take into consideration those edits.

 

So here's the problem:

 

When i send the .swf and the video to another PC, the video won't play ! (they are in the same directory, ofc)

 

It makes the screen become black when it should play and that's all.

I've put a timer on the same frame, and it doesn't work either when the video "crashes".

 

I don't think the issue is the path

(Maybe it is, but i tried moving the movie in and out of the .swf file's folder on my laptop : the video was playing or not, accordingly, but not doing that black screen)

 

So what is it, any idea ?

 

Many thanks in advance.

 

(i'm using flash CS6 and AS3)

 
Replies
  • kglad
    72,260 posts
    Jul 21, 2002
    Currently Being Moderated
    Sep 3, 2013 7:02 AM   in reply to Leknolash

    if your flv playing in an flvplayback component?  if yes, did you send the skin swf, too?

     
    |
    Mark as:
  • kglad
    72,260 posts
    Jul 21, 2002
    Currently Being Moderated
    Sep 3, 2013 8:16 AM   in reply to Leknolash

    if you chose none, you don't need to skin for your video to play.

     

    upload your embedding html, the swf and the video to a server and post a link to the html.

     
    |
    Mark as:
  • kglad
    72,260 posts
    Jul 21, 2002
    Currently Being Moderated
    Sep 3, 2013 1:22 PM   in reply to Leknolash

    that means, check the source property of your flvplayback component.  if it's an absolute address, change it so it's relative.

     

    failing to do that would cause exactly the problem you're having.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points