owncloud-archive / apps

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

owncloud 7 video not working #1865

Open Blisk opened 10 years ago

Blisk commented 10 years ago

I have tested today but there is no way to play video in owncloud 7.

I always get Failed to request video and it is MP4

codyxbell commented 10 years ago

Same here, nothing in the logs, just hangs in every browser.

Xen0n6291 commented 10 years ago

Same problem

vgezer commented 10 years ago

Can you please use issue template: https://raw.githubusercontent.com/owncloud/core/master/issue_template.md

Thanks.

Bugsbane commented 10 years ago

I'm having video playback issues, too, although I've already posted a more detailed bug report over at:

The only thing is that from the look of it, that app is unmaintained now. There hasn't been any activity for about a year. ANyway, here's the template for me:

Steps to reproduce

  1. Upload a video (via web interface, Adndroid instant upload or android share)
  2. Play the video in the web interface using Firefox. Close it.
  3. Try and play the video a second time.

Expected behaviour

The video should open and play the same way the second time, as it did the first.

Actual behaviour

The player opens, but there is no preview image, just black. Clicking the "Play" button momentarily shows the "loading" throbber, but it disappears after just a brief flash, and the video never shows.

Server configuration

Manjaro Linux (an Arch compatible derivative)

Web server: Nginx

Database: MySQL (converted from Sqlite3 via occ)

PHP version: 5.5.15

ownCloud version: (see ownCloud admin page) 7.0.1 (also seen in 7.0.1)

Updated from an older ownCloud or fresh install: Updated. Originally installed clean for ownCloud 6.0. Updated each version since.

List of activated apps: Activity Bookmarks Contacts Calendar Documents Full Text PDF search Pictures Share files Text editor Updater Video viewer Files move

The content of config/config.php: <?php $CONFIG = array ( 'passwordsalt' => 'PASSWORD SALT', 'datadirectory' => '/PATH/TO/OWNCLOUD/data', 'dbtype' => 'mysql', 'version' => '7.0.2.1', 'installed' => true, 'instanceid' => 'INSTANCE ID', 'loglevel' => '3', 'maintenance' => false, 'theme' => '', 'trusted_domains' => array ( 0 => 'MYHOST.MYDOMAIN.TLD', ), 'dbname' => 'DATABASE NAME', 'dbhost' => 'localhost', 'dbuser' => 'DATABASE USER', 'dbpassword' => 'DATABASE PASSWORD', 'preview_libreoffice_path' => '/usr/bin/libreoffice', 'forcessl' => true, 'mail_from_address' => 'MYUSER', 'mail_smtpmode' => 'php', 'mail_domain' => 'MYDOMAIN', );

Are you using external storage, if yes which one: local/smb/sftp/... No.

Are you using encryption: yes/no No.

Client configuration

Browser: Firefox 31 Firefox Nightly Firefox Nightly Android

I don't seem to have this problem in Chromium

Operating system: Ubuntu 14.04

Web server error log

I don't see any errors in the NGINX log

#### ownCloud log (data/owncloud.log)

I have three errors showing up repeatedly: Division by zero at /PATH/TO/OWNCLOUD/lib/private/preview.php#426 (see https://github.com/owncloud/core/issues/10570 ) Array to string conversion at /PATH/TO/OWNCLOUD/apps/contacts/lib/backend/database.php#529 (see https://github.com/owncloud/contacts/issues/559 ) Undefined index: ocsid at /PATH/TO/OWNCLOUD/lib/private/app.php#835 (see https://github.com/owncloud/core/issues/10541 )


#### Browser log

Insert your browser log here, this could for example include: Javascript log: window.controllers is deprecated. Do not use it for UA detection. https-everywhere.js:335 Use of getUserData() or setUserData() is deprecated. Use WeakMap or element.dataset instead. requestNotifier.js:63 Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead jquery-1.10.0.min.js:1 https://HOST.MYDOMAIN.TLD/core/js/jquery-1.10.0.min.js?v=cf866614b6b18cda13fe699a3a65661b is being assigned a //# sourceMappingURL, but already has one Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/ jquery-1.10.0.min.js:6 Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery-1.10.0.min.js:5 Media resource https://HOST.MYDOMAIN.TLD/index.php/apps/files/ajax/download.php?dir=%2FInstantUpload&files=VID_20140829_122152.mp4 could not be decoded.

The last error line (the "Media resource .... could not be decoded" one)repeats each time I try to replay the video.

DeepDiver1975 commented 10 years ago

The last error line (the "Media resource .... could not be decoded" one)repeats each time I try to replay the video.

looks like the file cannot be replied - hmmm - no idea what to do about this

Bugsbane commented 10 years ago

What's strange is the way that while it usually doesn't play, that occasionally it still will (most notably when logging in and viewing in a new web browser)

PVince81 commented 10 years ago

@VicDeo

binron commented 9 years ago

Had the same problem. The fix in #1896 solved it.

Bugsbane commented 9 years ago

Still having this issue. I've had it from the first release of ownCloud, all the way up to 8.1.1 today.