Implement more embed code
Supported Media Files: - Youtube - Vimeo - Instagram - Flickr - Slidershare - Speakerdeck close #26
This commit is contained in:
parent
587126218d
commit
cbb4b40bc0
6 changed files with 54 additions and 12 deletions
11
db/migrate/20140319143547_rename_video_to_media_on_events.rb
Normal file
11
db/migrate/20140319143547_rename_video_to_media_on_events.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
class RenameVideoToMediaOnEvents < ActiveRecord::Migration
|
||||
def up
|
||||
rename_column :events, :video_id, :media_id
|
||||
rename_column :events, :video_type, :media_type
|
||||
end
|
||||
|
||||
def down
|
||||
rename_column :events, :media_id, :video_id
|
||||
rename_column :events, :media_type, :video_type
|
||||
end
|
||||
end
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20140305102505) do
|
||||
ActiveRecord::Schema.define(:version => 20140319143547) do
|
||||
|
||||
create_table "answers", :force => true do |t|
|
||||
t.string "title"
|
||||
|
|
@ -75,6 +75,7 @@ ActiveRecord::Schema.define(:version => 20140305102505) do
|
|||
t.boolean "use_vpositions", :default => false
|
||||
t.boolean "use_vdays", :default => false
|
||||
t.boolean "use_difficulty_levels", :default => false
|
||||
t.boolean "use_volunteers"
|
||||
end
|
||||
|
||||
create_table "conferences_questions", :id => false, :force => true do |t|
|
||||
|
|
@ -169,8 +170,8 @@ ActiveRecord::Schema.define(:version => 20140305102505) do
|
|||
t.integer "room_id"
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
t.string "video_id"
|
||||
t.string "video_type"
|
||||
t.string "media_id"
|
||||
t.string "media_type"
|
||||
t.boolean "require_registration"
|
||||
t.integer "difficulty_level_id"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue