Loading...
 
Features / Usability

Features / Usability


Video uploads

posts: 22

Hi there, I was wondering if I could get some help. I've been trying to upload a video to my file gallery but I keep getting System Errors along these lines:

Copy to clipboard
Got a packet bigger than 'max_allowed_packet' bytes The query was: INSERT INTO `tiki_files` (`galleryId`, `name`, `description`, `filename`, `filesize`, `filetype`, `data`, `user`, `created`, `hits`, `path`, `hash`, `search_data`, `metadata`, `lastModif`, `lastModifUser`, `comment`, `author`, `lockedby`, `deleteAfter`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)


Now the file itself is an 8MB .mp4 file. I've asked my server guys to be able to expand my upload size and that is currently allowing "38MB" files to be uploaded.

I was also wondering. Once I get the file into the DB, how would I go about putting it in a player and embedding it on my wiki.

posts: 22

Thanks for that. I'll see what I can work out with admin here.

What is your suggestion around embedding that video into a player on my wiki?


posts: 22
Thanks Marc, I've had a look at that earlier but I can't seem to get the syntax right for a video file (eg. an avi or mp4) from the gallery and there is no concrete example of it.
posts: 22

Woops sorry for double posting...

It does a little bit... I unfortunately can't view the videos (maybe something to do with my media players)...

I was more looking for the format of the URL from my file gallery, if that helps.

posts: 3665 United States
Matthew.Lay wrote:
I was more looking for the format of the URL from my file gallery, if that helps.


It will be something like http://yourdomain.com/tiki-download_file.php?fileId=##

with a unique ID for the file you uploaded. Tiki displays this information (including each item's URL) for each file you upload.

You may find this guide helpful.

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

posts: 22

It does a little bit... I unfortunately can't view the videos (maybe something to do with my media players)...

I was more looking for the format of the URL from my file gallery, if that helps.