Hi everyone i am making a RoR application that contains flv
videos
like youtube. It has worked ok when i embedded the flv
videos in
moodle but now i have a very strange problem
First of all I use the FLASH PLAYER 3.3 which is a quite
common
player.
I have uploaded the videos in the public folder and i have
stored
their path in the db
When i enter (so far you can access the app (from the
Internet))
http://etsl.imm.de
mokritos.gr/word
it works and i can see the videos
when it changes to
http://etsl.imm.d
emokritos.gr/word/
i can see nothing and no Javascript complaints !!! Plus the
output
HTML is the same as before. So bizarre !
Also i made a contoller to view the videos by category, it
works it
produces the right HTML but the videos do not load neither
the
player !
Any ideas, suggestions ?
Just to add something
I just checked with WebRick
as i said when i add a slash at end the videos do not
appear
and webrick gives me that:
Processing Base#index (for 91.140.18.241 at 2007-05-11
23:31:17) [GET]
Session ID: bc651fe3d0fac25477d5af2c51212ea4
Parameters: {}
ActionController::RoutingError (Recognition failed for
"/word/
category/
flash/flvplayer.swf"):
/vendor/rails/actionpack/lib/action_controller/routing.rb:52
2:in
`recognition_failed'
/vendor/rails/actionpack/lib/action_controller/routing.rb:51
2:in
`recognize!'
/vendor/rails/railties/lib/dispatcher.rb:38:in
`dispatch'
/vendor/rails/railties/lib/fcgi_handler.rb:150:in
`process_request'
/vendor/rails/railties/lib/fcgi_handler.rb:54:in
`process!'
/usr/lib/ruby/1.8/fcgi.rb:612:in `each_cgi'
/usr/lib/ruby/1.8/fcgi.rb:117:in `session'
/usr/lib/ruby/1.8/fcgi.rb:104:in `each_request'
/usr/lib/ruby/1.8/fcgi.rb:36:in `each'
/usr/lib/ruby/1.8/fcgi.rb:609:in `each_cgi'
/vendor/rails/railties/lib/fcgi_handler.rb:53:in
`process!'
/vendor/rails/railties/lib/fcgi_handler.rb:23:in
`process!'
/var/www/etsl/public/dispatch.fcgi:26
And that thing is the script for the video:
<script type="text/javascript">
var FO = { movie:"flash/
flvplayer.swf",width:"320",height:"240&q
uot;,majorversion:"7",build:"0",bgcolor:
"#FFFFFF",
flashvars:"file=/videos/animals/
animal_uk.flv&showdigits=false&autostart=false&s
howfsbutton=false&repeat=false" };
UFO.create( FO, "player1");
</script>
The strange think is that even when i give directly the
link:
http://143.
233.16.42:3000/word/category/2
It still produces the same error !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails" group.
To post to this group, send email to rubyonrails googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-unsubscribe googlegroups.com
For more options, visit this group at http://gro
ups.google.com/group/rubyonrails
-~----------~----~----~----~------~----~------~--~---
|