Go
Not registered? Sign up!

Simple Setup Not Working

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

Oct. 16, 2009Hunter

I used an older version of the free player for years without difficulty. I purchased the licensed player yesterday and haven't been able to get even a simple setup to work. I've tried using the setup wizard and code samples from various parts of this site. So far no luck.

I suspect that I'm missing something simple, so I've included a bare bones page with the code in place. The "player-licensed.swf", "swfobject.js". and "video.flv" are all in the same directory as the html doc.

If anyone could point out the error of my ways it would be much appreciated!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>

<p id='preview'>The player will show in this paragraph</p>

<script type='text/javascript'>
var s1 = new SWFObject('player-licensed.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=video.flv');
s1.write('preview');
</script>

</body>
</html>

Oct. 16, 2009hobbs

You probably have the wrong version of swfobject.

See http://www.longtailvideo.com/support/forum/Bug-Reports/20102/Problem-with-JW-Flash-Player-4-6#msg134262

Oct. 16, 2009Hunter

When I bought the license, I downloaded a zip folder containing all the files I am using. So I don't think that's the issue.

Also, I am not getting any error message - just a white page that says "The player will show in this paragraph"

Oct. 16, 2009hobbs

Well, good luck then...
 
 
 
 
 
(Although you might want to review this thread before being so dismissive of the help offered. http://www.longtailvideo.com/support/forum/JavaScript-Interaction/20105/FLV-Plays-in-JW-setup-page-but-not-in-my-site-)

(And maybe this thread also. http://www.longtailvideo.com/support/forum/Bug-Reports/20102/Problem-with-JW-Flash-Player-4-6)

Oct. 16, 2009Hunter

Thanks hobbs ~ it turns out you were correct.

Sorry if I seemed 'dismissive', it just seemed like an unlikely problem since I had just downloaded the file pack yesterday, and it seemed that a known issue like that would have been pretty quickly and easily resolved by Longtail.

Oct. 16, 2009hobbs

Your expectations are far too high.

Glad you got things sorted.

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.