refinerycms-videojs 0.5.5 → 0.5.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
| @@ -64,7 +64,7 @@ module Refinery | |
| 64 64 | 
             
                        sources << ["<source src='#{file.url}' type='#{file.file_mime_type}'/>"]
         | 
| 65 65 | 
             
                      end if file.exist?
         | 
| 66 66 | 
             
                    end
         | 
| 67 | 
            -
                    html = %Q{<video id="video_#{self.id}" class="video-js  | 
| 67 | 
            +
                    html = %Q{<video id="video_#{self.id}" class="video-js #{Refinery::Videos.skin_css_class}" width="#{config[:width]}" height="#{config[:height]}" data-setup=' {#{data_setup.join(',')}}'>#{sources.join}</video>}
         | 
| 68 68 |  | 
| 69 69 | 
             
                    html.html_safe
         | 
| 70 70 | 
             
                  end
         | 
| @@ -0,0 +1,77 @@ | |
| 1 | 
            +
            sk:
         | 
| 2 | 
            +
              refinery:
         | 
| 3 | 
            +
                admin:
         | 
| 4 | 
            +
                  dashboard:
         | 
| 5 | 
            +
                    additional_dashboard_menu_items:
         | 
| 6 | 
            +
                      create_new: Pridať nové video
         | 
| 7 | 
            +
                plugins:
         | 
| 8 | 
            +
                  videos:
         | 
| 9 | 
            +
                    title: Videá
         | 
| 10 | 
            +
                videos:
         | 
| 11 | 
            +
                  admin:
         | 
| 12 | 
            +
                    videos:
         | 
| 13 | 
            +
                      actions:
         | 
| 14 | 
            +
                        create_new: Pridať nové video
         | 
| 15 | 
            +
                        reorder: Zmeniť usporiadanie videí
         | 
| 16 | 
            +
                        reorder_done: Uložiť usporiadanie
         | 
| 17 | 
            +
                      records:
         | 
| 18 | 
            +
                        title: Videá
         | 
| 19 | 
            +
                        sorry_no_results: Prepáč! Nenašli sa žiadne záznamy.
         | 
| 20 | 
            +
                        no_items_yet: Zatiaľ neboli pridané žiadne videá. Klikni na "Pridať nové video" pre pridanie prvého videa.
         | 
| 21 | 
            +
                      video:
         | 
| 22 | 
            +
                        view_live_html: Pozrieť toto video live <br/><em>(otvorí sa v novom okne)</em>
         | 
| 23 | 
            +
                        edit: Upraviť toto video
         | 
| 24 | 
            +
                        delete: Permanentne odstrániť toto video
         | 
| 25 | 
            +
                        file: Súbor
         | 
| 26 | 
            +
                        link: Odkaz
         | 
| 27 | 
            +
                        shared_source: Embedovaný
         | 
| 28 | 
            +
                      new:
         | 
| 29 | 
            +
                        use_files: Video súbor
         | 
| 30 | 
            +
                        use_embedded_video: Embed kód
         | 
| 31 | 
            +
                      form:
         | 
| 32 | 
            +
                        title: Názov
         | 
| 33 | 
            +
                        poster: Foto náhľad
         | 
| 34 | 
            +
                        width: Šírka
         | 
| 35 | 
            +
                        height: Výška
         | 
| 36 | 
            +
                      file_fields:
         | 
| 37 | 
            +
                        files: Súbory
         | 
| 38 | 
            +
                        file_tip: Pridaj súbory (alebo odkazy na súbory) typu 'mp4', 'webm', 'flv', 'ogg' pre plnú kompatibilitu prehliadačov
         | 
| 39 | 
            +
                        use_file: Súbor
         | 
| 40 | 
            +
                        use_external_source: Externý súbor
         | 
| 41 | 
            +
                        add_file: Pridať súbor
         | 
| 42 | 
            +
                        add_source: Pridať zdroj
         | 
| 43 | 
            +
                        delete_source: Odstrániť zdroj
         | 
| 44 | 
            +
                        link_to_source: Odkaz na zdroj
         | 
| 45 | 
            +
                        download_current: Použiť aktuálne video
         | 
| 46 | 
            +
                        or: alebo
         | 
| 47 | 
            +
                        replace: nahradiť týmto
         | 
| 48 | 
            +
                        maximum_file_size: "Maximálna veľkosť súboru: %{bytes}"
         | 
| 49 | 
            +
                      new_file_field:
         | 
| 50 | 
            +
                        use_file: Súbor
         | 
| 51 | 
            +
                        use_external_source: Externý súbor
         | 
| 52 | 
            +
                        add_file: Pridať súbor
         | 
| 53 | 
            +
                        add_source: Pridať zdroj
         | 
| 54 | 
            +
                        delete_source: Odstrániť zdroj
         | 
| 55 | 
            +
                      embed_video_fields:
         | 
| 56 | 
            +
                        copy_embed_tag_here: Tu vlož embed kód
         | 
| 57 | 
            +
                      form_option_fields:
         | 
| 58 | 
            +
                        options: Možnosti
         | 
| 59 | 
            +
                        autoplay: Automatické spustenie prehrávania
         | 
| 60 | 
            +
                        show_ontrols: Zobraziť ovládanie
         | 
| 61 | 
            +
                        preload_video: Prednačítavanie videa
         | 
| 62 | 
            +
                        loop_video: Prehrávať video v slučke
         | 
| 63 | 
            +
                      insert:
         | 
| 64 | 
            +
                        insert: Vložiť
         | 
| 65 | 
            +
                      preview_form:
         | 
| 66 | 
            +
                        width: Šírka
         | 
| 67 | 
            +
                        height: Výška
         | 
| 68 | 
            +
                  videos:
         | 
| 69 | 
            +
                    show:
         | 
| 70 | 
            +
                      other: Ďalšie videá
         | 
| 71 | 
            +
              activerecord:
         | 
| 72 | 
            +
                attributes:
         | 
| 73 | 
            +
                  'refinery/videos/video':
         | 
| 74 | 
            +
                    file_name: Názov súboru
         | 
| 75 | 
            +
                    file_size: Veľkosť súboru
         | 
| 76 | 
            +
                    file_ext: Prípona súboru
         | 
| 77 | 
            +
             | 
| @@ -7,6 +7,9 @@ Refinery::Videos.configure do |config| | |
| 7 7 |  | 
| 8 8 | 
             
                # Configure white-listed mime types for validation
         | 
| 9 9 | 
             
                #config.whitelisted_mime_types = <%= Refinery::Videos.whitelisted_mime_types %>
         | 
| 10 | 
            +
            	
         | 
| 11 | 
            +
                # Configure skin. Put css class name to activate skin. For YouTube like skin put tubecss and add css with images to assets path.
         | 
| 12 | 
            +
                # config.skin_css_class = <%= Refinery::Videos.skin_css_class %>
         | 
| 10 13 |  | 
| 11 14 | 
             
                # Configure Dragonfly
         | 
| 12 15 | 
             
                # This is where in the middleware stack to insert the Dragonfly middleware
         | 
| @@ -6,7 +6,7 @@ module Refinery | |
| 6 6 | 
             
                                :max_file_size, :pages_per_dialog, :pages_per_admin_index,
         | 
| 7 7 | 
             
                                :s3_backend, :s3_bucket_name, :s3_region,
         | 
| 8 8 | 
             
                                :s3_access_key_id, :s3_secret_access_key,
         | 
| 9 | 
            -
                                :datastore_root_path, :trust_file_extensions, :whitelisted_mime_types
         | 
| 9 | 
            +
                                :datastore_root_path, :trust_file_extensions, :whitelisted_mime_types, :skin_css_class
         | 
| 10 10 |  | 
| 11 11 | 
             
                self.dragonfly_insert_before = 'ActionDispatch::Callbacks'
         | 
| 12 12 | 
             
                self.dragonfly_secret = Refinery::Core.dragonfly_secret
         | 
| @@ -16,6 +16,7 @@ module Refinery | |
| 16 16 | 
             
                self.pages_per_dialog = 7
         | 
| 17 17 | 
             
                self.pages_per_admin_index = 20
         | 
| 18 18 | 
             
                self.whitelisted_mime_types = %w(video/mp4 video/x-flv application/ogg video/webm video/flv video/ogg)
         | 
| 19 | 
            +
                self.skin_css_class = "vjs-default-skin"
         | 
| 19 20 |  | 
| 20 21 | 
             
                class << self
         | 
| 21 22 | 
             
                  def datastore_root_path
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: refinerycms-videojs
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.5.5
         | 
| 4 | 
            +
              version: 0.5.5.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- | 
| 12 | 
            +
            date: 2012-08-14 00:00:00.000000000 Z
         | 
| 13 13 | 
             
            dependencies:
         | 
| 14 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 15 | 
             
              name: dragonfly
         | 
| @@ -65,47 +65,48 @@ executables: [] | |
| 65 65 | 
             
            extensions: []
         | 
| 66 66 | 
             
            extra_rdoc_files: []
         | 
| 67 67 | 
             
            files:
         | 
| 68 | 
            -
            - app/controllers/refinery/videos/admin/videos_controller.rb
         | 
| 69 | 
            -
            - app/controllers/refinery/videos/admin/video_files_controller.rb
         | 
| 70 | 
            -
            - app/models/refinery/videos/video.rb
         | 
| 71 68 | 
             
            - app/models/refinery/videos/video_file.rb
         | 
| 72 | 
            -
            - app/ | 
| 69 | 
            +
            - app/models/refinery/videos/video.rb
         | 
| 73 70 | 
             
            - app/assets/images/refinery/admin/add_video_icon.png
         | 
| 71 | 
            +
            - app/assets/javascripts/refinery/admin/wymeditor_monkeypatch.js
         | 
| 74 72 | 
             
            - app/assets/stylesheets/refinery/admin/video.css
         | 
| 73 | 
            +
            - app/controllers/refinery/videos/admin/video_files_controller.rb
         | 
| 74 | 
            +
            - app/controllers/refinery/videos/admin/videos_controller.rb
         | 
| 75 75 | 
             
            - app/views/sitemap/index.xml.builder
         | 
| 76 76 | 
             
            - app/views/refinery/videos/admin/videos/_actions.html.erb
         | 
| 77 | 
            +
            - app/views/refinery/videos/admin/videos/_file_fields.html.erb
         | 
| 77 78 | 
             
            - app/views/refinery/videos/admin/videos/_new_file_field.html.erb
         | 
| 78 | 
            -
            - app/views/refinery/videos/admin/videos/ | 
| 79 | 
            +
            - app/views/refinery/videos/admin/videos/_records.html.erb
         | 
| 79 80 | 
             
            - app/views/refinery/videos/admin/videos/new.html.erb
         | 
| 80 | 
            -
            - app/views/refinery/videos/admin/videos/show.html.erb
         | 
| 81 | 
            -
            - app/views/refinery/videos/admin/videos/edit.html.erb
         | 
| 82 81 | 
             
            - app/views/refinery/videos/admin/videos/insert.html.erb
         | 
| 83 | 
            -
            - app/views/refinery/videos/admin/videos/_sortable_list.html.erb
         | 
| 84 82 | 
             
            - app/views/refinery/videos/admin/videos/_videos.html.erb
         | 
| 85 | 
            -
            - app/views/refinery/videos/admin/videos/ | 
| 83 | 
            +
            - app/views/refinery/videos/admin/videos/_video.html.erb
         | 
| 86 84 | 
             
            - app/views/refinery/videos/admin/videos/index.html.erb
         | 
| 87 | 
            -
            - app/views/refinery/videos/admin/videos/dialog_preview.js.erb
         | 
| 88 | 
            -
            - app/views/refinery/videos/admin/videos/_videojs_dependencies.html.erb
         | 
| 89 85 | 
             
            - app/views/refinery/videos/admin/videos/append_to_wym.js.erb
         | 
| 90 | 
            -
            - app/views/refinery/videos/admin/videos/ | 
| 91 | 
            -
            - app/views/refinery/videos/admin/videos/_file_fields.html.erb
         | 
| 92 | 
            -
            - app/views/refinery/videos/admin/videos/_records.html.erb
         | 
| 93 | 
            -
            - app/views/refinery/videos/admin/videos/_preview_form.html.erb
         | 
| 86 | 
            +
            - app/views/refinery/videos/admin/videos/edit.html.erb
         | 
| 94 87 | 
             
            - app/views/refinery/videos/admin/videos/_form.html.erb
         | 
| 88 | 
            +
            - app/views/refinery/videos/admin/videos/_videojs_dependencies.html.erb
         | 
| 89 | 
            +
            - app/views/refinery/videos/admin/videos/_form_option_fields.html.erb
         | 
| 90 | 
            +
            - app/views/refinery/videos/admin/videos/_preview_form.html.erb
         | 
| 91 | 
            +
            - app/views/refinery/videos/admin/videos/_sortable_list.html.erb
         | 
| 92 | 
            +
            - app/views/refinery/videos/admin/videos/show.html.erb
         | 
| 93 | 
            +
            - app/views/refinery/videos/admin/videos/dialog_preview.js.erb
         | 
| 94 | 
            +
            - app/views/refinery/videos/admin/videos/_embed_video_fields.html.erb
         | 
| 95 95 | 
             
            - app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb
         | 
| 96 | 
            -
            - config/routes.rb
         | 
| 97 96 | 
             
            - config/locales/en.yml
         | 
| 98 97 | 
             
            - config/locales/ru.yml
         | 
| 98 | 
            +
            - config/locales/sk.yml
         | 
| 99 99 | 
             
            - config/initializers/refinery/core.rb
         | 
| 100 | 
            -
            -  | 
| 100 | 
            +
            - config/routes.rb
         | 
| 101 101 | 
             
            - db/migrate/2_create_video_file.rb
         | 
| 102 | 
            -
            -  | 
| 102 | 
            +
            - db/migrate/1_create_videos_videos.rb
         | 
| 103 | 
            +
            - lib/refinery/videos/configuration.rb
         | 
| 103 104 | 
             
            - lib/refinery/videos/dragonfly.rb
         | 
| 105 | 
            +
            - lib/refinery/videos/validators.rb
         | 
| 104 106 | 
             
            - lib/refinery/videos/validators/file_size_validator.rb
         | 
| 105 107 | 
             
            - lib/refinery/videos/engine.rb
         | 
| 106 | 
            -
            - lib/refinery/videos/validators.rb
         | 
| 107 | 
            -
            - lib/refinery/videos/configuration.rb
         | 
| 108 108 | 
             
            - lib/refinery/videos.rb
         | 
| 109 | 
            +
            - lib/refinerycms-videojs.rb
         | 
| 109 110 | 
             
            - lib/generators/refinery/videos/templates/config/initializers/refinery/videos.rb.erb
         | 
| 110 111 | 
             
            - lib/generators/refinery/videos/templates/assets/javascripts/videojs_loader.js
         | 
| 111 112 | 
             
            - lib/generators/refinery/videos_generator.rb
         | 
| @@ -130,9 +131,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 130 131 | 
             
                  version: '0'
         | 
| 131 132 | 
             
            requirements: []
         | 
| 132 133 | 
             
            rubyforge_project: refinerycms-videojs
         | 
| 133 | 
            -
            rubygems_version: 1.8. | 
| 134 | 
            +
            rubygems_version: 1.8.24
         | 
| 134 135 | 
             
            signing_key: 
         | 
| 135 136 | 
             
            specification_version: 3
         | 
| 136 137 | 
             
            summary: Videos extension for Refinery CMS
         | 
| 137 138 | 
             
            test_files: []
         | 
| 138 | 
            -
            has_rdoc: 
         |