I want to post this email from one of our customers, it seems important because he solved the problem that sometimes with Firefox the ostube script just shows a black block instead of a video block on home page:

Chris I’ve fixed this issue!

The following is a little long winded, as I was taking notes as I was
testing things. At least it’s detailed. 🙂

Being as my “no startpage video” problem apparently isn’t to do with
the server, isn’t to do with templates and I can’t think of where else in the site to look, I
looked into what the cookies are doing. Note, this is ALL in the firefox browser, v3.0.
When I load the main page, http://www.climbclips.com/index.php , I get no video.

I opened the cookie data with tools/edit cookies in firefox. There are
5 entries. The first 4 are name things like __utmb, __utmc etc.. I didn’t find these interesting.
Mainly because I have no idea what they do, and they didn’t appear to change. What I did find
interesting was the cookie/s called PHPSESSID. The stuff below explains their behavior.

For the index page, on a fresh load which contains the video problem,
there is one PHPSESSID cookie, shown here:

SITE: www.climbclips.com
COOKIE NAME: PHPSESSID
CONTENT: a7776bb99e33bdceece8e0c2245cbba9
HOST: www.climbclips.com
PATH: /
SEND FOR: Any type of connection
Expires: at end of session

browse to another page, such as a video page (

http://climbclips.com/mediadetails.php?key=ec0cc59c8c7af133c215&title=Tahoe+Time)

In addition to the cookie above, which appears unchanged, there is a new cookie:

SITE: climbclips.com
COOKIE NAME: PHPSESSID
CONTENT: c0c13326fe81f2e2d84eb44da4fc8ae2
HOST: climbclips.com
PATH: /
SEND FOR: Any type of connection
Expires: at end of session

Almost the same as the first cookie, except for the “SITE” is
climbclips.com (without the www.), as well as the “host” is climbclips.com (without the www.)
The “content” string is different as well.

Now, I navigate back to the main page, index.php
The video plays correctly. No new cookie entry’s are added or changed.

I delete the PHPSESSID cookie with “site”: climbclips.com

Reload the page.

The video plays correct. Check the cookie, the deleted cookie has
re-appeared. (The same but with a new “content” string)

Ok. I delete ALL the cookies and refresh the page.

The video plays correct. The PHPSESSID cookie with the “site” and
“host”: climbclips.com has re-appeared. The PHPSESSID cookie with the “site” and “host”
www.climbclips.com has NOT re-appeared.

Now. I close the browser window. Open a new window at google. Clear
all the cookies for climbclips.com, load www.climbclips.com, no video.

Check the cookies, there is only one PHPSESSID cookie. It’s the
original one with the “site” of www.climbclips.com and “host” of www.climbclips.com. (The key here is
the addition of the “www”)

Ok, so now I go to other OsTube installations that work to see what
their cookies are up to.

Here’s one which is on the same server:
http://allspeedway.tv/

The video works. (it works everywhere but my site)

There is only one PHPSESSID cookie for the main page. The “site” name
and “host” read as “allspeeday.tv” No www. (Though, the site URL itself did not contain a
“www” prefix, the URL was

just, http://allspeedway.tv/
So I add a www to the url making it http://www.allspeedway.tv/
Load the page and NO VIDEO!
Check the cookies and there is a new PHPSESSID, this time with “site”
and “host” reading as

www.allspeedway.tv

Same behavior as my site.

Ok, so I go back over to my site and take out the www, loading
http://climbclips.com/
It works and video loads on the front page.

So I don’t fully understand the meaning of the WWW url prefix, why
it’s used or not used etc.. But I clearly see a connection between it, PHPSESSID cookies and the video loading in firefox.

On a whim, I decided to check the Admin settings for OSTube. I log in
to the admin panel, go to

Configuration and sure enough “URL of your site: http://climbclips.com”
I add a www to make it http://www.climbclips.com.

Clear the cookies, open a new browser, FIXED! The video loads.
What an insane way to figure this out. The problem was, the
irregularity of the issue across different pages and browsers made it very hard to troubleshoot.
At least from my perspective.

So, that’s it. Double check the “Url of your site” line in the ADMIN.
I didn’t think to check that, as you guys set that up…right? Anyway,
water under the bridge.
Thanks for all your help and now we both know.

-Tobias

Tobias Carrier is the proud owner of ClimbClips.com