Docstoc

HD FLV Player Joomla - Guide

Document Sample
HD FLV Player Joomla - Guide Powered By Docstoc
					                                            Version 1.5




           Joomla-Hdflvplayer! User Documentation Team
                            05 Feb. 2011




HD FLV Player is a product from Contus Support Interactive   1|Page
Documentation
Here you can find the Joomla-Hdflvplayer Documentation table of contents. We are in the process of expanding the features of our
product. If you feel this list is missing something critical, please feel free to contact us so that we can continue to make
improvements.




Overview

1.1 Welcome to Joomla-Hdflvplayer!

1.2 Joomla-Hdflvplayer Requirements.

1.3 Making and Restoring Backups.

1.4 Installing Joomla-Hdflvplayer!

    1.4.1 Installing Wizard
    1.4.2 Installing Service

Configure Overview

2.1 Configuring Joomla-Hdflvplayer!

    2.1.1 Videos
    2.1.2 Settings
    2.1.3 Playlist
    2.1.4 Language Settings
    2.1.5 Ads
    2.1.6 Google Ad Sense

Module

3.1 Hdflvplayer Module

    3.1.1 Configuration of Module


Plugin

4.1 Hdflvplayer Plugin




                            HD FLV Player is a product from Contus Support Interactive                             2|Page
1.1 - Welcome to Joomla-Hdflvplayer!

Thank you for choosing HD FLV Player for your Joomla CMS.


HD FLV Player is one of the top available web FLV Player and it is installed in many websites including NATO website.


One big reason for its success is regular updates and features. Customer satisfaction is our top priority. Even though we don’t
provide the source file of the player, we provide customizing service based on the customer request for a low price.


We will, by necessity, touch upon the essential needs for setting up your HD FLV Player. But this manual is not a detailed guide on
how to build and configure a Web server or database. You are essentially expected to have these in operation already.


We hope you find the process smooth and can then look forward to tailor HD FLV Player to your own specific requirements.


Installing and using HD FLV Player is simple. Getting your perfect Web site takes a lot more effort but there is much, as you will
discover, that has been done to make the process easier along the way.




Getting Started

Features - Review our features to see if Joomla-Hdflvplayer is right for your websites.
Live Demos - Play with our live demos to see Joomla-Hdflvplayer in action!
Free Trial - Download our free trial to test on your web server.
Order - Once you've decided Joomla-Hdflvplayer is right for you, place your order. You'll receive your login credentials for the
client area shortly after you finalize your purchase!



Learning the Ropes

Client Area - Download Joomla-Hdflvplayer and its plugin, configure your installation request, or submit a support ticket.
Documentation - Read our documentation to learn how to install Joomla-Hdflvplayer and how to configure your Joomla-
Hdflvplayer.
Knowledgebase - Search the Knowledgebase for answers to common questions and fixes to common problems.
Blog - Read our blog to stay up-to-date on Joomla-Hdflvplayer news and release information.



Elsewhere on the Web

Face book - Join our Face book page.
Twitter - Follow us on Twitter.




                              HD FLV Player is a product from Contus Support Interactive                                3|Page
1.2 - Joomla-Hdflvplayer Requirements
To successfully install and use HD FLV Player for Joomla you must have a fully operational web server (Apache is the optimum)
with Joomla installed.


Hdflvplayer! Has been successfully tested and resulted desirably on many variants within the main three OS for Windows, Linux
with Joomla installed. It may well work on other platforms but this is less well documented.


It is also regularly used and tested through the main Web browsers available such as IE6 +, Firefox 1.5 +, Safari, and Opera.




Basic Requirements



             PHP

Minimum
         PHP 5.12 or newer

         PHP extensions: gd2, curl, iconv

         Safe mode must be OFF

         Register Globals must be OFF

         Memory limit: 32M+

         Send mail


Recommended
         PHP 5.26 or newer

         PHP extensions: dom

         mbstring (required for non-English support)




             MySQL Database

