• Hey Kyle,
    Thanks for your support from the previous threads.

    Now, just a small issue I’m facing playing video files in mobile (iOS). I’ve got two .mp4 files and for some reason one plays but the other doesn’t. Mind you they both play just fine on desktop it’s just the one mp4 file that doesn’t want to play even after “replace and encode to *all-sizes H.264” is selected.

    I’ve tried installing “MP4Box” to see if that did anything to particular mp4 files but didn’t seem to fix it.

    Is there any steps that I should take first to help target the problem? Could you help me find / debug?

    Thanks again

    • This topic was modified 7 years, 10 months ago by emanradin.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    Can you post a link to a page on your site that demonstrates the problem?

    Thread Starter emanradin

    (@emanradin)

    No problem,
    I’ll email you the link to the website which is still in development.

    (email subject is: @emanradin re: mp4 not playing)

    So I’ve got a video at the top which is set to auto play. The other two videos play on hover/tap.

    Thanks let me know if you need any more info

    • This reply was modified 7 years, 10 months ago by emanradin.
    • This reply was modified 7 years, 10 months ago by emanradin.
    Plugin Author Kyle Gilman

    (@kylegilman)

    You’re not using my plugin for video playback, so I can’t help you troubleshoot it because I don’t know how the player on your site works.

    Thread Starter emanradin

    (@emanradin)

    Oh I see, my bad.
    My theme works that I can’t post the video shortcode in the content area, rather have video tags linking to the appropriate links to the video file in the template itself.

    So, if I were to use the <video> tags and use the src to the encoded file (filename-360p.mp4), will the plugin features not work? (eg. audio bitrate settings, H.264 profile etc.) ?

    If I can’t do that, is there another way to display the videos correctly without using shortcode? Maybe a php code for the template? (The way I’d like the site to work is to create post all from the frontend, not the admin area)

    So far I got the poster using:

    get_post_meta($attachment->ID, "_kgflashmediaplayer-poster", true);

    Thanks again

    Plugin Author Kyle Gilman

    (@kylegilman)

    You can definitely use any player you want, but I can’t help you with playback problems with someone else’s player. The problems you were having look JavaScript-related. Autoplay using hover is not going to play well with iOS, but again, I don’t know how the player works. The video files seemed fine. The audio bitrate and H.264 profile are unlikely to be the culprit with iOS playback.

    If you want to use my shortcode in the template, and you’re in the loop, you can do it as simply as <?php do_shortcode('[KGVID][/KGVID]'); ?> and that will automatically embed any videos attached to the current post. You can also add any shortcode attributes necessary to make it work the way you need it to.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Some mp4 files play while others don’t – encode or file issue?’ is closed to new replies.