Skip to main content
joec12683546
Known Participant
February 21, 2018
Answered

can't figure out why video will test but not publish

  • February 21, 2018
  • 2 replies
  • 1662 views

my stage has a video imported into a frame, and on testing, it works fine, but on publishing and opening the html document generated, this is what I get...a blank screen with the skinning only. The green slashes are moving from right to left indicating activity, but the video won't appear. I put the blue square behind the video to give the screen an object as substance, and it appears as you can see. Why is testing affirmative while publishing fails? The fla AS3 document is only 144MB, which includes the 33MB MP4 video in question.

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

    Only the FLVPlayback is loaded into that frame, and it does get the video's metadata in order to control it. I tested with a 32MB MP4, and the FLA was only 309kb. The SWF was 57kb. None of the video data gets loaded into the FLA, unless you're embedding an FLV into the timeline.

    Did you try doing a test with the files on a server?

    2 replies

    Colin Holgate
    Inspiring
    February 21, 2018

    There are things in what you said that contradict each other. You said you imported the video into a frame in the timeline, and that the FLA includes the 33MB MP4. And your screenshot shows a controller.

    If the video is imported into the FLA, then it must have been an FLV, not MP4. It also wouldn't have a controller at all.

    As you do seem to have a controller, and you're calling it an MP4, then I'll assume that you've used FLVPlayback, and from the look of it you chose SkinUnderPlaySeekStop.swf as the skin. If I do the same thing I get the same failure. My trust settings are definitely good, and wouldn't have been the problem anyway, because the SWF is clearly loading. I don't know why the SWF is so big. Perhaps you misread kb as mb?

    I found a hopeful post somewhere that suggested that changing the publish settings to access local files would solve it, but it doesn't.

    Your test will work if all of the files are online somewhere, and it will work if the MP4 is online and the HTML and SWFs are local files. I can't see how to make it work with local video, so for now do your testing by putting the files on a server.

    joec12683546
    Known Participant
    February 21, 2018

    Hi Colin,

    I can answer your queries...

    Your first two comments:

    There are things in what you said that contradict each other. You said you imported the video into a frame in the timeline, and that the FLA includes the 33MB MP4. And your screenshot shows a controller.

    If the video is imported into the FLA, then it must have been an FLV, not MP4. It also wouldn't have a controller at all.

    suggest a contradiction....not true; I just selected a blank keyframe at the end of my 290 frame still sequence and went to File, Import,Import Video. That brings me to three consecutive windows, the first asks where the video is, so I browsed its location in. It's an MP4 so I don't need conversion. I left the first box checked ("load external video with playback component"). The next window asks for skinning as you observe, and the third is just info. Clicking out, the whole 33MB MP4 is loaded into that frame.

    Yes the 290 frame still with all its jpegs and buttons adds up to a 144MB Animate document.....the swf is modicum, about 60kb...

    Colin Holgate
    Colin HolgateCorrect answer
    Inspiring
    February 21, 2018

    Only the FLVPlayback is loaded into that frame, and it does get the video's metadata in order to control it. I tested with a 32MB MP4, and the FLA was only 309kb. The SWF was 57kb. None of the video data gets loaded into the FLA, unless you're embedding an FLV into the timeline.

    Did you try doing a test with the files on a server?

    Legend
    February 21, 2018

    The video file has to be in the same directory as the HTML file hosting the SWF. Is yours?

    joec12683546
    Known Participant
    February 21, 2018

    yes it is....and it was publishing in earlier versions too, so I don't understand what may have been lost; even tried another computer but same result....what else might be wrong? I'm baffled

    Legend
    February 21, 2018

    Does it fail in all browsers? I see you're testing with Chrome, which is extra-picky about running local filesystem content.

    And, have you set your local drive as a trusted location for the Flash player?