Minimum
         MySQL 4.1 or newer

         1 available database

         InnoDB table support




                              HD FLV Player is a product from Contus Support Interactive                               4|Page
Recommended
           MySQL 5.0 or newer



              Web Server

Minimum
           Apache-based shared web hosting


Recommended
           Apache-based VPS or dedicated web server

           crontab

           mod_rewrite (for SEO-friendly URLs)

           memcached (speed boost)




1.3 - Making and Restoring Backups
Backing up your Joomla-HD FLV Player website is one of the most important steps that you can take to ensure the integrity and
longevity of your Joomla-HD FLV Player website. Whether you're installing a new plugin or theme, upgrading to the latest version,
or customizing Joomla-HD FLV Player’s code, you should backup your website as often as possible.


Disclaimer

This article will guide you through the process of making a backup of your site, however if you aren't familiar with the terms below,
you should be cautious when performing the actions listed. Many hosting providers provide free (or inexpensive) backup systems
that they can restore for you if necessary. We HIGHLY recommend that you start by consulting your web host to find out if they
offer backup services.

Further, backing up a large database can get fairly complex, so if your site is very big, the instructions provided below may not be
suitable for your specific needs. Large website owners are encouraged to contact their hosting provider or contact one of our
integration partners to discuss backup strategies that would be more suitable for their website.


What is a backup?

The term backup refers to making copies of data as a sort-of insurance policy. In the event the original data is lost or damaged, you
will be able to turn to your backups to restore the data.


What's the most important thing to backup?

Joomla-HD FLV Player is a robust database-driven application, and as you might have guessed, your database is the most
important thing to backup. This is the "meat and potatoes" of Joomla-HD FLV Player, where your website's most valuable data
resides.
                              HD FLV Player is a product from Contus Support Interactive                                  5|Page
Most hosting providers include some sort of database management tool within their control panel software which you can use to
backup your MySQL database and more often than not, the software that they include is a version of phpMyAdmin. If you are not
sure how to access phpMyAdmin or are not sure if your host provides access to the software from their control panel software,
please contact your hosting provider's support staff and request additional instructions.

If your hosting provider uses some other database management tool, or does not provide access to any MySQL database
management tools, you can download a copy of the software from the phpMyAdmin website.
Before you can create a backup of your Joomla-HD FLV Player database, you will need to know the name of your Joomla-HD FLV
Player database and perhaps the login credentials for the database. If you don't have this information memorized, or if it's provided
through your host's control panel, you can easily retrieve it from the database configuration file that Joomla-HD FLV Player stores
during the installation process.

Using a FTP client, connect your sever and navigate to the "/applications/settings/" directory within your Joomla-HD FLV Player
installation. Download the file “configuration.php” and open it with a text editor. Within this file, you will see code very similar to the
following PHP code:


/* Database Settings */


var $dbtype = 'mysql';


var $host = 'localhost';


var $user = 'root';


var $password = '';


var $db = 'joomla';


var $dbprefix = 'jos_';

The contents of your configuration file will be different; however the structure of it should be very similar. If you are not familiar with
PHP, much of this will seem like a jumbled mess. The only information you really need to be concerned with are the lines of code in
the file that resemble the following:



    $host =
1
    'localhost',



    $username =
2
    'username_here',



    $password =
3
    'password_here',



4
    $ db =

                               HD FLV Player is a product from Contus Support Interactive                                      6|Page
  'database_name',



  $dbprefix =
5 'database prefix
  name',

If this were data from an actual Joomla-HD FLV Player database configuration file.




Backup the Database


1 From main page of phpMyAdmin, locate and click on the "Export" menu item.

2 Once the page loads, locate the section of the page labeled "Export". Select the name of your Joomla-HD FLV Player database
and below the database selection box, ensure that the radio button next to "SQL" is selected.


