Copy link to clipboard
Copied
Odd quirk here...
I'm using the FlvPlayback component to play multiple videos. Some are flv files, some are f4v files, all residing in the same directory on my Flash Media Server.
If I enter the URL to an f4v file in the "Source" field available in the properties panel when the component is selected on the stage, the f4v file plays fine, as do the flv files.
However, if I try to set the source dynamically via actionscript using:
flvPlayback.source = "rtmp://myFMS/myProject/myVideo.f4v";
No go! The video doesn't play. However, using the above code to reference a flv works just fine.
Does an f4v require different verbiage than an flv does?
yes, for fms, the application.xml file can be used to set mime types:
<MimeType>video/mp4-f4v</MimeType>
Copy link to clipboard
Copied
you need to add f4v files to your servers mime types. contact your server admin.
Copy link to clipboard
Copied
Thanks for your prompt reply, kglad.
So until we add the mime types to our Flash Media Server, the video won't load the f4v using the dynamic AS3 code, but it _will_ play the video when the URL is entered into the property panel's "source" field?
That seems odd to me, but if that is indeed the case, I'll have our server admin add the mime types.
Thanks again!
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
Hi kglad,
My server admin doesn't seem to know how to set that up.
Where can you add the mime types? Is it in some config or xml file somewhere?
Thanks again
Copy link to clipboard
Copied
yes, for fms, the application.xml file can be used to set mime types:
<MimeType>video/mp4-f4v</MimeType>
Copy link to clipboard
Copied
Wow, kglad, thanks for your concise and helpful information! It's very much appreciated!
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
Hi kglad,
I'm still having a little difficulty I'm hoping you can help me with on these f4v's.
I realized I need to be storing the f4v files in the VOD folder in the FMS's webroot, since this is what we need to do to utlize Adobe's new video method that enables users to see the videos on iOS devices as well as desktops on our webpages. (This approach requires the use of manifest files).
However, the video I'm trying to implement now is within an iPhone app, (being built in Flash and exported as a native iOS app). Up to now I've been using the old flv files in the app with the flvPlayback component, (the files reside in the applications directory on the FMS), and that's been working fine. But now we want to use the new, higher quality f4v files located in the VOD directory on the webroot.
The flvPlayback component plays them just fine when I test the app on my desktop within the Flash Professional environment, but once I export it to the iPhone, the f4v videos don't play.
Is there something special I need to do with the flvPlayback component in order to get the f4v files to play on iOS devices? Thanks again for your help!
Copy link to clipboard
Copied
Never mind, kglad, I think I found the answer to my dilemma... it looks like it can't be done. : /
"FLV is On2 VP6, and that can be handled in iOS using the FLVPlayback component. F4V is generally H.264, and that can't be handled."
(As quoted in this thread: http://forums.adobe.com/message/3895106 )
Thanks again for your willingness to help! You rock!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now