Embedded MP4 Video Content Issue

Some user topics are not displaying the video playback as you would expect.

In all cases so far;

  • audio can be heard
  • video cannot be seen
  • browsing to the embedded video URL prompts a download
  • the downloaded MP4 file plays correctly locally (Windows)
  • re-uploading the same file into the topic (with a different filename) changes nothing
  • editing the video, inserting 1 second of “nothing” at the start, and re-uploading to the same topic resolves the issue possibly only because different codecs were used in the second recording

Raised with Discourse team on Meta;

Example topic;

The original video file from the above topic is this one;


Updated Tue Mar 06 2018 07:18

Responses so far suggest that this could be a codec issue. If this is the case then my re-recording of a users video previously and re-uploading it (with the 1 second empty space at the beginning) would explain why it resolved the problem. Different codecs were used, probably.

If this is the case, and I’m trying to ascertain if there is a way to determine solidly that it is, then you may want to start suggesting to students that they upload their videos to YouTube instead and then paste the link within their posts here, which will Onebox them.

It isn’t practical to try to “fix” every video that isn’t playing and students are likely to be disappointed after being told to upload a video of their work, only to find it doesn’t play.

@ben / @sampattuzzi / @Michael_Bridges / @Rick_Davidson


Updated Tue Mar 06 2018 09:38

I have re-recorded the video for Richard in the link above, which now plays correctly. The significant difference, is, as Jeff (Discourse) pointed out, the original video was using H.263, where-as the re-recorded version is using Advanced Video Coding, which I believe is H.264.

Posting to sites like Facebook and YouTube I believe resolves the issue because they re-encode the videos to another format after upload.


Updated Tue Mar 06 2018 13:35

Advice from another team member at Discourse is to not upload videos directly to Discourse, instead use a platform such as YouTube, pasting the URLs into posts instead. This puts the reliance on correct encoding to a more suitable platform and thus removes the problem from both the students or ourselves.

There is of course no guarantee that anything which has already been uploaded will still play as expected in <insert amount of time here> as technologies and browser support evolve further, where-as a platform such as YouTube would have to manage this issue.

The only downside I can initially see with this is that not all students may feel comfortable creating a YouTube account/channel in order to upload videos, whilst it’s not a massively complex process I could see this as a turn-off over just uploading to the forum.

1 Like

thx for explaining this problem, the playback issue happens to me, too. But only with the opera browser (newest version), with firefox it does not occur. Further the issue occurs on Chrome for phone after scrolling down some posts, videos at the beginning of a topic can played normal.

1 Like

Hi Christian,

Thanks for the reply.

Are you able to give me a couple of links to topics you are experiencing this issue with, I can then have a look at the properties of those video files.

Sorry for late respond, i hadn’t access to my pc.

Ok, here a collection of different videos, divided into used browser versions.

PC:
OS: Win 7 64bit

Used Browsers:
Opera v. 51.0.2830.40
Firefox v. 58.0.2
IE v. 11
Chrome v. 64.0.3282.186

Phone:
OS: Android 6.0.1

Used Browser:
Chrome v. 64.0.3282.137

Summary

post 1:

Pc:

  • Opera: not working, blank video with a grey controll bar
  • Firefox: no problem
  • IE: no problem
    Chrome: after some seconds blank screen like opera, no further playback problem

Phone:

  • Chrome: same as Windows Chrome (a few months ago the same problem as with opera occured with this version)

as a comparison:

Summary

post 1

  • Opera and Chrome: same as above
  • every other Browser works fine (even with sound)
Summary

every embedded video

  • Opera: same blank video
  • Chrome: the blank screen stays with variating time (from 0 to 10 seconds), after that it can played correctly
  • every other Browser works fine

edit:
It seems the problem i experienced is slightly different from yours, seems to be a opera specific.
For now i’ll searching for other examples

1 Like

Thanks for the above. I will take a look for any similarities in the video details.

1 Like

Just to follow up on this…

All of the problematic videos so far have been using the H.263 codec which don’t seem to play back in some modern browsers (I can’t test them all).

@Christian_Kuhl - did you get anywhere with regards to your issue? I’ve checked the first two videos you linked to and they are both using H.264 (AVC) and appear to play back, at least using Chrome, without issue.

I plan to put this topic to bed and update the following Forum User Guide to include the specific codec;

No response from @ben / @sampattuzzi / @Michael_Bridges / @Rick_Davidson with regards to whether to still allow uploading of MP4, so closing topic.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms