owncloud-archive / apps

Repo for ownCloud apps. Code here is work in progress and not intended for endusers
373 stars 337 forks source link

[files_videoviewer] Videos play in some browsers but not others #1900

Open Bugsbane opened 10 years ago

Bugsbane commented 10 years ago

I have a test video (mp4 container, h264 codec). It plays in Firefox 31 on one Linux computer, but doesn't on another. It plays on Firefox nightly, but doesn't play in Chromium on the same OS install.

When I say "doesn't play" I mean that when I click on the video in the files app, instead of the normal videoplayer interface with a seek bar, volume bar, fullscreen icon and play icon in the middle, I just get a black screen with a "Download" link. On Chromium though, I do get the interface, but when I click play, the spinning throbber, just spins forever.

I'm wondering if this may be related to #1879...

On a side note, can I ask if this app downloads the entire file before beginning playback? Just curious for uploading huge files where family members may not end up watching the whole thing.

Bugsbane commented 10 years ago

With no disrespect meant, why is something that stops videos playing altogether on at least one of the most popular browsers not a bug?

PVince81 commented 10 years ago

@vicdeo

oparoz commented 10 years ago

Good points. If a .mov can only be played by Safari, on a Mac, then OC should be smart enough to know it won't play on a PC and should transcode the file to a format the browser can play.

Bugsbane commented 10 years ago

Well, the problem isn't so much which platform is what native file format. On a PC you can still install quicktime. My system has codecs to play back the video, and being h264 on a system with the h264 codec, it's a codec supported by both browsers. Yet, the problem remains of it playing on one but not the other.

oparoz commented 9 years ago

@Bugsbane , I think you should report your bug here: https://github.com/johndyer/mediaelement

rr-paras-patel commented 9 years ago

Actually chrome need http 206 respose header but this case retune http 200 response so that it is only work with mozila and safari i did the patch for this problem it is working fine for me. If u need further help den raise.