12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>viewMedia.htm</title>
- <link rel="stylesheet" href="views/whh/whhPlus/viewWhhSq.css?type=4">
- <script type="text/javascript">
- $(function(){
- var lx = $("#lx").val();
- if(lx == "sp") {
- $("#photoSee").hide();
- }else {
- $("#video").hide();
- }
- })
- function loadDjtj() {
- var djid = $("#djid").val();
- haifm.loadMobilePage("haifm", "viewWhhConstant.htm?mcid="
- + $("#mcid").val() + "&type=" + $("#type").val() + "&from="
- + $("#whhFrom").val() + "&djid=" + djid);
- }
- </script>
- </head>
- <body>
- <input type="hidden" id="whhFrom" value="$!from">
- <input type="hidden" id="type" value="$!type">
- <input type="hidden" id="djid" value="$!djid">
- <input type="hidden" id="lx" value="$!lx">
- <input type="hidden" id="spStr" value="$!spStr" />
- <div class="header" style="position: fixed;width: 100%;">
- <div class="m1" onclick="loadDjtj();"><</div>
- <div class="m2">查看</div>
- <div class="m3"></div>
- </div>
- <div id="photoSee">
- <img src="$!zpStr" style="width: 100%;margin-top:45px;">
- </div>
- <div id="video">
- <script type="text/javascript">
- var fileStr = $("#spStr").val();
- var videoObject = {
- container: '#video',//“#”代表容器的ID,“.”或“”代表容器的class
- variable: 'player',//该属性必需设置,值等于下面的new chplayer()的对象
- flashplayer:false,//如果强制使用flashplayer则设置成true
- video:fileStr,
- autoplay:true, //自动播放
- };
- var player = new ckplayer(videoObject);
- </script>
- </div>
- </body>
- </html>
|