# Streaming FLV in RoR

**URL:** <https://www.ruby-forum.com/t/streaming-flv-in-ror/106618>\
**Category:** Rails\
**Created:** [June 12, 2007, 3:09pm UTC](https://www.ruby-forum.com/t/streaming-flv-in-ror/106618 "2007-06-12T15:09:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rocky](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/278dde/32.png) [@rocky](https://www.ruby-forum.com/u/rocky)\
**Post date:** [June 12, 2007, 3:09pm UTC](https://www.ruby-forum.com/t/streaming-flv-in-ror/106618/1 "2007-06-12T15:09:09Z")

</div>

I am working on development of an RoR site that needs to display a  
small streaming video on a page. My first choice is to use Flash 8  
and the off the shelf skins for playback controls. Anyone have  
experience using this and deploying to RoR?

---

<div class="post-metadata">

**Author:** ![rocky](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/278dde/32.png) [@rocky](https://www.ruby-forum.com/u/rocky)\
**Post date:** [June 12, 2007, 3:31pm UTC](https://www.ruby-forum.com/t/streaming-flv-in-ror/106618/2 "2007-06-12T15:31:13Z")

</div>

well you would deploy it the same way you would a flash file. just use  
the streaming flash instead. ever do streaming flash?

---

<div class="post-metadata">

**Author:** ![rocky](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/278dde/32.png) [@rocky](https://www.ruby-forum.com/u/rocky)\
**Post date:** [June 12, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/streaming-flv-in-ror/106618/3 "2007-06-12T17:05:09Z")

</div>

> I am working on development of an RoR site that needs to display a  
> small streaming video on a page. My first choice is to use Flash 8  
> and the off the shelf skins for playback controls. Anyone have  
> experience using this and deploying to RoR?

Flowplayer…

> **[The smallest, most flexible online video player - Wowza Flowplayer](https://flowplayer.com/)**
>
> Customisable, fast and powerful video player & platform. With 36 different player plugins and complete with mobile SDKs. Simple to deploy. Trusted by thousands.

“FlowPlayer is a free Flash video player. You can easily embed it into  
HTML pages to play FLV files. FlowPlayer supports progressive  
downloading  
and true streaming.”

---

<div class="post-metadata">

**Author:** ![rocky](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/278dde/32.png) [@rocky](https://www.ruby-forum.com/u/rocky)\
**Post date:** [July 19, 2007, 5:27am UTC](https://www.ruby-forum.com/t/streaming-flv-in-ror/106618/4 "2007-07-19T05:27:22Z")

</div>

I’m appreciative of the replies I got on this topic. Part of the  
problem has been that I can’t really test the outcome locally, SVN and  
a file repository are in use on a web server development environment.  
Here’s how I ended up handling it. I’m using swfobject.js to ensure  
browser/platform compatibility. Repository and live files are on  
separate domains

1. upload flv to web server where live files reside
2. Create FLA file
3. import flv from webserver location, using absolute URL (http://  
[www.domainname.com/swf/video.flv](http://www.domainname.com/swf/video.flv)
4. specify skin using relative URL (/swf/SkinName.swf)
5. publish swf
6. use swfobject-compatible code in rhtml file:

 This text is replaced by the Flash movie. 

1. commit files to web server repository
2. update to live webserver

---

<div class="post-metadata">

**Author:** ![rocky](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/278dde/32.png) [@rocky](https://www.ruby-forum.com/u/rocky)\
**Post date:** [June 12, 2007, 3:42pm UTC](https://www.ruby-forum.com/t/streaming-flv-in-ror/106618/5 "2007-06-12T15:42:15Z")

</div>

> I am working on development of an RoR site that needs to display a  
> small streaming video on a page. My first choice is to use Flash 8  
> and the off the shelf skins for playback controls. Anyone have  
> experience using this and deploying to RoR?

We announced an open source Rails Flash video streaming solution on  
this mailing list just yesterday. Check it out at  
[http://www.nedforce.nl](http://www.nedforce.nl).

–  
Roderick van Domburg  
Nedforce [http://www.nedforce.nl/](http://www.nedforce.nl/)
