Copy link to clipboard
Copied
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.
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?
Copy link to clipboard
Copied
The video file has to be in the same directory as the HTML file hosting the SWF. Is yours?
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
yes it does; I checked IE and firefox and the same thing occurs. You're right about Chrome, but I've eliminated that possibility. It was publishing fine in Chrome in the prior version. The only thing I did in the prior version was to make one clipping longer in Premiere and reinstall it in the current version in question. I've cleared all caches too. Flash Player has always worked for me, so I've never adjusted it; how do I check to see that my local is trusted with the latest update I downloaded?
Copy link to clipboard
Copied
With a SWF running, right-click the player and select Global Settings, Advanced tab, Trusted Location Settings, Add, Add Folder.
Copy link to clipboard
Copied
on clicking Global Settings, I'm taken to a Flash Player Help page, not a tab selection with Advanced....
Copy link to clipboard
Copied
Ok I found it and added the folder as a trusted location; trying it again now...
Copy link to clipboard
Copied
still doesn't work....
Copy link to clipboard
Copied
so I tried setting up a new fla with only two frames....frame 1= a button to move to next frame and stop; frame 2, layer 2 = the video. Again it tests ok but on publishing, the button works but the video doesn't appear
Copy link to clipboard
Copied
so I tried the two frame idea and discovered that it does work in IE.....so now I'm back tracking to the version I need to post....I'm doing it all in a brand new folder free and clear of the other folders that contain all the testing I've done....maybe that's the problem. Will return with a report soon...
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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...
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
yes you're right literally, only the flvplayback gets loaded, and the video resides in the same folder....that's how I'm set up....so to continue...since my test above worked in IE, I moved my Animate document and the video to another folder free and clear of all the versions and testing that I've been going through, and reinstalled the video at that new location....then published to Chrome where the same blank screen with progressing skinning is observed. So I copied the URL over to IE and it works there fine and dandy....so this solves my problem....I believe the problem to be too many versions and repeated generation of swfs, htmls, swfobjects.....I don't know much about what happens when they get into confluence, but anyhow I'm moving on.....so next is to load it onto a public server which is my final step to finish this project...
Thanks...!!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now