Есть код:
Code
<object type="application/x-shockwave-flash" data="http://video.namba.kz/swf/flowplayer-3.1.5.swf" height="297" width="640"> <param value="true" name="allowfullscreen"> <param value="opaque" name="wmode"> <param value="always" name="allowscriptaccess"> <param name="src" value="http://video.namba.kz/swf/flowplayer-3.1.5.swf"> <param value="config=http://video.namba.kz/flashvars.php?i=1918526_1918523__1108211" name="flashvars"> </object>
Содержимое config=http://video.namba.kz/flashvars.php?i=1918526_1918523__1108211:
{
"key":"#$3998b703079f25a4e63",
"play": {
},
"canvas":
{
"background":"#000000",
"backgroundGradient":"none"
},
"playlist": [
{
"url":"http://d3.files.namba.kz/files/1918523/preview.jpg",
"scaling":"scale",
"autoPlay" :true,
"autoPlayNext":false,
"autoBuffering": false
},
{
"url":"http://download.files.namba.kz/files/1918526/video.flv",
"scaling":"fit",
"provider": "pseudostreaming",
"urlResolvers": "secure"
}
],
"logo": {
"fullscreenOnly": false,
"linkUrl": "http://video.namba.kz/watch.php?id=1108211"
},
"plugins": {
"controls": {
"opacity": 1,
"fullscreen":true,
"all": false,
"play": true,
"scrubber": true,
"volume": true,
"mute": true,
"time": true
},
"secure": {
"timestamp": "4d8a3f3f"
},
"content": {
"opacity":0.9,
"stylesheet": "http://video.namba.kz/css/cont_style.css",
"html": "\n<p class=\"s2\"> <\/p> <img src = \"http:\/\/d1.files.namba.kz\/files\/536385\/star.png\" vspace=\"-2\" hspace=\"0\" width=\"16\" height=\"16\" \/> <p class=\"s12\"> <p class=\"c5\"> <a href=\"http:\/\/streetlife.namba.kz\/details_video.php?image_id=1607&sessionid=bba8e1ad003a32c453e3e805e0ac326b\" TARGET=\"_blank\">\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u043a\u043b\u0438\u043f Dr. Dre feat. Eminem & Skylar Grey - I Need A Doctor<\/a><\/p><\/p>\n\n" }
,
"gatracker": {
"debug": 0,
"labels": {
"begin": false,
"start": "Start",
"play": "Play",
"pause": "Pause",
"resume": "Resume",
"seek": "Seek",
"stop": "Stop",
"finish": "Finish",
"mute": "Mute",
"unmute": "Unmute",
"fullscreen": "Full Screen",
"fullscreenexit": "Full Screen Exit"
},
"trackingMode": "AS3",
"googleId": "UA-11186328-5"
} }
}
Помогите вшить этот конфиг прям в код плеера