<SCRIPT type = "text/JavaScript" src = "http://www.aodianyun.com/demo/aodianPlayer/player.js"> </SCRIPT> |
|
<SCRIPT type = "text/JavaScript"> |
|
VaR conf = { |
|
Container: 'Container', // player container ID, required Parameter |
|
Demo: 'Demo', // The app activated on the console, required parameters |
|
Stock: 'stock' // Application Layer Control, which can be set at will and necessary parameters |
|
/* The following are optional parameters. |
|
Width: width, // video width, available numbers, percentages, etc. |
|
Height: height, // video height, available numbers, percentages, etc. |
|
Aspectratio: aspectratio, // video ratio, valid only when width is a percentage |
|
Title: title, // video title |
|
Controls: Controls, // whether to display the interface button. The default value is true. |
|
Image: image, // video album art image address |
|
Repeat: Repeat, // whether to automatically replay after playback. The default value is false. |
|
Autostart: autostart // whether to play the video automatically. The default value is false. |
|
*/ |
|
}; |
|
VaR player = new aodianplayer (CONF ); |