vkhater-social_stream-documents 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. data/.gitignore +15 -0
  2. data/.rspec +1 -0
  3. data/Gemfile +5 -0
  4. data/MIT-LICENSE +20 -0
  5. data/README.rdoc +6 -0
  6. data/Rakefile +26 -0
  7. data/app/assets/flash/Jplayer.swf +0 -0
  8. data/app/assets/images/16/audio.png +0 -0
  9. data/app/assets/images/16/btn_documents.png +0 -0
  10. data/app/assets/images/16/default.png +0 -0
  11. data/app/assets/images/16/doc.png +0 -0
  12. data/app/assets/images/16/mpeg.png +0 -0
  13. data/app/assets/images/16/pdf.png +0 -0
  14. data/app/assets/images/16/photo.png +0 -0
  15. data/app/assets/images/16/plain.png +0 -0
  16. data/app/assets/images/16/ppt.png +0 -0
  17. data/app/assets/images/16/rar.png +0 -0
  18. data/app/assets/images/16/video.png +0 -0
  19. data/app/assets/images/16/xls.png +0 -0
  20. data/app/assets/images/16/zip.png +0 -0
  21. data/app/assets/images/48/audio.png +0 -0
  22. data/app/assets/images/48/default.png +0 -0
  23. data/app/assets/images/48/excel.png +0 -0
  24. data/app/assets/images/48/mpeg.png +0 -0
  25. data/app/assets/images/48/pdf.png +0 -0
  26. data/app/assets/images/48/ppt.png +0 -0
  27. data/app/assets/images/48/rar.png +0 -0
  28. data/app/assets/images/48/resource.png +0 -0
  29. data/app/assets/images/48/video.png +0 -0
  30. data/app/assets/images/48/word.png +0 -0
  31. data/app/assets/images/48/zip.png +0 -0
  32. data/app/assets/images/btn/btn_audio.png +0 -0
  33. data/app/assets/images/btn/btn_document.png +0 -0
  34. data/app/assets/images/btn/btn_excel.png +0 -0
  35. data/app/assets/images/btn/btn_pdf.png +0 -0
  36. data/app/assets/images/btn/btn_picture.png +0 -0
  37. data/app/assets/images/btn/btn_resource.png +0 -0
  38. data/app/assets/images/btn/btn_video.png +0 -0
  39. data/app/assets/images/btn/btn_word.png +0 -0
  40. data/app/assets/images/btn/document.png +0 -0
  41. data/app/assets/javascripts/documents.js.erb +71 -0
  42. data/app/assets/javascripts/social_stream-documents.js +3 -0
  43. data/app/assets/stylesheets/documents.css.scss +271 -0
  44. data/app/assets/stylesheets/show.css.scss +111 -0
  45. data/app/assets/stylesheets/social_stream-documents.css +6 -0
  46. data/app/controllers/audios_controller.rb +2 -0
  47. data/app/controllers/documents_controller.rb +97 -0
  48. data/app/controllers/pictures_controller.rb +2 -0
  49. data/app/controllers/videos_controller.rb +2 -0
  50. data/app/helpers/documents_helper.rb +30 -0
  51. data/app/models/audio.rb +24 -0
  52. data/app/models/document.rb +78 -0
  53. data/app/models/picture.rb +30 -0
  54. data/app/models/video.rb +29 -0
  55. data/app/views/audios/_audio.html.erb +27 -0
  56. data/app/views/audios/_audio_focus_search.html.erb +3 -0
  57. data/app/views/audios/_audio_global_search.html.erb +3 -0
  58. data/app/views/audios/_audio_processed.html.erb +45 -0
  59. data/app/views/audios/_audio_processing.html.erb +7 -0
  60. data/app/views/audios/_audio_show.html.erb +62 -0
  61. data/app/views/audios/_audio_with_details.html.erb +3 -0
  62. data/app/views/audios/_new.html.erb +1 -0
  63. data/app/views/audios/destroy.js.erb +1 -0
  64. data/app/views/audios/index.html.erb +1 -0
  65. data/app/views/audios/show.html.erb +2 -0
  66. data/app/views/common_documents/_document_info.html.erb +48 -0
  67. data/app/views/common_documents/_edit_form.html.erb +57 -0
  68. data/app/views/common_documents/_headers.html.erb +72 -0
  69. data/app/views/common_documents/_index.html.erb +68 -0
  70. data/app/views/common_documents/_show.html.erb +34 -0
  71. data/app/views/documents/_document.html.erb +15 -0
  72. data/app/views/documents/_document_focus_search.html.erb +2 -0
  73. data/app/views/documents/_document_global_search.html.erb +2 -0
  74. data/app/views/documents/_document_show.html.erb +7 -0
  75. data/app/views/documents/_document_with_details.html.erb +13 -0
  76. data/app/views/documents/_new_activity.html.erb +1 -0
  77. data/app/views/documents/_new_activity_fields.html.erb +1 -0
  78. data/app/views/documents/destroy.js.erb +1 -0
  79. data/app/views/documents/index.html.erb +1 -0
  80. data/app/views/documents/show.html.erb +2 -0
  81. data/app/views/pictures/_new.html.erb +1 -0
  82. data/app/views/pictures/_picture.html.erb +42 -0
  83. data/app/views/pictures/_picture_focus_search.html.erb +2 -0
  84. data/app/views/pictures/_picture_global_search.html.erb +2 -0
  85. data/app/views/pictures/_picture_show.html.erb +26 -0
  86. data/app/views/pictures/_picture_with_details.html.erb +2 -0
  87. data/app/views/pictures/destroy.js.erb +1 -0
  88. data/app/views/pictures/index.html.erb +1 -0
  89. data/app/views/pictures/show.html.erb +2 -0
  90. data/app/views/videos/_new.html.erb +1 -0
  91. data/app/views/videos/_video.html.erb +29 -0
  92. data/app/views/videos/_video_focus_search.html.erb +2 -0
  93. data/app/views/videos/_video_global_search.html.erb +2 -0
  94. data/app/views/videos/_video_processed.html.erb +50 -0
  95. data/app/views/videos/_video_processing.html.erb +7 -0
  96. data/app/views/videos/_video_show.html.erb +64 -0
  97. data/app/views/videos/_video_with_details.html.erb +2 -0
  98. data/app/views/videos/destroy.js.erb +1 -0
  99. data/app/views/videos/index.html.erb +1 -0
  100. data/app/views/videos/show.html.erb +2 -0
  101. data/app/worker/audioencoder.rb +7 -0
  102. data/app/worker/videoencoder.rb +7 -0
  103. data/config/locales/en.yml +67 -0
  104. data/config/locales/es.yml +67 -0
  105. data/config/routes.rb +22 -0
  106. data/db/migrate/20110615143707_create_social_stream_documents.rb +24 -0
  107. data/db/migrate/20110922173707_add_file_processing_to_document.rb +9 -0
  108. data/db/migrate/20111005112707_add_title_and_description_to_document.rb +11 -0
  109. data/lib/generators/social_stream/documents/install_generator.rb +24 -0
  110. data/lib/social_stream-documents.rb +25 -0
  111. data/lib/social_stream/documents/engine.rb +46 -0
  112. data/lib/social_stream/documents/version.rb +5 -0
  113. data/lib/social_stream/migrations/documents.rb +9 -0
  114. data/lib/social_stream/toolbar_config/documents.rb +27 -0
  115. data/social_stream-documents.gemspec +30 -0
  116. data/spec/controllers/documents_controller_spec.rb +118 -0
  117. data/spec/controllers/pictures_controller_spec.rb +80 -0
  118. data/spec/dummy/.gitignore +1 -0
  119. data/spec/dummy/Rakefile +7 -0
  120. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  121. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  122. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  123. data/spec/dummy/config.ru +4 -0
  124. data/spec/dummy/config/application.rb +45 -0
  125. data/spec/dummy/config/boot.rb +10 -0
  126. data/spec/dummy/config/database.yml +22 -0
  127. data/spec/dummy/config/environment.rb +5 -0
  128. data/spec/dummy/config/environments/development.rb +25 -0
  129. data/spec/dummy/config/environments/production.rb +49 -0
  130. data/spec/dummy/config/environments/test.rb +37 -0
  131. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  132. data/spec/dummy/config/initializers/devise.rb +176 -0
  133. data/spec/dummy/config/initializers/inflections.rb +10 -0
  134. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  135. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  136. data/spec/dummy/config/initializers/session_store.rb +8 -0
  137. data/spec/dummy/config/locales/en.yml +5 -0
  138. data/spec/dummy/config/navigation.rb +0 -0
  139. data/spec/dummy/config/relations.yml +39 -0
  140. data/spec/dummy/config/routes.rb +60 -0
  141. data/spec/dummy/db/.gitkeep +0 -0
  142. data/spec/dummy/public/404.html +26 -0
  143. data/spec/dummy/public/422.html +26 -0
  144. data/spec/dummy/public/500.html +26 -0
  145. data/spec/dummy/public/favicon.ico +0 -0
  146. data/spec/dummy/public/javascripts/application.js +2 -0
  147. data/spec/dummy/public/javascripts/controls.js +965 -0
  148. data/spec/dummy/public/javascripts/dragdrop.js +974 -0
  149. data/spec/dummy/public/javascripts/effects.js +1123 -0
  150. data/spec/dummy/public/javascripts/prototype.js +6001 -0
  151. data/spec/dummy/public/javascripts/rails.js +191 -0
  152. data/spec/dummy/public/stylesheets/.gitkeep +0 -0
  153. data/spec/dummy/script/rails +6 -0
  154. data/spec/factories/document.rb +20 -0
  155. data/spec/factories/files/privado.png +0 -0
  156. data/spec/factories/files/rails.png +0 -0
  157. data/spec/factories/files/small.pdf +157 -0
  158. data/spec/factories/picture.rb +21 -0
  159. data/spec/integration/navigation_spec.rb +9 -0
  160. data/spec/models/video_spec.rb +9 -0
  161. data/spec/socialstream_documents_spec.rb +7 -0
  162. data/spec/spec_helper.rb +46 -0
  163. data/spec/support/cancan.rb +1 -0
  164. data/spec/support/db.rb +8 -0
  165. data/spec/support/devise.rb +4 -0
  166. data/spec/support/mock.rb +4 -0
  167. data/vendor/assets/javascripts/jquery.jplayer.js +78 -0
  168. data/vendor/assets/stylesheets/jplayer.blue.monday.css +448 -0
  169. data/vendor/assets/stylesheets/jplayer.blue.monday.jpg +0 -0
  170. data/vendor/assets/stylesheets/jplayer.blue.monday.video.play.hover.png +0 -0
  171. data/vendor/assets/stylesheets/jplayer.blue.monday.video.play.png +0 -0
  172. data/vendor/assets/stylesheets/jquery.lightbox.css +101 -0
  173. data/vendor/assets/stylesheets/pbar-ani.gif +0 -0
  174. metadata +322 -0
