Announcement

#16 2021-01-21 19:18:15

marief
Member
2021-01-13
8

Re: Video upload for dummies

Yes gosh, it's a massive jump in budget to an enterprise account.

I wish I could do what you suggest, but there's no way I'd have the skills to do it unfortunately!

Thanks for your time and all your advice though, and best wishes!

Offline

 

#17 2021-01-30 17:09:16

dch_pi_for
Member
2021-01-28
2

Re: Video upload for dummies

I finally got videos working - using the 'VideoJS' plugin.  It seems that the only version of the Video.js player that works (for me) is the 'Video.js v4'. This is selected in the settings for the VideoJS plugin.

UPDATE: All of the later Video.js versions will display the video but in a size larger than the current window.

Hope this helps someone...

Last edited by dch_pi_for (2021-01-31 15:59:23)

Offline

 

#18 2021-01-30 21:30:18

Jeff.Borghoff
Member
2021-01-26
2

Re: Video upload for dummies

Is there any video format that is supported in Piwigo version 11?  I would like to have this feature available on my web deployment on my Bluehost shared hosting.

Last edited by Jeff.Borghoff (2021-01-30 21:31:36)

Offline

 

#19 2021-01-31 15:56:08

dch_pi_for
Member
2021-01-28
2

Re: Video upload for dummies

After a lot of searching I found this information that will allow the upload of all file types (like .mp4, .webm, .avi):

1) Install the LocalFiles Editor plugin.
2) Open the Plugins list, activate it.
3) On the LocalFIles Editor icon, click on 'Settings'. 
    That will by default open the 'local/config/config.inc.php' file which starts out empty.
4) Copy and paste the following (only the $conf[ line may be needed to be added)

<?php

/* The file does not exist until some information is entered
below. Once information is entered and saved, the file will be created. */

$conf['upload_form_all_types'] = true;

?>

5) Click 'Save File'. 

The next time you select Upload Photos you should see the list of acceptable file types.
For example: "Allowed file types: jpg, jpeg, png, gif, tiff, tif, mpg, zip, avi, mp3, ogg, pdf, ogv, mp4, m4v, webm, webmv, strm."

Offline

 

#20 2021-01-31 16:08:38

Jeff.Borghoff
Member
2021-01-26
2

Re: Video upload for dummies

I had tried this as well.  I still get Error
Error: Invalid file extension: 0617180823.webm

Offline

 

#21 2021-01-31 16:43:06

erAck
Only trying to help
2015-09-06
1998

Re: Video upload for dummies

That

$conf['upload_form_all_types'] = true;

does not allow all file extensions but all listed in $conf['file_ext'] = ...; if false only those in $conf['picture_ext'] = ...;

See comment in include/config_default.inc.php:

// in the upload form, let users upload only picture_exts or all file_exts?
// for some file types, Piwigo will try to generate a pwg_representative
// (TIFF, videos, PDF)
$conf['upload_form_all_types'] = false;

Copy this from include/config_default.inc.php (or now here)

Code:

// file_ext : file extensions (case sensitive) authorized
$conf['file_ext'] = array_merge(
  $conf['picture_ext'],
  array('tiff', 'tif', 'mpg','zip','avi','mp3','ogg','pdf')
  );

and paste it into the local config file editor and add the webm extension, so

Code:

// file_ext : file extensions (case sensitive) authorized
$conf['file_ext'] = array_merge(
  $conf['picture_ext'],
  array('tiff', 'tif', 'mpg','zip','avi','mp3','ogg','pdf','webm')
  );

Running Piwigo at https://erack.net/gallery/

Offline

 

#22 2023-02-03 19:26:33

mfgpi
Member
2021-11-05
3

Re: Video upload for dummies

erAck wrote:

> I have read about piwigojs but it doesn't appear in my list of plugins.

That's because the name is VideoJS.
However, it's a technical plugin and has prerequisites that if not met in your hosting environment already may be too hard for you to fulfill. Be sure to read and understand the installation instructions, either Yes I'm root or No I'm NOT root.

But you could also try to just upload your .mp4 file without, it wouldn't get metadata and no thumbnail representative extracted, but browsers should be able to play it nonetheless if it's visible in an album at all.

---------------------
Query:
I have uploaded an mp4 file but it is not visible in the album. How can I make it visible (without metadata etc)? or What is preventing it from being visible?
Thank you for your help in advance.

I now see the answer here above, thank you.

Last edited by mfgpi (2023-02-03 19:42:10)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact