Chromeless Youtube player

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Chromeless Youtube player

Post by Benjamin »

Can someone test this in Linux using firefox 3.0.11 please? The example won't even work for me.

http://code.google.com/apis/youtube/chr ... ple_1.html

I get an error saying that ytplayer is not defined.
spider.nick
Forum Commoner
Posts: 72
Joined: Wed Jul 15, 2009 12:22 pm
Location: Overland Park, KS

Re: Chromeless Youtube player

Post by spider.nick »

astions wrote:Can someone test this in Linux using firefox 3.0.11 please? The example won't even work for me.

http://code.google.com/apis/youtube/chr ... ple_1.html

I get an error saying that ytplayer is not defined.
Or, you could save yourself the time of a reply, and visit http://browsershots.org/. What a great resource, eh?

Nick
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Chromeless Youtube player

Post by Benjamin »

No I'm sorry, that doesn't help me. I believe the issue was the version of flash which I had installed.
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: Chromeless Youtube player

Post by jayshields »

I think you can change the Flash version on browser shots.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Re: Chromeless Youtube player

Post by superdezign »

spider.nick wrote:Or, you could save yourself the time of a reply, and visit http://browsershots.org/. What a great resource, eh?
Yes, it is. o.o

Learn something new everytime I come to DevNet.
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: Chromeless Youtube player

Post by JAB Creations »

I don't see any errors in any of the JavaScript consoles (Safari 4, Opera 10, Firefox 3.5) on XP.

For a test case it looks sweet though no video loads for me in any of the browsers I tested.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Chromeless Youtube player

Post by Benjamin »

JAB Creations wrote:I don't see any errors in any of the JavaScript consoles (Safari 4, Opera 10, Firefox 3.5) on XP.

For a test case it looks sweet though no video loads for me in any of the browsers I tested.
I was able to get it to work by reinstalling my flash players. The javascript error went away.
User avatar
omniuni
Forum Regular
Posts: 738
Joined: Tue Jul 15, 2008 10:50 pm
Location: Carolina, USA

Re: Chromeless Youtube player

Post by omniuni »

The javascript does not seem to be quite sound, though. Konq's JS debugger points to loadNewVideo on line 64 as the problematic code.
Attachments
chromeless_player_bug.png
chromeless_player_bug.png (59.63 KiB) Viewed 699 times
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: Chromeless Youtube player

Post by JAB Creations »

I saw no errors...but the script didn't seem to be executing...so it doesn't mean there aren't any errors. Once the video is working then functional errors will appear (e.g. a variable is null).
Post Reply