EasyFLV
EasyFLV
EasyFLV
EasyFLV
EasyFLV
EasyFLV
 

Tutorial # 3: How to generate the code and
files for EasyFLV video player

Level: Normal



In this tutorial we will show you how to generate the code to add a flash video player to a webpage with EasyFLV Streaming Video. Before we start, it is suggested that everytime you add a flash video player to a webpage, with our software, make a plan beforehand. This plan includes,

1. Fix a location to output the files from the software ( to be uploaded later) on your computer.
2. Fix a location on your server to store these files.
3. Having your video file encoded to FLV or Mp4 in a folder.
4. Any images that you want to show before or after the video in the same folder as your video file.

Resolving 1 is easy. We suggest, create a fresh shiny folder on your desktop and name it "output".
For 2, connect to your webserver. Go to your domain root, create a folder inside it and name it "video".
You can refer to Tutorial #1 as how to connect to webserver and create folders.
For 3 and 4 , once again create a folder on your desktop "source", and keep the video file (converted with extention FLV or Mp4) and any images inside it.

Before we move to the tutorial video, let us explain server path and video path in full. There are 2 entries on the software and most users feel confused as what to write here.



Server Path: This is the path where you will be hosting the video player (a set of files).
For example,
http://www.yourdomain.com - at the root of your domain.
http://www.yourdomain.com/video/ - inside a folder "video" on your domain or any folder.
http://video.yourdomain.com/ - inside a subdomain of your domain.
http://s3.amazonaws.com/bucket_name/ - On an Amazon S3 server or any other CDN
and so on.

Video Path: This is the path where you will be hosting the video file. That is the FLV or Mp4 file. Just as before the examples are,
http://www.yourdomain.com - at the root of your domain.
http://www.yourdomain.com/video/ - inside a folder "video" on your domain or any folder.
http://video.yourdomain.com/ - inside a subdomain of your domain.
http://s3.amazonaws.com/bucket_name/ - On an Amazon S3 server or any other CDN

Both video player and video file resides inside a folder "video" on your domain. See input below.



Video player resides on your domain and video file resides on Amazon S3. See input below.



Video player resides on your domain and video file resides on another domain.. See input below.



Do not enter any html file name or video file names in the server or video path.

The two paths have been kept separate for independence of the video player and the video file. That is, you can host the video player on a server while keeping the video file on a different server or vice-versa. Note that when we say video player, it means a set of files. Just not 1 single file. So plan beforehand where you want to upload the files, and input the paths accordingly.

Now watch the video below as how we generate the code for a video player:


You probably do not have the Flash Player (Get Adobe Flash Player Here) installed for your browser or the video files are misplaced on your server!
Facebook It Twitt It Digg It Add to Del.icio.us Add to Stumbleupon


Points to be noted:
1. Avoid any player with the words "rtmp" in it. rtmp players are meant to be streaming from a media server. For normal http streaming simply use a player without the words "rtmp" in it.

2. The color of the players having the word "chameleon" in their name, can be changed at will.

3. Server paths are case sensitive. So if you have created a folder "Video" on the server and you have used the path, http://www.yourdomain.com/video/ as the server path - obviously it is wrong. "Video" and "video" are not the same on a server. The correct path would be http://www.yourdomain.com/Video/

4. After you generate the code, DO NOT close the small window that shows the code. As long as you have not published the webpage and you are seeing the video there, we suggest not to close the code window.

So in this tutorial we have learnt
1. Server path and Video Path
2. How to use the EasyFLV streaming video software to generate the video player and the HTML code


Back to Tutorial Index



EasyFLV