Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Simple Setup Not Working

5 replies [Last post]

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>

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"

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-b...)

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

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.

Your expectations are far too high.

Glad you got things sorted.