3 Next, locate the section labeled "Structure" with a checkbox next to it. Select this checkbox and the following options below it:

Add DROP TABLE / VIEW / PROCEDURE / FUNCTION

Add IF NOT EXISTS

Add AUTO_INCREMENT value

Enclose table and field names with backquotes


4 A little further down the page, you should notice the section labeled "Data" with a checkbox next to it. Select this checkbox and
the following items below it:

Select the check box marked "Complete inserts".

Select the check box labeled "Use hexadecimal for binary fields".

Select "INSERT" in the combo box labeled "Export type:"


5 Further down the page, ensure that the checkbox next to "Save as file" is selected.

6 Finally, click on the "Go" button to begin the export and wait for the file to download.




Backing Up Your Files

The core Joomla-HD FLV Player application files will not change often, however before you install, upgrade or make any changes
to Joomla-HD FLV Player’s files, you should take a backup. The most important files to backup are those that drive the application.
These are the files that exist within the following directories within your Joomla-HD FLV Player root:

Your root directory\ Joomla-HD FLV Player (your site name)\components\com_hdflvplayer\videos /


                                HD FLV Player is a product from Contus Support Interactive                                7|Page
All of Joomla-HD FLV Player’s application files total less than 5Mb making FTP (File Transfer Protocol) a viable option for quick
backups prior to performing an upgrade or plugin installation. You can simply download these files and directories to your computer
using a FTP client and archive them as needed.

If you don't already have a FTP client, you can use Filezilla, which is a free cross-platform FTP application. You may download a
version of Filezilla compatible with your operating system on the download section of their website. Instructions on how to use
Filezilla are included within the documentation section of their website.


Restoring your Backup

If you encounter a situation when your site stops functioning due to a change, upgrade, or third-party mod installation, you'll need to
restore the backup you took. Follow the instructions below to restore your site.


Restoring your Database
1 From main page of phpMyAdmin, locate and click on the "Import" menu item

2 Click on the file upload dialog and locate the exported file you wish to import (the file you downloaded in the previous section).

3 Locate the section titled "Format of imported file" and ensure that "SQL" is selected.

4 Click the "Go" button to submit begin importing.




Restoring your Files
To restore your files, use an FTP client (like Filezilla, mentioned before) to upload the files you backed up onto your server.
Overwrite the files on your server with the backup files to restore your site.




1.4 – Installing Joomla-Hdflvplayer
Before proceeding with this tutorial, you have a valid Joomla- Hdflvplayer license, FTP access to your website.


Where to get Joomla-Hdflvplayer


You can download a copy of Joomla- Hdflvplayer from the client area of our website:
http://www.hdflvplayer.net/joomla/download.php




1.4.1 - Install Wizard

It is very easy to install the downloaded files.



                               HD FLV Player is a product from Contus Support Interactive                                  8|Page
    •    Log on to Joomla! Administration page.
    •    Extensions -> Install/Uninstall -> Choose file
    •    Select the component downloaded and click Upload File and install
Now the component will get installed successfully. You can continue the above steps to install other Modules and
Plugin. You can skip installing any of the module or plugin based on the requirement of your website. This is the




Extension Manager where we install the Component, Module and Plugin.


After installing the modules and plugin you got to activate the same from the Plugin respectively.


For more information about module manager please go to http://www.joomlatutorials.com/joomla-15x/joomla-15x-
administration/module-manager.html




1.4.2 - Installation Service

Don't feel comfortable performing the steps above? We offer an installation service that can be purchased either during your initial
order or through the client store in the client area. Once your order has been processed, you will be able to configure your
installation request via the client area. Please allow 24-48 hours after you submit your request for us to perform the installation.




                              HD FLV Player is a product from Contus Support Interactive                                    9|Page
2.1 - Configuration Joomla-Hdflvplayer!

After installing the Component and necessary extensions go to Components -> HD FLV Player to access the HD FLV Player
control panel which looks like below




