WordPress.org

Ready to get started?Download WordPress

Forums

Hana Flv Player
[resolved] Can't get .mp4 to play in flowplayer5 (22 posts)

  1. The General@LTPIRGL
    Member
    Posted 1 year ago #

    Hello,
    I can't seem to get the FlowPlayer5 to play my .mp4 files
    I have it playing my flv files here,

    http://www.learntoplayitright.com/?page_id=2286

    but need it to play with apple products.

    your sample
    [hana-flv-player video="http://wpmarketing.org/wp-content/plugins/hana-flv-player/hana_sleding.mp4"
    width="400" height="autow"
    player="6" skin="functional" /]

    plays fine and works perfectly, but when I add my url and mp4 file it says html5: video file not found.(and I have uploaded the files via ftp to the same place as my .flv file which work fine with the player)

    I have tried "any video converter, vlc player & prism converter, to create a encoded h.264 file with ACC audio and mp4 extension, but nothing has worked.
    am I missing a key step?
    Could you give any specific details as to how you created the hana_sleding.mp4 file.? or is there something in the /httpdocs/wp-content/plugins/hana-flv-player folder that I need to add to my folder that I am missing?

    Thanks for your time

    http://wordpress.org/extend/plugins/hana-flv-player/

  2. HanaDaddy
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for the report.

    It seems that there is a problem. Not sure if the problem is with the FlowPlayer5 itself or the way I implemented it in my plugin.

    I will check more when I have time later on. Meanwhile, why don't you try MediaElement.js (Player 5)? It sure works fine with mp4 under Apple devices.

  3. The General@LTPIRGL
    Member
    Posted 1 year ago #

    Thank you for your response. I initially tried using the MediaElement.js, but for some reason the player is not showing the play button, mute toggle or full screen buttons, even if you hover over them. The buttons still function, but are not visible. I tried a few adjustments, but had no luck making them appear, and it was easier to just switch to player 6 until the .mp4 problem.
    I will gladly switch players, would you have any idea on how to remedy that problem with. MediaElement.js
    Thank you again for your time and plugin

  4. The General@LTPIRGL
    Member
    Posted 1 year ago #

    Hello again,
    I thought i would try the MediaElement.js player with the button issue from above, just to see if I could get a .mp4 file playing, and had no luck. I took an .avi file converted it to a x264.mp4 file using the Any Video Converter(I selected the Apple I phone from the preset output and the x264 video codec from the video options). Then uploaded the file to my videos folder via ftp. The player showed my splash.jpg, but the file would not play. The counter showed 00.00 on both sides. Just wondering if I'm using the wrong settings in the Any Video Converter, or if I have missed something else completely in this process.
    thanks again

  5. The General@LTPIRGL
    Member
    Posted 1 year ago #

    I changed the skin and it resolved the buttons issue. I can't seem to get the MediaElement.js to play my .mp4 files either. Like I said above the splash image shows up and the counter is at 00.00 on both sides. When you push play it holds on play and looks like its loading, but no video plays or loads. Also strange because your samples file works great.

    [hana-flv-player video="http://wpmarketing.org/wp-content/plugins/hana-flv-player/hana_sleding.mp4"
    width="400" height="autow"
    player="5" skin="mejs-wmp" /]

    This is what I am trying on my page, but is not working

    [hana-flv-player video="http://www.learntoplayitright.com/videos/Produce sample_x264.mp4"
    width="420" height="316"
    player="5" skin="mejs-wmp"autoplay="false"
    loop="false"
    autorewind="true"
    splashimage="http://www.learntoplayitright.com/wp-content/uploads/2013/02/0003.jpg.jpg" /]

    Any ideas?
    Thanks again for your time

  6. HanaDaddy
    Member
    Plugin Author

    Posted 1 year ago #

    When I tried
    "http://www.learntoplayitright.com/videos/Produce sample_x264.mp4"

    in the web browser, it says "The page cannot be found".
    Are you sure the file is in there? Maybe you should rename the file to something more consistent without space letter, and try again.

  7. The General@LTPIRGL
    Member
    Posted 1 year ago #

    thanks for your suggestions - I used fileZilla to upload after I changed the name of the file to Sample.mp4 and still it wont show up in the browser or play in the player. The same process worked for my flv files and they play and show up in the browser. My mp4 files play fine in a flv player before being uploaded. I tried it all from scratch with another newly made mp4 file and had the same results. When I opened the video folder in Smart ftp instead of filezilla it also shows the mp4 file has been uploaded, and is in the folder, but again page not found in the browser. I'm kind of stumped. Have you heard of this before?
    Thanks again for your time and any suggestions

  8. HanaDaddy
    Member
    Plugin Author

    Posted 1 year ago #

    Are you sure that you saved the sample.mp4 file in the same folder where HCPLS.flv is ? If so, you should contact your webmaster or service provider to check why mp4 files cannot be downloaded. I am not exactly sure, but it may be possible to setup the webserver to allow the access for only the files with particular extensions.

  9. The General@LTPIRGL
    Member
    Posted 1 year ago #

    Yes, I'm positive they are in the same folder. I have contacted them with this issue. Thanks again for your time and suggestions.

  10. The General@LTPIRGL
    Member
    Posted 1 year ago #

    My server added the MIME Type for the extension .mp4. The file now shows up in my browser, but with no video, just audio. The mp4 file works fine on my computer(PC), but not on my Iphone. On the phone, the Splash jpg shows up, but both counters read 00:00 and the file wont play. I tried player 6 as well, and it still said file not found on both. Any ideas?
    Thanks again

  11. HanaDaddy
    Member
    Plugin Author

    Posted 1 year ago #

    What's the URL of the MP4 file? Let me try.

  12. The General@LTPIRGL
    Member
    Posted 1 year ago #

    Hello again
    my apologies for the hassle here. This is the url of the file

    http://www.learntoplayitright.com/videos/HCS.mp4

    In the browser the video quality is pretty choppy, but it is normal on the site page, on my end.
    I did get it to play on my Iphone when I removed the splash jpg, but
    the quality was pretty choppy and there was no audio.

    Here is the page link again as well

    http://www.learntoplayitright.com/?page_id=2286

    Thanks again for all of your help

  13. HanaDaddy
    Member
    Plugin Author

    Posted 1 year ago #

    Hello
    Your video file is not correctly encoded I guess. I tried with my iPhone and it didn't play well either.

    I have encoded using ffmpeg. You can check it out here. First video is yours and second one is the one I re-encoded. When I tried re encoded video using iPhone, it worked fine.
    http://wpt.aws.af.cm/?p=52

    You can download ffmpeg windows compiled version here http://ffmpeg.zeranoe.com/builds/ but also you can download the one that I used here http://wpmarketing.org/ffmpeg.zip

    You need to run below command using windows command prompt
    c:\ffmpeg> ffmpeg -i HCS.mp4 -vcodec libx264 -vprofile baseline -threads 0 -acodec aac -sameq -preset fast -strict -2 output.mp4

    Note the HCS.mp4 should be your video file and the output file will be output.mp4.

  14. The General@LTPIRGL
    Member
    Posted 1 year ago #

    Thanks for the info, I have the ffmpeg file downloaded and tried running that command, but it said it was not recognized as an internal or external command, and this is getting a little out of my league. Is is not possible to encode a file properly with software like Any Video Converter? That is what I used, and maybe I had the settings wrong? If not, I will have to get someone to walk me through the other process.

    Thanks again for your time and help. I really appreciate it. I

  15. HanaDaddy
    Member
    Plugin Author

    Posted 1 year ago #

    Well, maybe I am using 64 bit version. If you are using 32 bit version of windows , you should download the 32bit version from the http://ffmpeg.zeranoe.com/builds/

    And I am sorry but I tried to convert your file using Any video but I was unable to generate satisfying video. I strongly suggest you to try the ffmpeg.exe again.

    Good Luck!

  16. The General@LTPIRGL
    Member
    Posted 1 year ago #

    It Works!
    Took a little research on google, but I got the ffmpeg going, and the end result is great.
    It is working with the flowplayer 5 as well. Thank you again, very much for your time, help and plug in!
    All the best my friend.
    Brad

  17. HanaDaddy
    Member
    Plugin Author

    Posted 1 year ago #

    I am happy to hear that. Thanks.

  18. The General@LTPIRGL
    Member
    Posted 1 year ago #

    Hello again,
    I am using player 5 with the skin mejs-wmp. It seems that the scroll fuction is not working properly in Chrome, but works like a champ in IE and on Apple Products. Still working with the same page
    http://www.learntoplayitright.com/?page_id=2286

    Any ideas on how to remedy this in chrome?
    Thanks again,
    Brad

  19. HanaDaddy
    Member
    Plugin Author

    Posted 1 year ago #

    What do you mean scroll function? I tested with Chrome and your page and video was working without any problem.

  20. The General@LTPIRGL
    Member
    Posted 1 year ago #

    Hello,
    When I try to skip ahead to another part of the video (that has loaded already) or back to a previous part using the "progress slider" I guess you could call it, the player seems to lose its place or needs to restart. I tried re-installing chrome and had the same result so I don think it is just on my end. It works fine in Firefox and IE9, but not in Chrome - over here anyways
    Thank you again

  21. HanaDaddy
    Member
    Plugin Author

    Posted 1 year ago #

    I tested slider with Chrome at Home and Work and both worked perfectly without any issue. Why don't you try with other computers?

  22. The General@LTPIRGL
    Member
    Posted 1 year ago #

    Ok - will do.
    Thank you again for your time and help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic