# Problem with embedding a SWF player file in page

**URL:** <https://www.ruby-forum.com/t/problem-with-embedding-a-swf-player-file-in-page/196945>\
**Category:** Rails\
**Created:** [April 20, 2009, 5:34pm UTC](https://www.ruby-forum.com/t/problem-with-embedding-a-swf-player-file-in-page/196945 "2009-04-20T17:34:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a88e4f/32.png) [@rubio](https://www.ruby-forum.com/u/rubio)\
**Post date:** [April 20, 2009, 5:34pm UTC](https://www.ruby-forum.com/t/problem-with-embedding-a-swf-player-file-in-page/196945/1 "2009-04-20T17:34:57Z")

</div>

Found a great link  
([Eleventyten.com is for sale | HugeDomains](http://blog.eleventyten.com/2007/6/8/embedding-swf-content-with-ror/))  
describing adding Flash content (in my case playerMultipleList.swf) in  
a “rails” webpage.

I’ve followed the instructions to a “T”, however the player doesn’t  
display on the page … just the words playerMultipleList.swf appear ☹

Everything else is working great after retrofitting the pages to the ROR  
framework, but this is one of the most important features. If you have  
experience with this and would kindly share it, I will greatly  
appreciate it!

Please see attachment for the code I’m using !

Thanks Rubio

---

<div class="post-metadata">

**Author:** ![rubio](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a88e4f/32.png) [@rubio](https://www.ruby-forum.com/u/rubio)\
**Post date:** [April 20, 2009, 5:51pm UTC](https://www.ruby-forum.com/t/problem-with-embedding-a-swf-player-file-in-page/196945/2 "2009-04-20T17:51:26Z")

</div>

line 8-10 of your file might be what you are seeing.

08   
09

  
10 playerMultipleList.swf  
11 

line 10 is where is displays the name.  
line 08 is most likely the problem. Usually javascripts are in a  
javascripts directory. change that line to this and see if it works:

08 \</  
script\>

I have never used that javascript swfobject.js library before, but my  
#1 guess is you are not loading it.

I am also sure there would be a way to play your SWF without needing  
the Javascript that would make your life easier so look into that  
also.

Chris Reister  
[www.cowboyonrails.com](http://www.cowboyonrails.com)

On Apr 20, 8:34 am, Rubio R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
