Skip to content

kpitn/spree-movies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie Extension

How to install

script/extension install http://github.com/kpitn/spree-movies.git
rake db:migrate

add config.gem “formtastic” in environement.rb

How to use

  1. Go to configuration Tab > Video Type
  2. Add a new Video Type ex :
  • Name : Youtube
  • Embed Code :
<object width="[[WIDTH]]" height="[[HEIGHT]]"><param name="movie" value="http://www.youtube.com/v/[[KEYWORD]]"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/[[KEYWORD]]" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="[[WIDTH]]" height="[[HEIGHT]]"></embed></object>
  1. Go to product edition
  2. Choose Video
  3. Add a new Video ex :
  • name : “Name”
  • Video Type : “Youtube”
  • Keyword : “p8t41avFuCc”

About

Add embed movie available to product

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages