Video.js: Only audio when playing mp4 video in chrome

Created on 10 Jul 2018  路  5Comments  路  Source: videojs/video.js

Description

Similar to this issue issue#1590
Is there any other way to solve this problem except encoding the video for web mentioned in the above issue?
There's only voice when playing mp4 video in chrome. The audio goes smoothly but the screen is black. But It runs very well in safari.

Besides, I tried encoding the mp4 video into Web Optimized one using handbrake but chrome still plays audio only.

Sources

jsbin

Steps to reproduce

Just click the jsbin link.
In chrome, the video is played only with audio.
In safari, it works perfectly.

Additional Information

videojs-contrib-hls version

  • "videojs-contrib-hls": "^5.14.1"

videojs version

  • "video.js": "^7.0.5"

Browsers

Chrome 67.0.3396.99

Platforms

macOS High Sierra 10.13.1

Most helpful comment

It's so strange. My friends couldn't play the video either yesterday.
But now there's both audio and video
I guess there might be some problems about the nginx server.
Really thanks. Maybe this issue can be closed.

All 5 comments

I just tried with Chrome Version 67.0.3396.99 with MacOS Sierra 10.12.6 and was able to see both audio and video. Also tested on a couple of High Sierra machines and saw audio and video. Are you able to test on another machine to confirm that browser-platform combination is the issue?

It's so strange. My friends couldn't play the video either yesterday.
But now there's both audio and video
I guess there might be some problems about the nginx server.
Really thanks. Maybe this issue can be closed.

There are something wrong with your mp4 file .
Please fomat the mp4 file using H264.

I have the same problem.. I did a small video with my mobile phone and under Chrome i cannot see the video but hear the audio but it works under Safari.. (Ubuntu -> Chrome)

It's possible your video was created using HEVC which Safari can play but Chrome can't.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gfviegas picture gfviegas  路  3Comments

d3x7r0 picture d3x7r0  路  4Comments

askaliuk picture askaliuk  路  3Comments

stephanedemotte picture stephanedemotte  路  4Comments

aagiulian picture aagiulian  路  3Comments