Author Topic: Videos in Media  (Read 3298 times)

Offline Phanouman

  • Newbie
  • *
  • Posts: 37
  • Karma: +1/-1
    • View Profile
Videos in Media
« on: February 04, 2014, 05:36:59 AM »
Hello,

I'm trying to add a video with the resource library in the media of my products.

The upload of *.flv files is OK, but I cannot see the videos in the front end ?

I have the same problem when I use Resource HTML.

Thank you very much for your help.

Stéphane

gordontaylor

  • Guest
Re: Videos in Media
« Reply #1 on: February 04, 2014, 09:06:58 AM »
Are you getting any errors?
Do you have the video block turned on?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4309
  • Karma: +202/-0
    • View Profile
Re: Videos in Media
« Reply #2 on: February 19, 2014, 10:09:08 AM »
Hello,

I'm trying to add a video with the resource library in the media of my products.

The upload of *.flv files is OK, but I cannot see the videos in the front end ?

I have the same problem when I use Resource HTML.

Thank you very much for your help.

Stéphane

Hello. *.flv files are not Resource HTML  :). There is no build-in player to play flv files.

Please follow next steps to add YouTube video Resource HTML
1. go to youtube and grab embed code. Youtube generate it for you in the share Tab
something like
Code: [Select]
<iframe width="640" height="360" src="//www.youtube.com/embed/IQ5SLJUWbdA" frameborder="0" allowfullscreen></iframe>2.  go to product edit page in Admin and click on Media TAB
3.  click `+` button the Resource Library window will appear
 click on `video `
 click `ADD RESOURCE`
 click `Add Image URL or Resource HTML` Tab
4. insert embed code and add any name for resource
 Click SAVE button
Click Done button to close Resource Library window
5. Next go to Admin-Design-Blocks and create new `DATA Listing` block type. Select Listing Data Source - `MEDIA`
Select Media Type - `VIDEO`. Then Save block.
6. Go to Admin-Design-Layouts and Select `Default Product Page`. Then Enable video block and save layout

That's all you should see youtube video on product info page

Documentation link How to Add YouTube video as resource in AbanteCart
« Last Edit: February 28, 2014, 08:32:59 AM by Basara »
“Chuck Norris is so amazing.”
― Mother Teresa

Offline kthackwray

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: Videos in Media
« Reply #3 on: February 26, 2015, 04:17:00 AM »
Thanks for guide -  It works fine for a product but I would like to add a video to a "Category" page
When I go through the same process of adding a Video Block to the Category page , this works but when adding media to the category page , it allows me to add the :add resource URL" however in the TYPE field it ONLY ALLOWS ME TO ADD an IMAGE ?
The Utube video is displayed as media below the image on the right (in the admin page ) but does not appear on the Category Page ?

Help Please


Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4309
  • Karma: +202/-0
    • View Profile
Re: Videos in Media
« Reply #4 on: February 26, 2015, 05:22:03 AM »
Create HTML block with youtube embed code then enable block in category Layout
“Chuck Norris is so amazing.”
― Mother Teresa

 

Powered by SMFPacks Social Login Mod