Go
Not registered? Sign up!

Basic setup not working - Black player with icons

Google Translate
13 posts | return to the Setup Problems forum | get the rss feed for this thread

Nov. 04, 2009Carlos

I'm stumped. Seems like it should be so simple. I created a simple index.htm file here: www.brigali.com/videos/index.htm and placed the unzipped files including player.swf, swjobject.js, etc., into the same directory as well as the .flv video file and when I hit the page, what I get is the player window in black with a bunch of icons from the player, such as the speaker and full screen icons and the spinning Loading icon.

Maybe someone else has posted this, but I couldn't think of how it might have been described.

My host is dreamhost.com.

Nov. 04, 2009Warren Oates

Where did you get the player.swf file? Try downloading another copy.

Nov. 04, 2009hobbs

 
Wrong:so.addVariable('file=AndersonOysterFestival.flv');

Right:so.addVariable('file', 'AndersonOysterFestival.flv');


Your server is delivering FLVs as text/plain.

It should be video/x-flv.


wget -S "http://www.brigali.com/videos/AndersonOysterFestival.flv
--16:19:41--  http://www.brigali.com/videos/AndersonOysterFestival.flv
           => `AndersonOysterFestival.flv'
Resolving www.brigali.com... 69.163.151.223
Connecting to www.brigali.com|69.163.151.223|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Thu, 05 Nov 2009 00:19:42 GMT
  Server: Apache
  Last-Modified: Tue, 03 Nov 2009 15:44:46 GMT
  ETag: "abec085-9f949-477795fa15780"
  Accept-Ranges: bytes
  Content-Length: 653641
  MS-Author-Via: DAV
  Keep-Alive: timeout=2, max=100
  Connection: Keep-Alive
  Content-Type: text/plain
Length: 653,641 (638K) [text/plain]

100%[====================================>] 653,641      148.72K/s    ETA 00:00

16:19:46 (149.25 KB/s) - `AndersonOysterFestival.flv' saved [653641/653641]

Nov. 05, 2009Carlos

Well, I did both of the above and no change. I must be doing something wrong. Any other ideas?

I changed so.AddVariable and my ISP did the fix the MIME. Here's what Dreamhost tech support responded:

"...you can easily over-ride this using an .htaccess file with this entry:

AddType video/x-flv .flv

I went ahead and set this up on your domain and I can verify it is now video/x-flv with wget..."

Nov. 05, 2009hobbs

 
Your player code and your MIME type are OK.

It appears that your player is broken.

Did you upload player.swf with your FTP client in BINARY mode?

Get a new player here: http://developer.longtailvideo.com/trac/browser/trunk/as3 and upload it with your FTP client in BINARY mode. (Click on player.swf to download the player file.)

Nov. 05, 2009Carlos

Thank you. Making progress. Now the player sort of works. After a couple of seconds, it stops.

I updated the index page to include two videos. Neither one plays more then a second or two. Any ideas?

Thank you.

Nov. 05, 2009hobbs

 
Your video files are bad.

Use some of the video files from Longtail Video for testing: http://developer.longtailvideo.com/trac/browser/testing/files

Then you can be sure that the video file is good and you can concentrate on the player and page code.

They are binary files, so be sure that you upload them with your FTP client in binary mode.

Nov. 05, 2009Carlos

Excellent!!! Looks like most of my problems were the upload mode. Thank you very much!

Nov. 05, 2009hobbs

 
You're welcome.

      Good Luck!  

  

Nov. 06, 2009Jane

I'm also confused. I saw this player on someone else's website and looked under the code. They were using gthe embed code. If you have a regular website, can't you use that and just install the files on your server and point to them, and put in the link to the video?

When I used the set up wizard it gave me a different kind of code that I can't figure out where to put the link to the video.

Why is this not clear from anything I can read? I'm not dumb, I understand file paths, etc... and how to alter code. I also don't know where I'm supposed to get the skin she is using... overlay, the simple one with the go away hiding controls....where do I downlnoad that? I have overlay.swf but straightforwardly it won't work unless I link it to hers!



Can someone email me at themaclady at comcast dot net?

Nov. 06, 2009Jane

Also, what the heck is this for?

 
<div id='mediaspace'>This text will be replaced</div>

Nov. 06, 2009Jane

I have the embed working but NOT with my own preview file. I have the set upwizard code working with the preview file but it won't play the video even though I added the type variable!

I have it so it works from my own HD as well as my server.

How and where do I enter the flash vars in the embed code????

C'mon peeps simple question, simple answer.
Can someone email me at themaclady at comcast dot net

Nov. 10, 2009Ethan LongTail

Hi Jane,

Can you link me to where you are running our player on your site so I can take a look at your implementation so I can better help you?

Please email me directly at ethan [at] longtailvideo [dot] com to follow up if you have any other questions, thank you.

Best Regards,
-Ethan

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.