# Strange problem with flash videos

**URL:** <https://www.ruby-forum.com/t/strange-problem-with-flash-videos/103911>\
**Category:** Rails\
**Created:** [May 11, 2007, 4:54pm UTC](https://www.ruby-forum.com/t/strange-problem-with-flash-videos/103911 "2007-05-11T16:54:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaP](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/919ad9/32.png) [@PaP](https://www.ruby-forum.com/u/PaP)\
**Post date:** [May 11, 2007, 4:54pm UTC](https://www.ruby-forum.com/t/strange-problem-with-flash-videos/103911/1 "2007-05-11T16:54:42Z")

</div>

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.demokritos.gr/word](http://etsl.imm.demokritos.gr/word)  
it works and i can see the videos  
when it changes to  
[http://etsl.imm.demokritos.gr/word/](http://etsl.imm.demokritos.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 ?  
I do not think anyone has encountered something so strange

---

<div class="post-metadata">

**Author:** ![PaP](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/919ad9/32.png) [@PaP](https://www.ruby-forum.com/u/PaP)\
**Post date:** [May 11, 2007, 10:39pm UTC](https://www.ruby-forum.com/t/strange-problem-with-flash-videos/103911/2 "2007-05-11T22:39:27Z")

</div>

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:522:in  
`recognition_failed' /vendor/rails/actionpack/lib/action_controller/routing.rb:512: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:

The strange think is that even when i give directly the link:  
[http://143.233.16.42:3000/word/category/2](http://143.233.16.42:3000/word/category/2)  
It still produces the same error !
