Spree extension to add Youtube videos to products with similar integration as images.
Last updated on: February 01 at 11:50 AM
source code bug trackerSpree extension to add Youtube videos to products with similar integration as images. WARNING: An override of JavaScript behavior on images Spree::Products#show will stop images from changing on mouse hover, need to do a refactoring on app/assets/javascrips/frontend/products.js.coffee
or some adjustment on app/assets/javascrips/frontend/spree_youtube_embed.js
TODOS:
Add spree_youtube_embed to your Gemfile:
gem 'spree_youtube_embed', github: 'ErvalhouS/spree_youtube_embed', branch: '3-0-stable'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g spree_youtube_embed:install
First bundle your dependencies, then run rake
. rake
will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app
.
bundle
bundle exec rake
When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:
require 'spree_youtube_embed/factories'
Copyright (c) 2016 Fernando Bellincanta, released under the New BSD License
tags | spree versions |
---|---|
master | ~> 3.0 |