2.1.1 - Videos

This is the first tab and it is responsible to add videos in to our component.
HD FLV Player accepts both streaming and normal way of playing videos. By default it is set to none where you can add videos
through following methods: Upload, Direct URL, YouTube URL and FFMPEG.




Adding videos through Upload method


Four fields will be visible when Upload is selected.


If you want to give the users option to switch between HD and Non HD videos you have to upload two formats of videos.


If you don’t want to give the users a choice then you can upload any one of the video, either HD or Non HD. Leave the second field
“Upload HD Video (optional)” as blank.


After uploading the videos you also have to upload thumb image and preview image for the respective video.


Below this, there is video info section where you can add Title, Description, Target URL for the video, assign playlist, sort
order(recently we added Ajax sorting where you can sort the videos simply by click and drag from the Videos tab), enable post roll
,pre roll ad and mid roll for this video.


Adding videos through URL method


Upload the videos and images through FTP to any location on your web server. For example you can add videos to videos folder
and images to images folder on your web server and provide the absolute path here.


Like this:



                              HD FLV Player is a product from Contus Support Interactive                            10 | P a g e
http://www.yourdomain.com/videos/video.mp4
http://www.yourdomain.com/images/image.jpg




Below this, there is a video info section where you can add Title, Description, Target URL for the video, assign playlist, sort
order(recently we added Ajax sorting where you can sort the videos simply by click and drag from the Videos tab), enable post roll
and pre roll ads for this video.


Adding videos from YouTube


To avoid bandwidth consumption from your web server you can also add videos to the YouTube and can provide YouTube link
here.


You can get the YouTube URL from the video info box on the right side of the YouTube website.




Below this, there is the video info section where you can add Title, Description, Target URL for the video, assign playlist, sort
order(recently we added Ajax sorting where you can sort the videos simply by click and drag from the Videos tab), enable post roll
and pre roll ad for this video.


Adding videos through FFMPEG


Before you start uploading the videos using FFMPEG, make sure that you have provided the path of your FFMPEG on the HD FLV
Player settings




                              HD FLV Player is a product from Contus Support Interactive                            11 | P a g e
If you are not sure about the path to mention there please check with your hosting provider for the details.


After you set the path to FFMPEG you can upload any HD files to convert it to lower resolution automatically. No need to upload
thumb or preview image when using FFMPEG which will be created automatically.


Below this, there is video info section where you can add Title, Description, Target URL for the video, assign playlist, sort
order(recently we added Ajax sorting where you can sort the videos simply by click and drag from the Videos tab), enable post roll
and pre roll ads for this video.


Lighttpd


Adding videos through URL method


Provide the path to the Non HD videos or HD videos or both the path if you have. Also provide the path to the thumb and preview
image.




                             HD FLV Player is a product from Contus Support Interactive                             12 | P a g e
Below this, there is video info section where you can add Title, Description, Target URL for the video, assign playlist, sort
order(recently we added Ajax sorting where you can sort the videos simply by clicking and dragging from the Videos tab), enable
post roll and pre roll ad for this video.




RTMP


Provide the Streamer path which would be rtmp://edge01.fms.dutchview.nl/botr
And the video URL would be bunny.flv from the below RTMP file


rtmp://edge01.fms.dutchview.nl/botr/bunny.flv


Also there is a field for thumb and preview image URL which you can mention


streamerpath = [protocol]/[servername]/[application]
URL=[streamname]


1) [protocol]: You can use the following protocols: rtmp, rtmpt, rtmpe, rtmpte, rtmps
2) [servername]: this is the IP Address, or the domain name of your server. (i.e. localhost)
3) [application]: use “vod” unless you have changed the name of the folder
4) [streamname]: use the name of your video file (including the extension).


EXAMPLE URLS


rtmp://localhost/vod/mp4:mystream.f4v
rtmpe://localhost/vod/myvideo.flv


