Skip to main content
brettr91513903
Participating Frequently
March 11, 2017
Answered

Ensuring imported videos play when SWF is played on different PC

  • March 11, 2017
  • 3 replies
  • 1701 views

I have created an animate file that plays some small imported videos.  The imported videos use the FLVPlayback (SKIN set to none) to play the videos.  The videos are externally located in a file folder named "video"  off the main root directory that contains the FLA and SWF files.  All works well when testing or exporting as a windows projector but nothing appears when using the generated html and / or swf in the browser.

My end goal is to play the presentation on a separate PC and would like to use a browser (files local to separate PC) for display.  Hopefully, this is a simple use error and and easy fix, any suggestions?

This topic has been closed for replies.
Correct answer Colin Holgate

I found it difficult to find a converter and I could not find one that saved to F4V.  Do you know of any?


If you have a CC subscription you can install Flash Pro CS6. That also installs Adobe Media Encoder CS6, and that was the last version that compressed to FLV, if you want to try the On2 VP6 test. It also does export to F4V, which uses H.264.

To find the Flash Pro CS6 installer you need to look in the find other apps section, and choose Previous Versions from the menu on the right.

3 replies

brettr91513903
Participating Frequently
March 11, 2017

So Clay and Colin are you saying that the external links using the swf are not possible or would it take some tweeking as to where the video file is located.  Perhaps using a absolute path when its on the final host computer?

Colin Holgate
Inspiring
March 11, 2017

I think that what Clay is referring to would be more of an issue if the HTML and the SWF were in different folders. In this test they're in the same folder. My guess is that it's some sort of security setting issue, the same exact files work fine when posted online.

brettr91513903
Participating Frequently
March 11, 2017

Colin,

If I use something (actionscript) like this:  (where "player" is an instance of the FLVplayer and "overview" is the video file)

player.source = "video/overview.mp4";

If I export to  swf with an html wrapper and place the html and swf file in the same location with a subfolder named video then the swf should find the video files correct?  or am I missing a key step?

Thanks in advance for your help.

Legend
March 11, 2017

A SWF's root directory is determined differently when running in Flash Player vs in a browser. It's been a while since I had to get hands-on with this issue, but IIRC it's something like that a SWF in a browser sets the containing HTML document location as the root folder, instead of where the SWF itself is.

Colin Holgate
Inspiring
March 11, 2017

I don't see a way to make that work in a browser. You could either put the files online, or just double-click the SWF. There is a good chance they have Flash Player installed. Using the Projector option in publishing settings also works, that way they won't need Flash Player.