refinerycms-videos 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,10 +9,10 @@ $(document).ready(function() {
9
9
  str = "http://www.youtube.com/embed/" + ytid + "?rel=0";
10
10
  $(this).attr("href", str);
11
11
  $(this).attr("complete", "true");
12
- $(this).html($(this).html() + "<div class='ytvid_img'><img src='http://img.youtube.com/vi/" + ytid + "/0.jpg' width='290' /></div><img src='/images/video_play.png' class='pic_bg' />")
12
+ $(this).html($(this).html() + "<div class='ytvid_img'><img src='http://img.youtube.com/vi/" + ytid + "/0.jpg' width='290' /></div><img src='/assets/video_play.png' class='pic_bg' />")
13
13
  }
14
14
  });
15
15
 
16
16
  $(".tilevideo a").colorbox({iframe:true, innerWidth:640, innerHeight:390, transition:"elastic", opacity:"0.6"});
17
17
 
18
- });
18
+ });
@@ -2,7 +2,9 @@ module Refinery
2
2
  module Videos
3
3
  class Video < Refinery::Core::BaseModel
4
4
  self.table_name = 'refinery_videos'
5
-
5
+
6
+ attr_accessible :name, :youtube_url, :body, :position
7
+
6
8
  acts_as_indexed :fields => [:name, :youtube_url, :body]
7
9
 
8
10
  validates_presence_of :name, :youtube_url
data/readme.md CHANGED
@@ -12,7 +12,7 @@ Refinery CMS version 2.0.x.
12
12
 
13
13
  Open up your ``Gemfile`` and add the following:
14
14
 
15
- gem 'refinerycms-videos', '~> 2.0.0'
15
+ gem 'refinerycms-videos', '~> 2.0.1'
16
16
 
17
17
  Now, run:
18
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-videos
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-14 00:00:00.000000000Z
12
+ date: 2012-05-07 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: refinerycms-core