A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Need help getting an mp4 to play!

  1. #1
    Junior Member
    Join Date
    Dec 2013
    Posts
    2

    Need help getting an mp4 to play!

    Problem: I need to load and play an .mp4 video in my .swf, and it works fine when testing on my local flash player, but when I upload the files to my web server the video no longer plays.

    Not the problem: The problem is not the file path. Everything is in one folder, and I've run tests to make sure that the .swf finds the .mp4.

    Things I've Tried: I've tried loading the .mp4 using the FLVPlayback class as well as with GreenSock's VideoLoader class from their LoaderMax library. In both cases the video IS found, but it either is not loaded or doesn't play correctly because all I get is a black rectangle where the video should be playing.

    I've been working on this for a couple days and haven't made any progress. I would really appreciate any help or leads that anyone can offer me. Thanks in advance.

    -Evan

  2. #2
    Designer, Programmer, Musician angelhdz's Avatar
    Join Date
    Mar 2010
    Posts
    971
    A silly but probably helpful question, does your server support .mp4 format?
    Also, did you upload the Flv component skin .swf?
    Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries

  3. #3
    Junior Member
    Join Date
    Dec 2013
    Posts
    2
    Quote Originally Posted by angelhdz View Post
    A silly but probably helpful question, does your server support .mp4 format?
    Also, did you upload the Flv component skin .swf?
    Thanks for the reply angelhdz, but I don't think either of these things are the issue. I contacted my web host about supporting .mp4 and they instructed me on how to add mime types but this didn't seem to have any effect. Still no video. Also I'm using some custom buttons, so I don't have any skin .swf. Any other ideas? Or anyone else ever have any problems like this?

    P.S. I also tried converting the video to .flv but that didn't work either. If I get really desperate I'll just start trying other video formats to see if that's the issue.

  4. #4
    Designer, Programmer, Musician angelhdz's Avatar
    Join Date
    Mar 2010
    Posts
    971
    Maybe upload the files, so I can have a better idea about the issue and then come up with a solution! In the meanwhile, i will be thinking about what it could be
    Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center