请问如何将这两段前台语言转换成在后台生成?(在线等!)
因为这是一个播放器的生成格式,所以我需要在后台用datalist动态的去绑定每一个url的值,请问这么将这一段携程在厚爱的一段string值?
<a style="display: block; width: 90px; height: 70px" id="playerVideo"></a>
<!-- this will install flowplayer inside previous A- tag. -->
<script type="text/javascript">
flowplayer("playerVideo", "/_layouts/NCS.OCP.Resource/scripts/flowplayer-3.2.7.swf", {
onLoad: function () { // called when player has finished loading
this.setVolume(30); // set volume property
},
playlist: [
{
url: '/album_03.jpg',
scaling: 'orig'
},
{
autoPlay: false,
autoBuffering: true,
url: 'TestMedia/Kenxin.flv'
}
],
onMouseOver: function () {
this.play();
},
onMouseOut: function () {
this.stop();
}
});
</script>
我要在后台写的方法:
private string VideoPlayerGeneration(string playerId, string videoUrl, string previewUrl)
{// 求高手帮忙!在线等!
}