in order to embed the video applet in your website.
By taking the existing code from the web page generated
by the Clipstream™ Live application, pasting it into your
existing HTML page, replacing one line of code and then uploading
the completed page onto your web server, you will have a stream
running and viewable by all. Click
here
if you do not yet have Clipstream™ Live running.
Requirements:
- Java-enabled browser.
- installed and running Clipstream™ Live application
- text editor to edit HTML
- FTP or other web development software to upload completed
HTML page
Step 1: View Web Page
In the Clipstream™ Live application, go to the
Live
Streams menu and select
View Web Page.
A web page should be launched in your default browser now looking
like this.
Step 2: Find the applet code in the generated page.
View the source of the displayed page. Right click on a blank
spot on the page and choose
View Source.
The HTML page source of the generated page should show up. It
will look like this (
click
here).
Step 3: Select the applet code and copy it.
With your mouse drag-select all of the code between and including
these two lines:
-- begin Clipstream Live applet
--
and
-- end Clipstream Live applet --
see an example here: (
click
here).
Step 4: Paste the applet code into your existing HTML
page.
Open up your existing HTML page. In the spot where you want
the Clipstream™ Live video to play, paste the applet code
you copied in Step 3.
Step 5: Add a 'codebase' statement into your existing
HTML page.
The codebase statement tells a browser where the applet stream
is being hosted from based upon the broadcasting machine's individual
IP address.
5.1. Paste the following
code segment into the top line of the applet code.
codebase=""
Make sure it is embedded in the top line like so:
Applet codebase="" MayScript cabbase=clipstreamlive.cab
archive=clipstreamlive.zip code=clipstreamlive.class alt=ClipstreamLive
name=clipstreamlive width=320 height=256
5.2 Now go back to the page that was generated
by the Clipstream™ Live application that included the
playing Clipstream™ Live applet.
5.3 Look at the address bar for the http://
ip address indicating the IP address of your broadcasting
computer. Copy that IP address like so:
5.4 Go back to the existing HTML page with
the applet code. Paste that IP address between the quotes
("") inside the codebase segment in the top line of the codebase
statement like so:
Step 6. Save and publish the page to the web.
Save the HTML page you have been working on and then upload
it to your webserver. Refresh the page in your browser and view
it. You should now be able to send this URL to anyone so that
they can see your live stream.
Notes:
- Your IP will be different from the one shown in the example
on this page.
- In order for the stream to display the Clipstream™
Live application must be running.
- Each time you change or stop the stream make sure to use
the "View in Web Page" option so that the IP address you
paste into the code is current.
- You must re-save and upload the HTML page if you make
any changes to it.