video.html 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <div id="divPlugin" class="plugin"></div>
  2. <fieldset class="ptz">
  3. <table cellpadding="0" cellspacing="3" border="0" class="left">
  4. <tr>
  5. <td>
  6. <input type="button" class="btn" value="左上" onmousedown="mouseDownPTZControl(5);" onmouseup="mouseUpPTZControl();" />
  7. <input type="button" class="btn" value="上" onmousedown="mouseDownPTZControl(1);" onmouseup="mouseUpPTZControl();" />
  8. <input type="button" class="btn" value="右上" onmousedown="mouseDownPTZControl(7);" onmouseup="mouseUpPTZControl();" />
  9. </td>
  10. </tr>
  11. <tr>
  12. <td>
  13. <input type="button" class="btn" value="左" onmousedown="mouseDownPTZControl(3);" onmouseup="mouseUpPTZControl();" />
  14. <input type="button" class="btn" value="自动" onclick="mouseDownPTZControl(9);" />
  15. <input type="button" class="btn" value="右" onmousedown="mouseDownPTZControl(4);" onmouseup="mouseUpPTZControl();" />
  16. </td>
  17. </tr>
  18. <tr>
  19. <td>
  20. <input type="button" class="btn" value="左下" onmousedown="mouseDownPTZControl(6);" onmouseup="mouseUpPTZControl();" />
  21. <input type="button" class="btn" value="下" onmousedown="mouseDownPTZControl(2);" onmouseup="mouseUpPTZControl();" />
  22. <input type="button" class="btn" value="右下" onmousedown="mouseDownPTZControl(8);" onmouseup="mouseUpPTZControl();" />
  23. </td>
  24. </tr>
  25. </table>
  26. <table cellpadding="0" cellspacing="3" border="0" class="left">
  27. <tr>
  28. <td class="tt"><input type="button" class="btn2" value="变倍+" onmousedown="PTZZoomIn()" onmouseup="PTZZoomStop()"></td>
  29. <td><input type="button" class="btn2" value="变倍-" onmousedown="PTZZoomout()" onmouseup="PTZZoomStop()"></td>
  30. </tr>
  31. <tr>
  32. <td class="tt"><input type="button" class="btn2" value="变焦+" onmousedown="PTZFocusIn()" onmouseup="PTZFoucusStop()"></td>
  33. <td><input type="button" class="btn2" value="变焦-" onmousedown="PTZFoucusOut()" onmouseup="PTZFoucusStop()"></td>
  34. </tr>
  35. <tr>
  36. <td class="tt"><input type="button" class="btn2" value="光圈+" onmousedown="PTZIrisIn()" onmouseup="PTZIrisStop()"></td>
  37. <td><input type="button" class="btn2" value="光圈-" onmousedown="PTZIrisOut()" onmouseup="PTZIrisStop()"></td>
  38. </tr>
  39. </table>
  40. <table cellpadding="0" cellspacing="3" border="0" class="left" style="display:none;">
  41. <tr>
  42. <td class="tt">速度</td>
  43. <td>
  44. <select id="ptzspeed" class="sel">
  45. <option>1</option>
  46. <option>2</option>
  47. <option>3</option>
  48. <option selected>4</option>
  49. <option>5</option>
  50. <option>6</option>
  51. <option>7</option>
  52. </select>
  53. </td>
  54. </tr>
  55. <tr>
  56. <td class="tt">预置点</td>
  57. <td><input id="preset" type="text" class="txt" value="1" /></td>
  58. </tr>
  59. <tr>
  60. <td colspan="2">
  61. <input type="button" class="btn" value="设置" onclick="clickSetPreset();" />
  62. <input type="button" class="btn" value="调用" onclick="clickGoPreset();" />
  63. </td>
  64. </tr>
  65. </table>
  66. <div id="download" style="display:none;"><a href="http://www.xinnongbaohe.com/assets/pc/lib/video/WebComponents.exe" target="_blank">下载播放控件</a></div>
  67. </fieldset>