Recommend this page to a friend! |
Download .zip |
Info | View files (16) | Download .zip | Reputation | Support forum (2) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2008-07-16 (8 years ago) | 45% | Total: 2,275 | All time: 1,656 This week: 1,113 |
Version | License | PHP version | Categories | |||
myyoutube 1.2 | Artistic License | 5 | PHP 5, Content management, Video |
Description | Author | ||||||||||||||
This class can be used to manage and display videos from YouTube in Web pages. |
|
I´m seeying that some users don´t see this class utility, so let me explain. Imagine that want a followed video session ,as movie series or video lessons. This class allows you to put all your videos ordered with a respective menu link to navigate between each video. You can check for a demo at www.revista-php.net/contactos.php To mantain my active contribution , please rate this class on PHP classes How to use this class 1st Go to youtube web site and search for some of your favourite videos, and get the respective video id, located on the video URL text field on the top right of the page Example : http://br.youtube.com/watch?v=HJ0-jW8tFu8 This video id will be HJ0-jW8tFu8 Extract all files of my class to the main folder of your web server Example: C:\Programas\EasyPHP 2.0b1\www On EasyMysql i extact them onto the folder www ++++++++++++++++++++++++++++++++++++++++++++++++++ [+] System database and table is done automaticly ++++++++++++++++++++++++++++++++++++++++++++++++++ [+] WHAT DO I NEED TO DO ? Edit the file 'Host_conf.php' and configure it with your Webserver settings, host , user and password. [CAREFUL] On this version , leave database and table name as it is , so database must be called 'videos' and table is named as 'youtube'. Otherwise you must conifg whole sistem, and inform the news values. [+] HOW DO I ADD MY OWN VIDEOS ? To add new videos , edit the file insert_videos.php and build as many arrays you will need , supplying video id => Example: HJ0-jW8tFu8 your video tag => Example: Create Mysql Databases Video Descrition => Example: This video shows how to create databases and tables using MySQL Video Rate => Example: 8 on 10 (whatever ) [List o changes] Class myYouTube :: version 1.1 Add more 3 methods to manage with MySQL data. It allows to build the navigation menu all videos on database , created on file "load_videos.php" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [+] Update 24 Março 2008 10:00 AM minor fix on load_video.php , see #ref 003 bug correction on index.php , check #ref 001 and #ref 002 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Regards :) José Franco www.revista-php.net |
Files |
File | Role | Description |
---|---|---|
connect.php | Appl. | resource connection builder file |
Host_conf.php | Appl. | System package configurations file |
mysql_conn.php | Class | allows to manage with maysql data |
myYouTube.class.php | Class | The main class |
myYouTube.config.php | Conf. | The configuration file |
insert_videos.php | Example | Shwos how to insert videos |
load_videos.php | Example | Example of how to load videos |
message.gif | Icon | textarea image |
myYouTube_version_1.2_changes | Doc. | Changes description on version 1.2 |
rate.gif | Icon | text field image |
send.gif | Icon | button image |
subject.gif | Icon | text field image |
index.php | Example | Allows to install script automaticly |
Readme.txt | Doc. | Some advices about testing |
videos.SQL | Data | the empty SQL table |
youtube.sql | Data | The table with some data on it |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | User Comments (1) | ||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.