In the Web development will often encounter some simple video playback function, but now the video format is different, and can be dynamically increased, so we have to save the video to the data Oh, okay, let's look at the section I wrote a simple PHP tutorial video page player code.
? PHP Include './admin/connect.php '; @extract ($db->get_one ("select * from Movieinfo where id= '. $_get[' id ']."); $db->query ("Update movieinfo set playnum=playnum+1 where id= '". $_get[' id ']. "' "); Control Downloads $url 2= "admin/";//Store The path of the software if ($localaddress) { $newname = $localaddress; $movieurl = $url 2 $newname; } ?> <html> <head> <title><?= $title? >-Online Playback </title>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.