Sorting / ordering the videos


Ordering or sorting the videos on HD FLV Player component has become more simple now. It can be done easily by dragging and
dropping.




                              HD FLV Player is a product from Contus Support Interactive                         13 | P a g e
2.1.2 - Settings

This is the global settings for HD FLV player. It has four sections: Player settings, Logo Settings, YouTube Settings and Ads
settings.


To edit / change these settings click edit button at the top right below the menus.




Player Settings

Buffer time                   - You can set the buffer time for the player to save portions of a streaming

                              Media file to local storage for a playback.

Width & Height      - You can specify the width and height of the player in pixels (px).

Normal screen scale           - You have three choices to set. Aspect ratio which controls the player size

                            Proportionally, fit to screen which plays the video to the player size that

                             Declared, Original size plays in original video size irrespective of the

                              Player size declared.

Full screen scale - This setting affects only on full screen mode.

Autoplay            - If it is enabled, video will start playing without asking for user to click play.

Playlist Autoplay - If it is enabled it will start playing all the videos from the playlist.

Volume              - You can set the default volume level when the video plays.

FFMPEG binary path            - Declare the FFMPEG path given by your hosting provider if you are using

                               FFMPEG to upload videos. You can leave it as it is if you are not aware of

                               FFMPEG.

Number of related videos
Display in the front page - You can limit the number of thumbs which are needed to be displayed at the
                         Bottom of the player per page for component.
Playlist open                 - You can set playlist to open / close always by enabling / disabling this option.
Vast                          - If you have partnered with a video ad network to show ads for your video you       can enable this option.
                              Egg. Of video ad network is www.scanscout.com
Logo alpha                    - You can set the transparency rate for the logo on the player.
Skin auto hide        - You can enable or disable player controls to be displayed on the player.
Stage colour                  - Set the background colour for the player in the format ffffff.
Skin                          - Choose one of the four available skins according to your website design.
Full screen                   - Full screen button can be disabled from here for player control.
Zoom                          - Zoom button on the player control can be disabled / enabled here.
Timer                         - Timer on the player controls can be enabled / disabled.
Share URL                     - Share button on the player can be disabled from here.
HD Default                    - You can set the HD videos to play by default. Make sure you have declared HD

                              HD FLV Player is a product from Contus Support Interactive                                    14 | P a g e
                            Video path / uploaded HD videos.
Related Videos    - You can decide where you want to display related videos. Either you can
                            Have it within the player or below the player or at both.
Vast partner ID   - If you have the vast enabled and if you have the partner id, mentions it here to
                   Show ads.




YouTube Settings




YouTube video quality can be changed by choosing the option Small or Medium.




Logo Settings


Demo logo will be removed only if you provide the licence on the License Key field which you can obtain by purchasing online from
our Website. If you are using the free version simply click on Buy now button to purchase the license.




                            HD FLV Player is a product from Contus Support Interactive                             15 | P a g e
Now you can upload the logo by clicking change button. HD FLV Player accepts Jpg/jpeg, gif and png formats


Logo URL: Enter your website URL, so that when someone clicks on the logo it will take them to the corresponding site.


Logo Position: you can set the position of the logo. You can place the logo in top left / right and bottom left / right.


Ads Setting


This is the global setting to enable / disable ads for the player.




You can enable / disable ads completely or you can enable / disable pre roll, post roll or mid roll ads.




2.1.3 – Playlist

You can create a playlist by which you can categorise the videos. You can add multiple videos to a particular category (playlist) and
can assign the playlist to the individual modules or plugin to use players on different pages with different playlist.




2.1.4 – Language Settings

HD FLV Player accepts captions in any language. You can change any text on our player in your own language without need for
the source file.



                             HD FLV Player is a product from Contus Support Interactive                                    16 | P a g e
Simply mention the name of the language and start typing the caption by using native language support keyboard.




