Tutorials
Starting up
• Installation
• Configuration Variables
• CMS Configuration
Content administration
• Create Channels
• Create Clips
• Create LiveClips
• Create LiveClips-Embed
› YouTube direct playback
• Create Bumpers
• Interactive Videos
• Create Restricted Channels
• Batch Creator (Bulk uploads)
• Quick Edit (Bulk Clip editing)
• Styler: Create visual styles
Compressing videos
• FLV vs H.264
• Flash vs HTML5
• HandBrake: H.264 gen./mobile
• Quicktime Pro: H.264 general
• Quicktime Pro: H.264 mobile
• Flash Video Enc. CS3 (FLV)
• Adobe Media Enc. CS4
• Others: Video H.264 general
• Others: Video H.264 mobile
• Others: Audio, photos, etc.
Streaming
• Progressive vs streaming download (VOD)
• Live Streaming Workflows
• About CDNs
Maintenance
• Backup Simple Web TV
• Installation
• Configuration Variables
• CMS Configuration
Content administration
• Create Channels
• Create Clips
• Create LiveClips
• Create LiveClips-Embed
› YouTube direct playback
• Create Bumpers
• Interactive Videos
• Create Restricted Channels
• Batch Creator (Bulk uploads)
• Quick Edit (Bulk Clip editing)
• Styler: Create visual styles
Compressing videos
• FLV vs H.264
• Flash vs HTML5
• HandBrake: H.264 gen./mobile
• Quicktime Pro: H.264 general
• Quicktime Pro: H.264 mobile
• Flash Video Enc. CS3 (FLV)
• Adobe Media Enc. CS4
• Others: Video H.264 general
• Others: Video H.264 mobile
• Others: Audio, photos, etc.
Streaming
• Progressive vs streaming download (VOD)
• Live Streaming Workflows
• About CDNs
Maintenance
• Backup Simple Web TV
Installing your WebTV
Here we will guide you through the installation process of your WebTV.NOTE: WE WILL ONLY GIVE TECHNICAL SUPPORT IF FOU HAVE PURCHASED EITHER THE DIRECT OR ASSISTED INSTALLATION SERVICE. YOU CAN PURCHASE THE INSTALLATION SERVICE AT ANYTIME.
» Simple Web TV 1.2 and higher
Unzip the .zip file we supplied in a temporary folder.
After unzipping the file you will find the followinf folders:
support_files: contains some files needed for this and other tutorials
www-en: contains all the WebTV files with all available languages.
license_licencia: the End User License Agreement.
1b) Create a new user for the database and assign it all available privileges.
3a) "webTVBaseUrl": HTTP address of the WebTV; it will be used to build the internal links of the WebTV.
Example 1: If you plan to publicate your WebTV in www.webtvdomain.com, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/" With the ending " / ".
Example 2: If you plan to publicate your WebTV in www.webtvdomain.com/webtv, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/webtv/" With the ending " / ".
3b) "webTVDBHost": The host name of the MySQL server, normally "localhost"
3c) "webTVDB": The name of the created database (step 1a).
3d) "webTVDBUser": The username of the database (step 1b).
3e) "webTVDBPass": The username´s password (step 1b).
3f) "webTVFrontEndLanguage": Enter the language code for the WebTV interface.
English = 'en' | Catalán/Valenciano = 'ca' | Danish = 'da' | Euskera = 'eu' | French = 'fr' | Galician = 'gl' | German = 'de' | Italian = 'it' | Portuguese = 'pt' | Portuguese (Brasil) = 'pt-br' | Russian = 'ru' | Spanish = 'es'
3g) "webTVBackEndLanguage": Enter the language code for the WebTV Content Administration interface.
English ='en' | Spanish = 'es'
3h) "webTVFriendlyURLs": Enable/Disable Friendly URLs.
Options: "yes" / "no".
3i) "webTVFriendlyURLsStyle": Select the Friendly URL style.
Options: "default" / "folder" / "file".
Friendly URL style examples for the "unfriednly URL" http://webtvdomain.com/index.php?accion=clip&id=26
• Default: http://webtvdomain.com/index.php/video/26
• Folder*: http://webtvdomain.com/video/26
• File*: http://webtvdomain.com/video-26.htm
*NOTE: "folder" and "file" styles require htaccess modification (Apache Web Server only): Download sample .htaccess file.
3j) "webTVFriendlyURLsAppendTitle": Enable/Disable append (auto-generated) titles for Friendly URLs.
Options: "yes" / "no".
NOTE: Only activate this option if you are using latin characters; otherwise, don´t do it.
3k) "webTVWebmaster" : Enter Webmaster E-Mail. For receiving basic monthly bandwidth reports and to recover CMS login info. If blank, E-Mails will be sent to info@ WebTV domain.
3l) "webTVLogDetailedStats": (from Simple Web TV 1.3.1). When set to "yes", each clip and channel playback/access will be registered into the database, with the corresponding timestamp. This will allow you to select time ranges when examining statistics from the Content Administrator. Warning: If you have lots of visits, this could lead to a huge database size which might adversely impact the WebTV performance. If you are only interested in registering absolute Clips and Channel playback numbers (simple counters) then you can leave this option set to "no" - recommended -. NOTE: if you modify this option at a later time, statistics won´t be coherent.
Options: "yes" / "no".
*NOTE: Do not upload the wwwfolder itself, upload the files and folders located inside it.
5a) Ensure PHP Safe Mode is turned OFF
5b) Modify the following php parameters:
upload_max_filesize =???M (Ex. 400M)
post_max_size =???M (Ex. 400M)
max_execution_time =???? (Ex. 6000, value in seconds)
max_input_time =???? (Ex. 6000, value in seconds)
memory_limit ???M (Ex. 64M)
allow_call_time_pass_reference =On (not needed for Simple Web TV 1.2.1+)
display_errors = Off
short_open_tag = On
NOTES:
- The first 4 parameter values must be configured according to the size of the video files you plan to upload to your server. Some hosting companies limit these values, check with your hosting company. For your reference, a 7 minutes video file, encoded at 1250Kbps, would generate a 64M file (approx.).
5d) Enable the following php functions (in case they are disabled): ftp_connect, ftp_login, ftp_pasv, ftp_chdir, ftp_put, ftp_fput, ftp_delete, ftp_close
After unzipping the file you will find the followinf folders:
support_files: contains some files needed for this and other tutorials
www-en: contains all the WebTV files with all available languages.
license_licencia: the End User License Agreement.
◢1 MySQL database
1a) Create a new MySQL database.1b) Create a new user for the database and assign it all available privileges.
◢2 Import database
Import the "simplewebtv.sql" file (located in the "support_files" folder) into your newly created database (normally you would do this through phpMyAdmin). This will create all the necessary data structures.◢3 WebTV configuration files
Edit the file www/config/configData.php and modify the following parameters:3a) "webTVBaseUrl": HTTP address of the WebTV; it will be used to build the internal links of the WebTV.
Example 1: If you plan to publicate your WebTV in www.webtvdomain.com, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/" With the ending " / ".
Example 2: If you plan to publicate your WebTV in www.webtvdomain.com/webtv, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/webtv/" With the ending " / ".
3b) "webTVDBHost": The host name of the MySQL server, normally "localhost"
3c) "webTVDB": The name of the created database (step 1a).
3d) "webTVDBUser": The username of the database (step 1b).
3e) "webTVDBPass": The username´s password (step 1b).
3f) "webTVFrontEndLanguage": Enter the language code for the WebTV interface.
English = 'en' | Catalán/Valenciano = 'ca' | Danish = 'da' | Euskera = 'eu' | French = 'fr' | Galician = 'gl' | German = 'de' | Italian = 'it' | Portuguese = 'pt' | Portuguese (Brasil) = 'pt-br' | Russian = 'ru' | Spanish = 'es'
3g) "webTVBackEndLanguage": Enter the language code for the WebTV Content Administration interface.
English ='en' | Spanish = 'es'
3h) "webTVFriendlyURLs": Enable/Disable Friendly URLs.
Options: "yes" / "no".
3i) "webTVFriendlyURLsStyle": Select the Friendly URL style.
Options: "default" / "folder" / "file".
Friendly URL style examples for the "unfriednly URL" http://webtvdomain.com/index.php?accion=clip&id=26
• Default: http://webtvdomain.com/index.php/video/26
• Folder*: http://webtvdomain.com/video/26
• File*: http://webtvdomain.com/video-26.htm
*NOTE: "folder" and "file" styles require htaccess modification (Apache Web Server only): Download sample .htaccess file.
3j) "webTVFriendlyURLsAppendTitle": Enable/Disable append (auto-generated) titles for Friendly URLs.
Options: "yes" / "no".
NOTE: Only activate this option if you are using latin characters; otherwise, don´t do it.
3k) "webTVWebmaster" : Enter Webmaster E-Mail. For receiving basic monthly bandwidth reports and to recover CMS login info. If blank, E-Mails will be sent to info@ WebTV domain.
3l) "webTVLogDetailedStats": (from Simple Web TV 1.3.1). When set to "yes", each clip and channel playback/access will be registered into the database, with the corresponding timestamp. This will allow you to select time ranges when examining statistics from the Content Administrator. Warning: If you have lots of visits, this could lead to a huge database size which might adversely impact the WebTV performance. If you are only interested in registering absolute Clips and Channel playback numbers (simple counters) then you can leave this option set to "no" - recommended -. NOTE: if you modify this option at a later time, statistics won´t be coherent.
Options: "yes" / "no".
◢4 Upload WebTV and assign permissions
Upload the content of the www folder to your server* (according to 3a) and then assign write permission (chmod 777 if you do it through ftp) for the /plantillas/admin/thumbs folder. (Some hosting companies allow writing to folders without modifying permissions)*NOTE: Do not upload the wwwfolder itself, upload the files and folders located inside it.
◢5 Configuring the server
You will need to configure certain aspects of your hosting server in order to allow the proper operation of the WebTV. Usually the configuration is made by modifying the .htaccess or php.ini files in your server.5a) Ensure PHP Safe Mode is turned OFF
5b) Modify the following php parameters:
upload_max_filesize =???M (Ex. 400M)
post_max_size =???M (Ex. 400M)
max_execution_time =???? (Ex. 6000, value in seconds)
max_input_time =???? (Ex. 6000, value in seconds)
memory_limit ???M (Ex. 64M)
allow_call_time_pass_reference =On (not needed for Simple Web TV 1.2.1+)
display_errors = Off
short_open_tag = On
NOTES:
- The first 4 parameter values must be configured according to the size of the video files you plan to upload to your server. Some hosting companies limit these values, check with your hosting company. For your reference, a 7 minutes video file, encoded at 1250Kbps, would generate a 64M file (approx.).
5d) Enable the following php functions (in case they are disabled): ftp_connect, ftp_login, ftp_pasv, ftp_chdir, ftp_put, ftp_fput, ftp_delete, ftp_close
◢6 Configure and customize your WebTV
Once installed the WebTV and BEFORE STARTING USING IT it is necessary to configure and customize your WebTV. Continue in the next tutorial: Configuring the WebTV» Simple Web TV 1.1.4 - 1.1.10.3
Unzip the .zip file we supplied in a temporary folder.
After unzipping the file you will find the followinf folders:
support_files: contains some files needed for this and other tutorials
www-en: contains all the WebTV files with all available languages.
license_licencia: the End User License Agreement.
1b) Create a new user for the database and assign it all available privileges.
3a) "webTVBaseUrl": HTTP address of the WebTV; it will be used to build the internal links of the WebTV.
Example 1: If you plan to publicate your WebTV in www.webtvdomain.com, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/" With the ending " / ".
Example 2: If you plan to publicate your WebTV in www.webtvdomain.com/webtv, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/webtv/" With the ending " / ".
3b) "webTVDBHost": The host name of the MySQL server, normally "localhost"
3c) "webTVDB": The name of the created database (step 1a).
3d) "webTVDBUser": The username of the database (step 1b).
3e) "webTVDBPass": The username´s password (step 1b).
3f) "webTVFrontEndLanguage": Enter the language code for the WebTV interface.
English = 'en' | Catalán/Valenciano = 'ca' | Danish = 'da' | Euskera = 'eu' | French = 'fr' | Galician = 'gl' | German = 'de' | Italian = 'it' | Portuguese = 'pt' | Portuguese (Brasil) = 'pt-br' | Russian = 'ru' | Spanish = 'es'
3g) "webTVBackEndLanguage": Enter the language code for the WebTV Content Administration interface.
English = 'en' | Spanish = 'es'
Additional configuration variables (Friendly URLs, Facebook Comments, etc.)
For details about all additional configuration variables you will be able to modify, according to your needs, take a look at the following document: Configuration Variables.
Home Button
At the top of the WebTV (at the right of the Channels bar) you can include a button with a link to your Website, to modify it, edit the file www/config/configHomeButton.php and change the following parameters:
3f) "webHomeButtonTitle": Text that will appear in the button ( enter "" if you don´t want the button )
3g) "webHomeButtonUrl": Enter full URL for the link, example: http://www.mydomain.com
3h) "webHomeButtonUrlTarget": Link Target. Enter "_top" if you want the link gets opened in the same window or "_blank" if you want the link gets opened in a new browser window.
*NOTE: Do not upload the wwwfolder itself, upload the files and folders located inside it.
5a) Ensure PHP Safe Mode is turned OFF
5b) Modify the following php parameters:
upload_max_filesize =???M (Ex. 400M)
post_max_size =???M (Ex. 400M)
max_execution_time =???? (Ex. 6000, value in seconds)
max_input_time = ???? (Ex. 6000, value in seconds)
memory_limit = ???M (Ex. 64M)
allow_call_time_pass_reference = On
display_errors = Off
short_open_tag = On
NOTES:
- The first 5 parameter values must be configured according to the size of the video files you plan to upload to your server. Some hosting companies limit these values, check with your hosting company. For your reference, a 7 minutes video file, encoded at 1250Kbps, would generate a 64M file (approx.).
5d) Enable the following php functions (in case they are disabled): ftp_connect, ftp_login, ftp_pasv, ftp_chdir, ftp_put, ftp_fput, ftp_delete, ftp_close
After unzipping the file you will find the followinf folders:
support_files: contains some files needed for this and other tutorials
www-en: contains all the WebTV files with all available languages.
license_licencia: the End User License Agreement.
◢1 MySQL database
1a) Create a new MySQL database.1b) Create a new user for the database and assign it all available privileges.
◢2 Import database
Import the "simplewebtv.sql" file (located in the "support_files" folder) into your newly created database (normally you would do this through phpMyAdmin). This will create all the necessary data structures.◢3 WebTV configuration files
Edit the file www/config/configData.php and modify the following parameters:3a) "webTVBaseUrl": HTTP address of the WebTV; it will be used to build the internal links of the WebTV.
Example 1: If you plan to publicate your WebTV in www.webtvdomain.com, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/" With the ending " / ".
Example 2: If you plan to publicate your WebTV in www.webtvdomain.com/webtv, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/webtv/" With the ending " / ".
3b) "webTVDBHost": The host name of the MySQL server, normally "localhost"
3c) "webTVDB": The name of the created database (step 1a).
3d) "webTVDBUser": The username of the database (step 1b).
3e) "webTVDBPass": The username´s password (step 1b).
3f) "webTVFrontEndLanguage": Enter the language code for the WebTV interface.
English = 'en' | Catalán/Valenciano = 'ca' | Danish = 'da' | Euskera = 'eu' | French = 'fr' | Galician = 'gl' | German = 'de' | Italian = 'it' | Portuguese = 'pt' | Portuguese (Brasil) = 'pt-br' | Russian = 'ru' | Spanish = 'es'
3g) "webTVBackEndLanguage": Enter the language code for the WebTV Content Administration interface.
English = 'en' | Spanish = 'es'
Additional configuration variables (Friendly URLs, Facebook Comments, etc.)
For details about all additional configuration variables you will be able to modify, according to your needs, take a look at the following document: Configuration Variables.
Home Button
At the top of the WebTV (at the right of the Channels bar) you can include a button with a link to your Website, to modify it, edit the file www/config/configHomeButton.php and change the following parameters:
3f) "webHomeButtonTitle": Text that will appear in the button ( enter "" if you don´t want the button )
3g) "webHomeButtonUrl": Enter full URL for the link, example: http://www.mydomain.com
3h) "webHomeButtonUrlTarget": Link Target. Enter "_top" if you want the link gets opened in the same window or "_blank" if you want the link gets opened in a new browser window.
◢4 Upload WebTV and assign permissions
Upload the content of the www folder to your server* (according to 3a) and then assign write permission (chmod 777 if you do it through ftp) for the /plantillas/admin/thumbs folder. (Some hosting companies allow writing to folders without modifying permissions)*NOTE: Do not upload the wwwfolder itself, upload the files and folders located inside it.
◢5 Configuring the server
You will need to configure certain aspects of your hosting server in order to allow the proper operation of the WebTV. Usually the configuration is made by modifying the .htaccess or php.ini files in your server.5a) Ensure PHP Safe Mode is turned OFF
5b) Modify the following php parameters:
upload_max_filesize =???M (Ex. 400M)
post_max_size =???M (Ex. 400M)
max_execution_time =???? (Ex. 6000, value in seconds)
max_input_time = ???? (Ex. 6000, value in seconds)
memory_limit = ???M (Ex. 64M)
allow_call_time_pass_reference = On
display_errors = Off
short_open_tag = On
NOTES:
- The first 5 parameter values must be configured according to the size of the video files you plan to upload to your server. Some hosting companies limit these values, check with your hosting company. For your reference, a 7 minutes video file, encoded at 1250Kbps, would generate a 64M file (approx.).
5d) Enable the following php functions (in case they are disabled): ftp_connect, ftp_login, ftp_pasv, ftp_chdir, ftp_put, ftp_fput, ftp_delete, ftp_close
◢6 Configure and customize your WebTV
Once installed the WebTV and BEFORE STARTING USING IT it is necessary to configure and customize your WebTV. Continue in the next tutorial: Configuring the WebTV» Simple Web TV 1.1 - 1.1.3x
Unzip the .zip file we supplied in a temporary folder.
After unzipping the file you will find the followinf folders:
support_files: contains some files needed for this and other tutorials
www-en: contains all the WebTV files with all available languages.
license_licencia: the End User License Agreement.
1b) Create a new user for the database and assign it all available privileges.
3a) "webTVBaseUrl": HTTP address of the WebTV; it will be used to build the internal links of the WebTV.
Example 1: If you plan to publicate your WebTV in www.webtvdomain.com, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/" With the ending " / ".
Example 2: If you plan to publicate your WebTV in www.webtvdomain.com/webtv, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/webtv/" With the ending " / ".
3b) "webTVDBHost": The host name of the MySQL server, normally "localhost"
3c) "webTVDB": The name of the created database (step 1a).
3d) "webTVDBUser": The username of the database (step 1b).
3e) "webTVDBPass": The username´s password (step 1b).
3f) "webTVFrontEndLanguage": Enter the language code for the WebTV interface.
English = 'en' | Catalán/Valenciano = 'ca' | Danish = 'da' | Euskera = 'eu' | French = 'fr' | Galician = 'gl' | German = 'de' | Italian = 'it' | Portuguese = 'pt' | Portuguese (Brasil) = 'pt-br' | Spanish = 'es' ...
3g) "webTVBackEndLanguage": Enter the language code for the WebTV Content Administration interface.
English = 'en' | Spanish = 'es'
Additional configuration variables
For details about all additional configuration variables you will be able to modify, according to your needs, take a look at the following document: Configuration Variables.
Home Button
At the top of the WebTV (at the right of the Channels bar) you can include a button with a link to your Website, to modify it, edit the file www/config/configHomeButton.php and change the following parameters:
3f) "webHomeButtonTitle": Text that will appear in the button ( enter "" if you don´t want the button )
3g) "webHomeButtonUrl": Enter full URL for the link, example: http://www.mydomain.com
3h) "webHomeButtonUrlTarget": Link Target. Enter "_top" if you want the link gets opened in the same window or "_blank" if you want the link gets opened in a new browser window.
*NOTE: Do not upload the wwwfolder itself, upload the files and folders located inside it.
o any of these two languages, proceed to copy the content of the www-cat folder and overwrite any existing file.
5a) Ensure PHP Safe Mode is turned OFF
5b) Allow the execution of .xml .htm .html as they were .php. This is necessary for the dynamic sitemap and other dynamically generated files.
To verify that the .xml , .htm and .html files are being executed correctly, open the following files from your web browser: verify.xml, verify.htm, verify.html (Example: http://www.webtvdomain.com/verify.xml), if the word "OK" is displayed, then the files are being executed correctly as .php.
5c) Modify the following php parameters:
upload_max_filesize = 100M
post_max_size = 100M
max_execution_time = 1000
max_input_time = 1000
memory_limit = 50M
allow_call_time_pass_reference = On
display_errors = Off
short_open_tag = On
NOTES:
- The upload_max_filesize and post_max_size values must be configured according to the size of the video files you plan to upload to your server. Some hosting companies limit these values, check with your hosting company. For your reference, a 7 minutes video file, encoded at 1250Kbps, would generate a 64M file (approx.).
5d) Enable the following php functions (in case they are disabled): ftp_connect, ftp_login, ftp_pasv, ftp_chdir, ftp_put, ftp_fput, ftp_delete, ftp_close
After unzipping the file you will find the followinf folders:
support_files: contains some files needed for this and other tutorials
www-en: contains all the WebTV files with all available languages.
license_licencia: the End User License Agreement.
◢1 MySQL database
1a) Create a new MySQL database.1b) Create a new user for the database and assign it all available privileges.
◢2 Import database
Import the "simplewebtv.sql" file (located in the "support_files" folder) into your newly created database (normally you would do this through phpMyAdmin). This will create all the necessary data structures.◢3 WebTV configuration files
Edit the file www/config/configData.php and modify the following parameters:3a) "webTVBaseUrl": HTTP address of the WebTV; it will be used to build the internal links of the WebTV.
Example 1: If you plan to publicate your WebTV in www.webtvdomain.com, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/" With the ending " / ".
Example 2: If you plan to publicate your WebTV in www.webtvdomain.com/webtv, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/webtv/" With the ending " / ".
3b) "webTVDBHost": The host name of the MySQL server, normally "localhost"
3c) "webTVDB": The name of the created database (step 1a).
3d) "webTVDBUser": The username of the database (step 1b).
3e) "webTVDBPass": The username´s password (step 1b).
3f) "webTVFrontEndLanguage": Enter the language code for the WebTV interface.
English = 'en' | Catalán/Valenciano = 'ca' | Danish = 'da' | Euskera = 'eu' | French = 'fr' | Galician = 'gl' | German = 'de' | Italian = 'it' | Portuguese = 'pt' | Portuguese (Brasil) = 'pt-br' | Spanish = 'es' ...
3g) "webTVBackEndLanguage": Enter the language code for the WebTV Content Administration interface.
English = 'en' | Spanish = 'es'
Additional configuration variables
For details about all additional configuration variables you will be able to modify, according to your needs, take a look at the following document: Configuration Variables.
Home Button
At the top of the WebTV (at the right of the Channels bar) you can include a button with a link to your Website, to modify it, edit the file www/config/configHomeButton.php and change the following parameters:
3f) "webHomeButtonTitle": Text that will appear in the button ( enter "" if you don´t want the button )
3g) "webHomeButtonUrl": Enter full URL for the link, example: http://www.mydomain.com
3h) "webHomeButtonUrlTarget": Link Target. Enter "_top" if you want the link gets opened in the same window or "_blank" if you want the link gets opened in a new browser window.
◢4 Upload WebTV and assign permissions
Upload the content of the www folder to your server* (according to 3a) and then assign write permission (chmod 777 if you do it through ftp) for the /plantillas/admin/thumbs folder. (Some hosting companies allow writing to folders without modifying permissions)*NOTE: Do not upload the wwwfolder itself, upload the files and folders located inside it.
o any of these two languages, proceed to copy the content of the www-cat folder and overwrite any existing file.
◢5 Configuring the server
You will need to configure certain aspects of your hosting server in order to allow the proper operation of the WebTV. Usually the configuration is made by modifying the .htaccess or php.ini files in your server.5a) Ensure PHP Safe Mode is turned OFF
5b) Allow the execution of .xml .htm .html as they were .php. This is necessary for the dynamic sitemap and other dynamically generated files.
To verify that the .xml , .htm and .html files are being executed correctly, open the following files from your web browser: verify.xml, verify.htm, verify.html (Example: http://www.webtvdomain.com/verify.xml), if the word "OK" is displayed, then the files are being executed correctly as .php.
5c) Modify the following php parameters:
upload_max_filesize = 100M
post_max_size = 100M
max_execution_time = 1000
max_input_time = 1000
memory_limit = 50M
allow_call_time_pass_reference = On
display_errors = Off
short_open_tag = On
NOTES:
- The upload_max_filesize and post_max_size values must be configured according to the size of the video files you plan to upload to your server. Some hosting companies limit these values, check with your hosting company. For your reference, a 7 minutes video file, encoded at 1250Kbps, would generate a 64M file (approx.).
5d) Enable the following php functions (in case they are disabled): ftp_connect, ftp_login, ftp_pasv, ftp_chdir, ftp_put, ftp_fput, ftp_delete, ftp_close
◢6 Configure and customize your WebTV
Once installed the WebTV and BEFORE STARTING USING IT it is necessary to configure and customize your WebTV. Continue in the next tutorial: Configuring the WebTV» Simple Web TV 1.0x
Unzip the .zip file we supplied in a temporary folder.
After unzipping the file you will find the followinf folders:
support_files: contains some files needed for this and other tutorials
www-en: contains all the WebTV files in English language.
www-es: contains all the WebTV files in Spanish language.
www-cat: contains only the "public" interface (front-end) files in Catalán/Valenciano language (not the Content Administrator).
license_licencia: the End User License Agreement.
1b) Create a new user for the database and assign it all available privileges.
3a) "webTVBaseUrl": HTTP address of the WebTV; it will be used to build the internal links of the WebTV.
Example 1: If you plan to publicate your WebTV in www.webtvdomain.com, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/" With the ending " / ".
Example 2: If you plan to publicate your WebTV in www.webtvdomain.com/webtv, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/webtv/" With the ending " / ".
3b) "webTVDBHost": The host name of the MySQL server, normally "localhost"
3c) "webTVDB": The name of the created database (step 1a).
3d) "webTVDBUser": The username of the database (step 1b).
3e) "webTVDBPass": The username´s password (step 1b).
Additional configuration variables
For details about all additional configuration variables you will be able to modify, according to your needs, take a look at the following document: Configuration Variables.
Home Button
At the top of the WebTV (at the right of the Channels bar) you can include a button with a link to your Website, to modify it, edit the file www/config/configHomeButton.php and change the following parameters:
3f) "webHomeButtonTitle": Text that will appear in the button ( enter "" if you don´t want the button ).
3g) "webHomeButtonUrl": Enter full URL for the link, example: http://www.mydomain.com.
3h) "webHomeButtonUrlTarget": Link Target. Enter "_top" if you want the link gets opened in the same window or "_blank" if you want the link gets opened in a new browser window.
*NOTE: Do not upload the www-en or www-es folder itself, upload the files and folders located inside it.
Catalán/Valenciano version: Since only the "public" interface of the WebTV (front-end) is included in this language, before copying any files, make a decision about what language you prefer for the Content Administrator interface (English or Spanish), after copying the files corresponding to any of these two languages, proceed to copy the content of the www-cat folder and overwrite any existing file.
5a) Ensure PHP Safe Mode is turned OFF
5b) Allow the execution of .xml .htm .html as they were .php. This is necessary for the dynamic sitemap and other dynamically generated files.
To verify that the .xml , .htm and .html files are being executed correctly, open the following files from your web browser: verify.xml, verify.htm, verify.html (Example: http://www.webtvdomain.com/verify.xml), if the word "OK" is displayed, then the files are being executed correctly as .php.
5c) Modify the following php parameters:
upload_max_filesize = 100M
post_max_size = 100M
max_execution_time = 1000
max_input_time = 1000
memory_limit = 50M
allow_call_time_pass_reference = On
display_errors = Off
short_open_tag = On
NOTES:
- The upload_max_filesize and post_max_size values must be configured according to the size of the video files you plan to upload to your server. Some hosting companies limit these values, check with your hosting company. For your reference, a 7 minutes video file, encoded at 1250Kbps, would generate a 64M file (approx.).
5d) Enable the following php functions (in case they are disabled): ftp_connect, ftp_login, ftp_pasv, ftp_chdir, ftp_put, ftp_fput, ftp_delete, ftp_close
After unzipping the file you will find the followinf folders:
support_files: contains some files needed for this and other tutorials
www-en: contains all the WebTV files in English language.
www-es: contains all the WebTV files in Spanish language.
www-cat: contains only the "public" interface (front-end) files in Catalán/Valenciano language (not the Content Administrator).
license_licencia: the End User License Agreement.
◢1 MySQL database
1a) Create a new MySQL database.1b) Create a new user for the database and assign it all available privileges.
◢2 Import database
Import the "simplewebtv.sql" file (located in the "support_files" folder) into your newly created database (normally you would do this through phpMyAdmin). This will create all the necessary data structures.◢3 WebTV configuration files
Edit the file www/config/configData.php and modify the following parameters:3a) "webTVBaseUrl": HTTP address of the WebTV; it will be used to build the internal links of the WebTV.
Example 1: If you plan to publicate your WebTV in www.webtvdomain.com, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/" With the ending " / ".
Example 2: If you plan to publicate your WebTV in www.webtvdomain.com/webtv, the webTVBaseUrl parameter will be "http://www.webtvdomain.com/webtv/" With the ending " / ".
3b) "webTVDBHost": The host name of the MySQL server, normally "localhost"
3c) "webTVDB": The name of the created database (step 1a).
3d) "webTVDBUser": The username of the database (step 1b).
3e) "webTVDBPass": The username´s password (step 1b).
Additional configuration variables
For details about all additional configuration variables you will be able to modify, according to your needs, take a look at the following document: Configuration Variables.
Home Button
At the top of the WebTV (at the right of the Channels bar) you can include a button with a link to your Website, to modify it, edit the file www/config/configHomeButton.php and change the following parameters:
3f) "webHomeButtonTitle": Text that will appear in the button ( enter "" if you don´t want the button ).
3g) "webHomeButtonUrl": Enter full URL for the link, example: http://www.mydomain.com.
3h) "webHomeButtonUrlTarget": Link Target. Enter "_top" if you want the link gets opened in the same window or "_blank" if you want the link gets opened in a new browser window.
◢4 Upload WebTV and assign permissions
Upload the content of the www-en or www-es folder to your server* (according to 3a) and then assign write permission (chmod 777 if you do it through ftp) for the /plantillas/admin/thumbs folder. (Some hosting companies allow writing to folders without modifying permissions)*NOTE: Do not upload the www-en or www-es folder itself, upload the files and folders located inside it.
Catalán/Valenciano version: Since only the "public" interface of the WebTV (front-end) is included in this language, before copying any files, make a decision about what language you prefer for the Content Administrator interface (English or Spanish), after copying the files corresponding to any of these two languages, proceed to copy the content of the www-cat folder and overwrite any existing file.
◢5 Configuring the server
You will need to configure certain aspects of your hosting server in order to allow the proper operation of the WebTV. Usually the configuration is made by modifying the .htaccess or php.ini files in your server.5a) Ensure PHP Safe Mode is turned OFF
5b) Allow the execution of .xml .htm .html as they were .php. This is necessary for the dynamic sitemap and other dynamically generated files.
To verify that the .xml , .htm and .html files are being executed correctly, open the following files from your web browser: verify.xml, verify.htm, verify.html (Example: http://www.webtvdomain.com/verify.xml), if the word "OK" is displayed, then the files are being executed correctly as .php.
5c) Modify the following php parameters:
upload_max_filesize = 100M
post_max_size = 100M
max_execution_time = 1000
max_input_time = 1000
memory_limit = 50M
allow_call_time_pass_reference = On
display_errors = Off
short_open_tag = On
NOTES:
- The upload_max_filesize and post_max_size values must be configured according to the size of the video files you plan to upload to your server. Some hosting companies limit these values, check with your hosting company. For your reference, a 7 minutes video file, encoded at 1250Kbps, would generate a 64M file (approx.).
5d) Enable the following php functions (in case they are disabled): ftp_connect, ftp_login, ftp_pasv, ftp_chdir, ftp_put, ftp_fput, ftp_delete, ftp_close