data/.gitignore ADDED
@@ -0,0 +1,15 @@
1
+ .bundle/
2
+ log/*.log
3
+ pkg/
4
+ spec/dummy/db/*.sqlite3
5
+ spec/dummy/log/*.log
6
+ spec/dummy/tmp/
7
+ *.DS_Store
8
+ Gemfile.lock
9
+ .project
10
+ .idea/*
11
+ .idea/social_stream-documents.iml
12
+ app/views/*/.tmp_*
13
+ **.*swp
14
+ .idea
15
+ spec/dummy/db/*sqlite3-journal
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem 'social_stream-base', :path => '../base'
4
+
5
+ gemspec
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2011 VÍCTOR SÁNCHEZ BELMAR
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,6 @@
1
+ = Social Stream Documents
2
+
3
+ Social Stream Documents provides with files support to
4
+ {Social Stream}[http://social-stream.dit.upm.es/], the core for building social
5
+ network websites. This gem allows actor to upload files as other activity type.
6
+
data/Rakefile ADDED
@@ -0,0 +1,26 @@
1
+ # encoding: UTF-8
2
+ require 'bundler/gem_tasks'
3
+
4
+ require 'rdoc/task'
5
+
6
+ require 'rspec/core'
7
+ require 'rspec/core/rake_task'
8
+
9
+ RSpec::Core::RakeTask.new(:spec)
10
+
11
+ task :default => :spec
12
+
13
+ Rake::RDocTask.new(:rdoc) do |rdoc|
14
+ rdoc.rdoc_dir = 'rdoc'
15
+ rdoc.title = 'SocialStream Documents'
16
+ rdoc.options << '--line-numbers' << '--inline-source'
17
+ rdoc.rdoc_files.include('README.rdoc')
18
+ rdoc.rdoc_files.include('lib/**/*.rb')
19
+ end
20
+
21
+ # Modify this gem's tags
22
+ class Bundler::GemHelper
23
+ def version_tag
24
+ "documents#{version}"
25
+ end
26
+ end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,71 @@
1
+ function removePlayers(){
2
+ $('.attachment_tile').removeClass("selected");
3
+ $('.player').remove();
4
+ $('#downloadButton').remove();
5
+ }
6
+
7
+ $('#closeButton').live("click",function(){
8
+ removePlayers();
9
+ });
10
+
11
+ function hideJplayer(jplayerid){
12
+ $("#full_video_"+jplayerid).removeClass("jp-video-270p");
13
+ $("#jp_interface_"+jplayerid).hide();
14
+ $("#jp_playlist_"+jplayerid).hide();
15
+ }
16
+
17
+ function showJplayer(jplayerid){
18
+ $("#full_video_"+jplayerid).addClass("jp-video-270p");
19
+ $("#jp_interface_"+jplayerid).show();
20
+ $("#jp_playlist_"+jplayerid).show();
21
+
22
+ }
23
+
24
+ $(".video_thumbnail_play_over").livequery("click",function(){
25
+ the_id = $(this).attr('id');
26
+ showJplayer(the_id);
27
+ $(this).parent().hide();
28
+ $("#jpId"+the_id).jPlayer("play", 0);
29
+ });
30
+
31
+ $(document).ready(function(){
32
+ //if there are 6 or more commments we only show the last 5 and a link to show the rest
33
+ $("#document_comments .activity_comments").each(function(){
34
+ var comments = $(this).children(".subactivity");
35
+ if (comments.size() > 5){
36
+ $(this).prepend("<div class='hide_show_comments'><a href='#' onclick='showAllDocumentComments(\""+
37
+ $(this).attr('id') +"\"); return false;'><%= I18n.t('comment.view_all') %> (" +
38
+ comments.size() + ")</a></div><div class='space_comments'></div>");
39
+ comments.slice(0,comments.size()-5).hide();
40
+ //hide alto space_comments
41
+ $(this).children(".space_comments").slice(0,comments.size()-5).hide();
42
+ }
43
+ });
44
+ });
45
+
46
+ showAllDocumentComments = function(id){
47
+ $("#"+id).children().show("slow");
48
+ //and hide the hide_show_comments
49
+ $("#"+id).children(".hide_show_comments").hide();
50
+ };
51
+
52
+
53
+ toggleDocumentMenu = function(name){
54
+ $(".document_menu").each(function(){
55
+ console.log($(this));
56
+ if($(this).css("display")!="none"){
57
+ $(this).slideToggle("slow");
58
+ $("#" + $(this).attr('id') + "_action").removeClass("selected");
59
+ }
60
+ });
61
+ if($("#document_" + name).css("display")=="none"){
62
+ $("#document_" + name).slideToggle("slow");
63
+ $("#document_" + name + "_action").addClass("selected");
64
+ }
65
+ }
66
+
67
+ $(document).ready(function(){
68
+ $("body").screw({
69
+ loadingHTML: '<%= image_tag('loading.gif') %>'
70
+ });
71
+ });
@@ -0,0 +1,3 @@
1
+ //= require jquery.jplayer
2
+ //= require_tree .
3
+ //= require jquery.ae.image.resize
@@ -0,0 +1,271 @@
1
+ @import "colors";
2
+
3
+ .attachment
4
+ {
5
+ padding-top: 10px;
6
+ }
7
+
8
+ .attachment_content
9
+ {
10
+ position: relative;
11
+ width: 90%;
12
+ vertical-align: middle;
13
+ line-height: 20px;
14
+ height: auto;
15
+ float:left;
16
+ font-size:13px;
17
+ }
18
+
19
+ .attachment_text
20
+ {
21
+ line-height: 20px;
22
+ height: auto;
23
+ font-size:13px;
24
+ }
25
+
26
+ .attachment_text_link
27
+ {
28
+ color: #2A3890;
29
+ padding-left: 10px;
30
+ }
31
+
32
+ .attachment_text audio
33
+ {
34
+ position:relative;
35
+ }
36
+
37
+ .attachment_text video
38
+ {
39
+ position:relative;
40
+ height: 180px;
41
+ }
42
+
43
+ .attachment_thumb
44
+ {
45
+ position: relative;
46
+ /*width: 10%;*/
47
+ float: left;
48
+ /*height: 50px;*/
49
+ padding-right:5px;
50
+ vertical-align: middle;
51
+ }
52
+
53
+ #new_document{
54
+ margin-left: 10px;
55
+ clear: both;
56
+ padding-top: 5px;
57
+ text-align: left;
58
+ }
59
+
60
+ .attachment_tile{
61
+ margin: 5px;
62
+ width: 90px;
63
+ height: 70px;
64
+ border-bottom: 2px solid transparent;
65
+ float: left;
66
+ text-align: center;
67
+ overflow: hidden;
68
+ border: 1px solid transparent;
69
+ padding: 5px;
70
+ position: relative;
71
+ }
72
+
73
+ .attachment_tile_thumb img{
74
+ width: 48px;
75
+ height: 48px;
76
+ }
77
+
78
+ .attachment_tile_tipsy{
79
+ position: absolute;
80
+ top: 0px;
81
+ right: 9px;
82
+ }
83
+
84
+ .attachment_tile:hover{
85
+ border: 1px solid $main-color;
86
+ }
87
+
88
+ .attachment_tile.selected{
89
+ background-color: #e0edf2;
90
+ border-bottom: 2px solid green;
91
+ }
92
+
93
+ .attachment_section_header{
94
+ margin-top: 15px;
95
+ margin-bottom: 5px;
96
+ padding-left: 10px;
97
+ position: relative;
98
+ width:90%;
99
+ border-left: 3px solid #2A3890;
100
+ background-color: #e0edf2;
101
+ }
102
+
103
+ .attachment_tile_tipsy_menu.tipsy {
104
+ padding-top: 0px;
105
+ display: none;
106
+ }
107
+ .attachment_tile_tipsy_menu.tipsy .tipsy-arrow {
108
+ display: none;
109
+ }
110
+ .attachment_tile_tipsy_menu.tipsy .tipsy-inner {
111
+ background-color: $text-over-main;
112
+ border-radius: 0px;
113
+ -moz-border-radius: 0px;
114
+ -webkit-border-radius: 0px;
115
+ padding:0px;
116
+ }
117
+ .attachment_tile_tipsy_menu.tipsy .actions {
118
+ border-bottom: 1px solid $main-color;
119
+ text-align: left;
120
+ }
121
+ .attachment_tile_tipsy_menu.tipsy .actions .action {
122
+ border: 1px solid $main-color;
123
+ border-bottom: 0px;
124
+ padding:5px;
125
+ width: 80px;
126
+ }
127
+ .attachment_tile_tipsy_menu.tipsy .actions .action:hover {
128
+ background-color: $secondary-color;
129
+ }
130
+ .attachment_tile_tipsy_menu.tipsy .actions a:hover {
131
+ text-decoration: none;
132
+ }
133
+ .attachment_tile_tipsy_menu.tipsy .actions .action img {
134
+ vertical-align: middle;
135
+ padding-bottom: 3px;
136
+ padding-right: 3px;
137
+ padding-left: 3px;
138
+ display: inline-block;
139
+ }
140
+ #repository_filter {
141
+ margin-left: 10px;
142
+ }
143
+
144
+ #repository_filter #order_by{
145
+ margin: 5px 5px 5px 15px;
146
+ }
147
+
148
+ #repository_filter input {
149
+ padding: 0 3px 0 22px;
150
+ background: url('btn/search_icon.png') 5px 50% no-repeat white;
151
+ font-size: 11px;
152
+ color: $main-color;
153
+ border: solid 1px $input-border-color;
154
+ height: 25px;
155
+ width: 200px;
156
+ }
157
+
158
+ .player{
159
+ position: fixed;
160
+ border-left: 24px solid #2A3890;
161
+ border-right: 24px solid #2A3890;
162
+ background-color: #e0edf2;
163
+ bottom: 0px;
164
+ right: 0px;
165
+ max-height: 300px;
166
+ }
167
+
168
+ #downloadButton{
169
+ position: fixed;
170
+ bottom: 5px;
171
+ right: 0px;
172
+ width: 24px;
173
+ }
174
+
175
+ .media_preview{
176
+ float:left;
177
+ margin: 10px;
178
+ width: 140px;
179
+ height: 110px;
180
+ text-align:center;
181
+ }
182
+
183
+ .media_preview_image{
184
+ position: relative;
185
+ top: 0px;
186
+ width:130px;
187
+ height: 80px;
188
+ }
189
+
190
+ .media_preview_title{
191
+ position:relative;
192
+ width: 100%;
193
+ overflow:hidden;
194
+ font-size: 12px;
195
+ color: #2A3890;
196
+ }
197
+
198
+ .media_preview_detail{
199
+ position: relative;
200
+ width: 100%;
201
+ overflow:hidden;
202
+ font-size: 11px;
203
+ color: #2A3890;
204
+ }
205
+
206
+ .size_19px {
207
+ width: 19px;
208
+ }
209
+
210
+
211
+ #jpId {
212
+
213
+ }
214
+
215
+ .jp-audio, .jp-video {
216
+ margin: 5px 0 5px 0;
217
+ }
218
+
219
+ .hidenJplayer {
220
+ height: 0px;
221
+ width: 0px;
222
+ }
223
+
224
+ .video_thumbnail_class {
225
+ width: 180px;
226
+ height: 135px;
227
+ }
228
+
229
+ .video_thumbnail_image{
230
+ position: relative;
231
+ top:0px;
232
+ width: 180px;
233
+ z-index:1;
234
+ width: 180px;
235
+ height: 135px;
236
+ overflow: hidden;
237
+ }
238
+
239
+ .video_thumbnail_play_over {
240
+ background: transparent url("jplayer.blue.monday.video.play.png") no-repeat center;
241
+ /* position: relative; */
242
+ position: relative;
243
+ cursor:pointer;
244
+ z-index:2;
245
+ }
246
+
247
+ .video_thumbnail_play_over:hover {
248
+ background: transparent url("jplayer.blue.monday.video.play.hover.png") no-repeat center;
249
+ }
250
+
251
+ .video_thumbnail_play_over {
252
+ top:-135px;
253
+ width:180px;
254
+ height:135px;
255
+ }
256
+
257
+ /* needed to hide the flash element when used */
258
+ .jpId_size0{
259
+ width: 0px;
260
+ height: 0px;
261
+ }
262
+
263
+
264
+ .processing_text{
265
+ padding: 10px 0px 10px 50px;
266
+ }
267
+
268
+ .screw{
269
+ width: 100%;
270
+ text-align: center;
271
+ }