AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: teck on October 22, 2012, 04:38:44 AM

Title: upload audio and video
Post by: teck on October 22, 2012, 04:38:44 AM
Hi,
I have successfully upload an audio file for a product. But I couldn't find it at the store front?

Pls advice where is it located? And how to enable it to be played on the server but not download it?

take care,
teck
Title: Re: upload audio and video
Post by: abantecart on October 25, 2012, 01:20:15 PM
You need to create a Data listing block.

These are the steps
1. Go to Home :: Blocks :: Create block
2. Select Data listing
3. Select media and media type to show. Enter other data you need.
4. Save
5. Go to layout for product details page Design -> layouts
6. Locate where you want block to show, select block.
7. save

NOTE: Now storefront will show this block only if there is any media of this type available for given product
Same applies to categories

Title: Re: upload audio and video
Post by: teck on December 02, 2012, 10:26:34 AM
Thanks.
I managed to have the audio block displays at the product page but when i click on the auido, it links back to homepage. It is a mp3 file.
Secondly, how to attach an icon for the audio file?

take care,
teck
Title: Re: upload audio and video
Post by: kip on January 15, 2013, 03:26:46 PM
Im having a similar problem. Im selecting media, and then clicking on video, but no matter what size video I upload it says file too big?

Im trying to upload a very small video of the product instead of a picture. Ive looked through the documentation, it says you can do it. I just know what the size limit is.
any Ideas?
Title: Re: upload audio and video
Post by: abantecart on January 15, 2013, 04:27:36 PM
File upload size is controlled in 2 places.

1. In AbanteCart configuration System ->Settings -> Resource Library Upload Max File

2. Setting of maximum upload file size set in PHP
See this link:
http://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/
Title: Re: upload audio and video
Post by: kip on January 16, 2013, 04:36:06 AM
ok That worked! Thanks, but it is doing the same to me now. Its only linking to the home page. I have the block set up as media.
Title: Re: upload audio and video
Post by: mreamant on February 15, 2013, 01:16:35 PM
How do you handle size too small errors
Title: Re: upload audio and video
Post by: abolabo on February 18, 2013, 12:32:10 AM
How do you handle size too small errors
how do you get it? i mean reproduce steps
Title: Re: upload audio and video
Post by: mreamant on February 27, 2013, 12:18:39 PM
I assume this does not need to be done for PDF files. I added the pdf file under product>media, downloads, then related the product media to the download in "relations" under product.  Do I need to do something else to allow download of pdf after purchase...I am trying to set up the return link now, but so far not returning to site for download...using google checkout and paypal
Title: Re: upload audio and video
Post by: sanjai on December 01, 2017, 04:47:58 AM
I cannot upload mp4 format
Title: Re: upload audio and video
Post by: sanjai on December 01, 2017, 04:49:19 AM
Any one help me to upload Mp4 format to upload video file
Title: Re: upload audio and video
Post by: Basara on December 01, 2017, 04:55:29 AM
If you want simply uplaod mp4 file to your media library simply add new format as described here https://abantecart.atlassian.net/wiki/spaces/AD/pages/24281122/Add+new+resource+type

However you may need to modify your storefront template or extension to add code to play it
Title: Re: upload audio and video
Post by: sanjai on December 01, 2017, 05:48:56 AM
how to add one media resources library
Title: Re: upload audio and video
Post by: Basara on December 01, 2017, 05:52:14 AM
Hi. Access media library in Admin > Catalog > Media Manager
Title: Re: upload audio and video
Post by: sanjai on December 01, 2017, 06:06:12 AM
I am administrator so tell me how can i add that media manager
Title: Re: upload audio and video
Post by: sanjai on December 01, 2017, 06:08:10 AM
I Alreaded these Externsion /.+(jpe?g|gif|png|ico|svg|svgz)$/i  even though i cant add .mp4 format vedio file, Please tell me which format is suitable to upload and view and play in website
Title: Re: upload audio and video
Post by: Basara on December 01, 2017, 08:11:34 AM
Try Youtube embed
https://abantecart.atlassian.net/wiki/spaces/AD/pages/8847367/Resource+Library#ResourceLibrary-AddYouTubevideoasresourcetoproduct