Use the cool Sun player to do streaming playback and not expose the video address

Source: Internet
Author: User

the content of JS interface:varso =NewSWFObject ("shipin/1114bofangqi/cuplayerv35/player/player.swf? Flvid= "+id+" "," "Ply", "" "," "9", "#000000");//spell the ID of the video behind the playerSo.addparam ("allowFullScreen", "true"); so. AddParam ("allowScriptAccess", "Always"); so. AddParam ("wmode", "opaque"); so. AddParam ("Quality", "high"); so. AddParam ("salign", "LT"); //player configuration file-----------------------------So.addvariable ("Jcscpfile", "/yhmgc/public/shipinbofang.php");//Write a PHP page instead of its XML file, which is used to write parametersSo.write ("Cuplayer");p The contents of the HP Interface:<?PHPinclude("DBDA.class.php");$db=NewDbda ();$FlvID=$_get["Flvid"];//receive the passed-over parameters$sql= "Select video from shangpin where id = ' {$FlvID}‘ ";//Find a video path$rs=$db->strquery ($sql);//Get Path?><cuplayer> <!--The following are the parameters copied from the XML file--><Player_set Jcscpbuffertime= "3"Jcscpvolume= "75"Jcscpcode= "UTF8"Jcscpimgdisplay= "No"Jcscpautohidecontrol= "Yes"Jcscpcontrolhidetime= "0.5"Jcscpcontrolheight= "40"jcscpshowlist= "Yes"jcscpautorepeat= "No"Jcscpautoplay= "Yes"Jcscpsetmode= "1"Jcscpafrontcanclose= "No"Jcscpshowrightmenu= "Yes"Jcscpsharemode= "Jcscpvideopath"Jcscploadbarmode= "0"Jcscplivemode= "0"/><Logo_set Jcscplogodisplay= "Yes"Jcscplogopath= "Images/logo.png"jcscplogoposition= "Top-left"Jcscplogowidth= "165"Jcscplogoheight= "55"Jcscplogoalpha= "0.5"/><Flashvars_set Jcscpserver=""Jcscpvideopath= "<?php Echo$rs?> "JCSCPVIDEOPATHHD= "<?php Echo$rs?> "jcscpimg=""Jcscptitle= ""Jcscpstartime= "0"Jcscpendtime= "0"Jcscpcuepointinfo= ""Jcscpcuepointtime= ""Showjcscpafront= "No"jcscpcountdowns= "5"jcscpcountdownsposition= "Top-right"JCSCPAFRONTW= "730"Jcscpafronth= "454"Jcscpafrontpath= ""Jcscpafrontlink= "/"Showjcscpavideo= "No"Jcscpavideoserver= ""Jcscpavideopath= ""Jcscpavideolink= "/"Showjcscpapause= "No"Jcscpapausepath= ""Jcscpapausew= "300"Jcscpapauseh= "250"Jcscpapauselink= "/"Showjcscpacorner= "No"Jcscpacornerpath= ""Jcscpacornerw= "90"Jcscpacornerh= "50"jcscpacornerposition= "Top-right"Jcscpacornerlink= "/"Showjcscpaend= "No"Jcscpaendpath= ""JCSCPAENDW= "400"Jcscpaendh= "300"Jcscpaendlink= "/"Showjcscpamovetext= "No"/><Skincolor_set Jcscpbackcolor= "0x000000"Jcscpbackcolortop= "0x353535"Jcscplightcolor= "0XCFCFCF"Jcscpfontcolor= "0xFFFFFF"JCSCPTIMEBG= "0x393939"Jcscploadbar= "0x00a0e9"jcscploaded= "0X4D4B4B"jcscploadbg= "0x000000"jcscpplaybtn= "0x2d2d2d"Jcscpbar= "0xFFFFFF"/> </CuPlayer>

Use the cool Sun player to do streaming playback and not expose the video address

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.