2.1.5 – Ads

Pre Roll/Post Roll


Here you can upload or provide URL to the video ads which you can set it as pre roll or post roll ads while adding videos.


Also you can provide the target URL if you want the user to be redirected to a particular site if someone click on the video ad




                            HD FLV Player is a product from Contus Support Interactive                                  17 | P a g e
Mid Roll


Mid roll ads will display while video is playing. Here you can set different ads for every individual video and set duration and order.


     Here you can add new midroll ads and provide details of the ad such as Ad name, Ad description , target URL, click hits URL
and impresion hits URL.


You can provide the target URL if you want the user to be redirected to a particular site while clicking on the video ad.




                            HD FLV Player is a product from Contus Support Interactive                                      18 | P a g e
Click URL and Impression URL


You have to code on your own if you want to track the number of clicks and impression for the particular video. We have just given
the provision where you can mention the path to the coded file.




Mid roll Ads Setting




 1.   Here you can enable / disable midroll ads display while playing video.
 2.   You can set the midroll start & end timings (Seconds).
 3.   You can set midroll ad display as random or rotate. If rotate enabled is set , ads will




                             HD FLV Player is a product from Contus Support Interactive                             19 | P a g e
Showing Mid roll ads click and impression hits




        Here you can view the click and impression click counts.


                            Click hits indicate how many times mid roll ads are shown in the player.
                            Impression hits indicates how many times the user has clicked and viewed the mid roll ads.




2.1.5 – Google Ad sense




Simply add the script from ad sense, adbrite or your own custom script to display ads on the player.


    -     You can also set if you want to close the ad automatically after few seconds or leave it open always
    -     You can set like to reopen the ad after few seconds even if somebody closes the ad.
    -     You can decide on whether to show ad in component or module or plugin or on all.




                             HD FLV Player is a product from Contus Support Interactive                              20 | P a g e
User Level Access


User level access to videos has been implemented. You can give access to user by just changing the access level in the admin
control panel as follows:




Therefore the video cannot be viewed by the unregistered users.




        This message and the button can be modified in Language Settings.




                            HD FLV Player is a product from Contus Support Interactive                         21 | P a g e
You can customize the URL when you hit the click button in Player Settings.




                           HD FLV Player is a product from Contus Support Interactive   22 | P a g e
 3.1 – Hdflvplayer Modules




    •    Log on to Joomla! Administration page.
    •    Extensions -> Install/Uninstall -> Choose file
    •    Select the module downloaded and click Upload File and install


Now the module will get installed successfully. You can follow the same steps above to install other Modules.




3.1.1 – Configuration of Module

You will be able to control the player settings from here as you do in component. With respect to adding videos you can either
assign single video or the playlist itself.


When you add / assign single video make sure that particular video is already added in the component.


You can also create multiple modules and can assign different playlist which can be used on different pages.




                              HD FLV Player is a product from Contus Support Interactive                        23 | P a g e
4.1– Hdflvplayer Plugin

 •   Log on to Joomla! Administration page.
 •   Extensions -> Install/Uninstall -> Choose file
 •   Select the plugin downloaded and click Upload File and then install.


     Now the plugin will get installed successfully.




                        HD FLV Player is a product from Contus Support Interactive   24 | P a g e
Inserting Plugin to the article is very simple. These sample tags can be used to insert the player in to the article:


[hdplay videoid=1 height=300 width=700 playlist=true autoplay=true]


In the above line hdplay is mandatory.
Videoid – you will get the videoid when you add the videos in the component.




Autoplay – If you don’t want to auto start the video you can mention autoplay=false
Playlist – If this is true then playlist that corresponds with the videoid that declared here will play all the videos from the list.




                             HD FLV Player is a product from Contus Support Interactive                                      25 | P a g e

				
DOCUMENT INFO
Shared By:
Categories:
Stats:
views:199
posted:6/27/2011
language:English
pages:25