Page 1 of 1

Flash Video Problem

Posted: Mon Mar 17, 2008 2:39 pm
by rj
Youtube is going bonkers without warning "Your account has been permanently disabled for copyright infringement - no recourse"
So am serving my own videos now.
The problem is that it all works fine on the front page but when viewed from an individual article it is either not seeing the code files or the .flv movie files, and its a blank white box.

Here is what I have in the HEAD of the index.tpl

<script type="text/javascript" src="swfobject.js"></script>

And I put the two code files
mediaplayer.js
swfobjext.js
in the root and my template folder just in case.

The code in the file points to videos/movie.flv
Videos is a folder in my root.

Works on main page does not work within article.

Is this an easy one? Hopefully :)

thanks

RJ

if need to see the problem...
http://rackjite.com/archives/1315-Sunda ... -2008.html

Re: Flash Video Problem

Posted: Mon Mar 17, 2008 2:47 pm
by garvinhicking
Hi!

You need to put absoltue paths to your javascript, like /swfobject.js.

You also need absolute URLs to your movie.flv files.

The reason, if you show an article, you are no longer in your root but /archives/, so relative URLs will not work.

Regards,
Garvin

Posted: Mon Mar 17, 2008 3:18 pm
by rj
got it, you fixed it, I should have figured that one out myself! :)

TANKS!

RJ