PrototypeJS and flash video

12 views
Skip to first unread message

cnickel

unread,
May 21, 2008, 12:45:48 AM5/21/08
to Ruby on Rails: Spinoffs
Hi,
I'm using PrototypeJS Updater AJAX function to update the content of a
div section in my webpage without reloading the whole page when
clicking on a link.
The problem is for one link that gives flash video (FLV) content
through Flash video player(swfobject.js).
The video doesnt display and i have the following message instead:
"Get Flash video player to see this player" although i have the player
installed (works without ajax).
Could you help?
my website is http://www.avastarweb.com - link is "About"
Thx

Andras Kende

unread,
May 21, 2008, 2:19:31 AM5/21/08
to rubyonrail...@googlegroups.com
Hi,

Change span to div :

<span id="video0" class="flashvideo"><a
href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a>
to see this player.</span>

to:

<div id="video0" class="flashvideo"><a
href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a>
to see this player.</div>


Also you page is loading swobject.js file twice...


Andras

http://www.kende.com

cnickel

unread,
May 21, 2008, 4:07:45 AM5/21/08
to Ruby on Rails: Spinoffs
Hi, thank you for your swift response.
Unfortunately i applied the changes you recommended but it doesnt
seems to solve the problem.
You can check on www.avastarweb.com

...
> my website ishttp://www.avastarweb.com - link is "About"
> Thx- Hide quoted text -
>
> - Show quoted text -

Andras Kende

unread,
May 21, 2008, 4:31:52 AM5/21/08
to rubyonrail...@googlegroups.com
Could be that you need swobject.js 1.5 not 2.0
download from : http://blog.deconcept.com/swfobject/

Create a new minimal static html page and see if your embed code works...

Reply all
Reply to author
Forward
0 new messages