Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

sample html page using JW Player / RTMP streaming

can anyone please provide a sample web page (html code) that is layed our correctly based on a working code piece I pulled form the JW Setup Wizard page?

Here is the working code (with actual file names pulled and distribution modified). For the life of me I can't figure out how to create a basic web page which will display this video setup in a window size of my choosing (such a newbie to html design!)

thanks in advance!!

<script type='text/javascript' src='swfobject.js'></script>

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

<script type='text/javascript'>
var so = new SWFObject('player.swf','mpl','650','450','9');

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

We have a sample right here :) –

JW Player

0 rated :

Hi Ethan and thanks for the reply. I do have that sample (included above) but I'm having an issue of where to enter it and any support code in a basic web page. I'm simply trying to have the video open in a window just as it is in the JW setup example above.

My issue is I can't figure out "where" in a basic web page that code would be entered (e.g. head, body etc.)

pretty trivial but causing me issues.


Ethan Feldman

JW Player Support Agent  
0 rated :

Your issue is:


You are listing the full path to the f4v file as the streamer, but it should just be the location of the streaming server.

You also need to set the provider flashvar to rtmp

More information –

This question has received the maximum number of answers.