问题
I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page).
I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally this would be very simple (small user interface with play button and maybe a progress bar) and it would be easy to have multiple instances of on an html page (can create the player with an <object>
tag).
- Does such a player exist?
- I'm pretty sure flash supports .m4a (AAC), but am I wrong?
回答1:
JW Player supports AAC/m4a http://www.longtailvideo.com/players/
...file that will be obtained using a URL (i.e. it's not local to the server hosting the web page).
You may run into cross domain issues, Flash Player won't let you play media from another domain unless that server has policy files that allow it (like a http://www.other-site.com/crossdomain.xml).
回答2:
FLVPlayback can be used to make a video player. It's not overly difficult.
Note: Protected MP4 files—such as those downloaded from Apple® iTunes® or digitally encrypted by FairPlay®—are not supported.
http://help.adobe.com/en_US/as3/components/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7fe9.html
来源:https://stackoverflow.com/questions/4109419/flash-audio-player-for-m4a-aac-audio-file-embedded-in-html