# FlowPlayerLP not playing video

**URL:** <https://www.ruby-forum.com/t/flowplayerlp-not-playing-video/152279>\
**Category:** Rails\
**Created:** [November 1, 2008, 6:24am UTC](https://www.ruby-forum.com/t/flowplayerlp-not-playing-video/152279 "2008-11-01T06:24:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrbless](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ba9def/32.png) [@mrbless](https://www.ruby-forum.com/u/mrbless)\
**Post date:** [November 1, 2008, 6:24am UTC](https://www.ruby-forum.com/t/flowplayerlp-not-playing-video/152279/1 "2008-11-01T06:24:52Z")

</div>

I know this is not the right place to raise this question. But I am  
left with no option because I have done googling but could not found  
the solution that resolve my problem. When i use flowplayerlight or  
flowplayerdark it does play the video. But i have to show the  
thumbnail as well that’s why i go with the flowplayerLP. But when i  
use flowplayerLP neither it plays video nor it show thumbnail.  
My code is like this

\<% if not @videos.empty? %\>  
\<% video = @videos[0] %\>  
\<% # video\_file\_name = VIDEO\_LOCATION + “video\_” + video.id.to\_s +  
“.flv”  
if params[:id]  
ind=params[:id].to\_i - 1.to\_i  
end  
if ind  
video\_file\_name = “#{@videos[ind].id}.flv”  
else  
video\_file\_name = “#{@videos[0].id}.flv”  
end  
# + video.id.to\_s + “.flv”  
%\>

```
<input type="hidden" name="video_file_name" id="video_file_name"

```

value="\<%= video\_file\_name %\>" \>  
\<% end %\>

* * *

* * *

* * *
 \<% @videos. each {|v| %\> 
 \<%=link\_to v.name ,:controller=\>'video',:id=\>v.id %\> Length: \<%= v.duration %\> Minute(s) 
 \<% } %\>
