flvPlayer.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>FLV Movie Player</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta name="robots" content="noindex, nofollow" />
  7. <script src="../../dialog/common/fck_dialog_common.js" type="text/javascript"></script>
  8. <script src="swfobject.js" type="text/javascript"></script>
  9. <script src="flvPlayer.js" type="text/javascript"></script>
  10. <script type="text/javascript">
  11. document.write( FCKTools.GetStyleHtml( GetCommonDialogCss() ) ) ;
  12. </script>
  13. <style type="text/css">
  14. body, td, input, textarea, select, label { font-family: Arial, Verdana, Geneva, helvetica, sans-serif; font-size: 11px; }
  15. </style>
  16. </head>
  17. <body scroll="no" style="overflow: hidden">
  18. <div id="divInfo">
  19. <table cellspacing="1" cellpadding="1" border="0" width="100%" height="100%">
  20. <tr>
  21. <td valign="top" colspan=3>
  22. <fieldset>
  23. <legend><span fcklang="DlgFLVPlayerFileType">File Type</span></legend>
  24. <input type="radio" id="rbFileType" name="rbFileType" value="single" onclick="javascript: OnDialogModeChange( 'single' );" checked="checked" />&nbsp;<span fckLang="DlgFLVPlayerSingleFile">Single File</span><br>
  25. <input type="radio" id="rbFileType" name="rbFileType" value="list" onclick="javascript: OnDialogModeChange( 'list' );" />&nbsp;<span fckLang="DlgFLVPlayerPlaylistFile">Playlist</span>
  26. </fieldset>
  27. </td>
  28. </tr>
  29. <tr>
  30. <td valign="top" colspan=3>
  31. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  32. <tr>
  33. <td valign="top" width="100%">
  34. <span fckLang="DlgFLVPlayerURL">.FLV Movie</span><br>
  35. <input style="width: 100%" type="text" id="txtURL">
  36. </td>
  37. <td id="tdBrowse" valign="bottom" nowrap>
  38. &nbsp;<input type="button" fckLang="DlgFLVPlayerBtnBrowse" value="Browse Server" onclick="BrowseServer();" id="btnBrowse">
  39. </td>
  40. </tr>
  41. </table>
  42. </td>
  43. </tr>
  44. <tr>
  45. <td valign="top" colspan=3>
  46. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  47. <tr>
  48. <td valign="top" width="100%">
  49. <span fckLang="DlgFLVPlayerImgURL">Preview Image</span><br>
  50. <input style="width: 100%" type="text" id="txtImgURL">
  51. </td>
  52. <td id="tdBrowse" valign="bottom" nowrap>
  53. &nbsp;<input type="button" fckLang="DlgFLVPlayerBtnBrowse" value="Browse Server" onclick="img1BrowseServer();" id="btnImgBrowse">
  54. </td>
  55. </tr>
  56. </table>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td valign="top" colspan=3>
  61. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  62. <tr>
  63. <td valign="top" width="100%">
  64. <span fckLang="DlgFLVPlayerPlaylistURL">Playlist URL</span><br>
  65. <input style="width: 100%" type="text" id="txtPlaylist" style="background:transparent;" disabled>
  66. </td>
  67. <td id="tdBrowse" valign="bottom" nowrap>
  68. &nbsp;<input type="button" fckLang="DlgFLVPlayerBtnBrowse" value="Browse Server" onclick="LnkBrowseServer();" id="btnLnkBrowse" disabled>
  69. </td>
  70. </tr>
  71. </table>
  72. </td>
  73. </tr>
  74. <tr>
  75. <td valign="top" colspan=3>&nbsp;</td>
  76. </tr>
  77. <tr>
  78. <td valign="top" width="50%">
  79. <fieldset>
  80. <legend><span fcklang="DlgFLVPlayerMovieAttrs">Movie Attributes</span></legend>
  81. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  82. <tr>
  83. <td valign="top" colspan=2>
  84. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  85. <tr>
  86. <td valign="top" width="100%">
  87. <span fckLang="DlgFLVPlayerWatermarkURL">Watermark Image</span><br>
  88. <input style="width: 100%" type="text" id="txtWMURL">
  89. </td>
  90. <td id="tdBrowse" valign="bottom" nowrap>
  91. &nbsp;<input type="button" fckLang="DlgFLVPlayerBtnBrowse" value="Browse Server" onclick="img2BrowseServer();" id="btnImg2Browse">
  92. </td>
  93. </tr>
  94. </table>
  95. </td>
  96. </tr>
  97. <tr>
  98. <td valign="top" colspan=2>
  99. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  100. <tr>
  101. <td valign="top" width="100%">
  102. <span fckLang="DlgFLVPlayerRecommendURL">Recommendations List</span><br>
  103. <input style="width: 100%" type="text" id="txtRURL">
  104. </td>
  105. <td id="tdBrowse" valign="bottom" nowrap>
  106. &nbsp;<input type="button" fckLang="DlgFLVPlayerBtnBrowse" value="Browse Server" onclick="Lnk2BrowseServer();" id="btnLnk2Browse">
  107. </td>
  108. </tr>
  109. </table>
  110. </td>
  111. </tr>
  112. <tr>
  113. <td valign="top" colspan=2>
  114. <input type="checkbox" class="CheckBox" id="chkAutoplay">
  115. <span fckLang="DlgFLVPlayerAutoplay">Autoplay</span>
  116. </td>
  117. </tr>
  118. <tr>
  119. <td valign="top" colspan=2>
  120. <input type="checkbox" class="CheckBox" id="chkLoop">
  121. <span fckLang="DlgFLVPlayerLoop">Loop</span>
  122. </td>
  123. </tr>
  124. <tr>
  125. <td valign="top" colspan=2>
  126. <input type="checkbox" class="CheckBox" checked id="chkDownload">
  127. <span fckLang="DlgFLVPlayerDownload">Downloadable</span>
  128. </td>
  129. </tr>
  130. <tr>
  131. <td valign="top" colspan=2>
  132. <input type="checkbox" class="CheckBox" checked id="chkFullscreen">
  133. <span fckLang="DlgFLVPlayerFullscreen">Allow Fullscreen</span>
  134. </td>
  135. </tr>
  136. <tr>
  137. <td><span fckLang="DlgFLVPlayerDispPlaylist">Display Playlist</span>&nbsp;</td>
  138. <td>
  139. <select name="selDispPlaylist" id="selDispPlaylist" style="width:120px;" disabled onchange="updatePlaylistOption();">
  140. <option fckLang="DlgFLVPlayerDispPLNone" value="none" selected>None</option>
  141. <option fckLang="DlgFLVPlayerDispPLRight" value="right">Right</option>
  142. <option fckLang="DlgFLVPlayerDispPLBelow" value="below">Below</option>
  143. </select>
  144. </td>
  145. </tr>
  146. <tr>
  147. <td valign="top"><span id="spanDimText" fckLang="DlgFLVPlaylistDimText">Playlist Dimension</span><span id="spanDimWText" fckLang="DlgFLVPlaylistWidth" style="display: none;">Playlist Width (px)</span><span id="spanDimHText" fckLang="DlgFLVPlaylistHeight" style="display: none;">Playlist Height (px)</span>&nbsp;</td>
  148. <td valign="top"><input type="text" size="5" id="txtPLDim" style="background:transparent;" disabled></td>
  149. </tr>
  150. <tr>
  151. <td valign="top" colspan=2>
  152. <input type="checkbox" class="CheckBox" id="chkPLThumbs" disabled>
  153. <span fckLang="DlgFLVPlayerPLThumbs">Display Thumbnails in Playlist</span>
  154. </td>
  155. </tr>
  156. </table>
  157. </fieldset>
  158. </td>
  159. <td valign="top">&nbsp;</td>
  160. <td valign="top" width="50%">
  161. <fieldset>
  162. <legend><span fcklang="DlgFLVPlayerPlayerAttrs">Player Attributes</span></legend>
  163. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  164. <tr>
  165. <td valign="top"><span fckLang="DlgFLVPlayerWidth">Movie Width (px)</span>&nbsp;</td>
  166. <td valign="top"><input type="text" size="5" id="txtWidth"></td>
  167. </tr>
  168. <tr>
  169. <td valign="top"><span fckLang="DlgFLVPlayerHeight">Movie Height (px)</span>&nbsp;</td>
  170. <td valign="top"><input type="text" size="5" id="txtHeight"></td>
  171. </tr>
  172. <tr>
  173. <td><span fckLang="DlgFLVPlayerBgColor">Bg Color</span>&nbsp;</td>
  174. <td><input id="txtBgColor" type="text" size="8">
  175. <input type="button" fckLang="DlgFLVPlayerBtnSelect" value="Select..." onclick="SelectColor1()">
  176. </td>
  177. </tr>
  178. <tr>
  179. <td><span fckLang="DlgFLVPlayerTBColor">Toolbar Color</span>&nbsp;</td>
  180. <td><input id="txtToolbarColor" type="text" size="8">
  181. <input type="button" fckLang="DlgFLVPlayerBtnSelect" value="Select..." onclick="SelectColor2()">
  182. </td>
  183. </tr>
  184. <tr>
  185. <td><span fckLang="DlgFLVPlayerTBTColor">Toolbar Text Color</span>&nbsp;</td>
  186. <td><input id="txtToolbarTxtColor" type="text" size="8">
  187. <input type="button" fckLang="DlgFLVPlayerBtnSelect" value="Select..." onclick="SelectColor3()">
  188. </td>
  189. </tr>
  190. <tr>
  191. <td><span fckLang="DlgFLVPlayerTBTRColor">Toolbar Text Rollover Color</span>&nbsp;</td>
  192. <td><input id="txtToolbarTxtRColor" type="text" size="8">
  193. <input type="button" fckLang="DlgFLVPlayerBtnSelect" value="Select..." onclick="SelectColor4()">
  194. </td>
  195. </tr>
  196. <tr>
  197. <td valign="top" colspan=2>
  198. <input type="checkbox" class="CheckBox" checked id="chkShowNavigation">
  199. <span fckLang="DlgFLVPlayerShowNavigation">Display Navigation</span>
  200. </td>
  201. </tr>
  202. <tr>
  203. <td valign="top" colspan=2>
  204. <input type="checkbox" class="CheckBox" checked id="chkShowDigits">
  205. <span fckLang="DlgFLVPlayerShowDigits">Display Time</span>
  206. </td>
  207. </tr>
  208. <tr>
  209. <td><span fckLang="DlgFLVPlayerAlign">Align</span>&nbsp;</td>
  210. <td>
  211. <select name="selAlign" id="selAlign" style="width:120px;">
  212. <option fckLang="DlgFLVPlayerAlignLeft" value="left" selected>Left</option>
  213. <option fckLang="DlgFLVPlayerAlignCenter" value="center">Center</option>
  214. <option fckLang="DlgFLVPlayerAlignRight" value="right">Right</option>
  215. </select>
  216. </td>
  217. </tr>
  218. <tr>
  219. <td valign="top" colspan=2>&nbsp;</td>
  220. </tr>
  221. </table>
  222. </fieldset>
  223. </td>
  224. </tr>
  225. </table>
  226. </div>
  227. <div id="divPreview" style="display: none">
  228. <table cellSpacing="0" cellPadding="0" width="100%" height="100%">
  229. <tr>
  230. <td id="ePreviewCell" valign="top" class="flvPreviewArea"><iframe src="flvPreview.html" frameborder="0" marginheight="0" marginwidth="0" style="width: 100%; height: 100%;"></iframe></td>
  231. </tr>
  232. </table>
  233. </div>
  234. <div id="divUpload" style="display: none">
  235. <form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data" action="" onsubmit="javascript: return CheckUpload();">
  236. <span fckLang="DlgLnkUpload">Upload</span><br />
  237. <input id="txtUploadFile" style="width: 100%" type="file" size="40" name="NewFile" /><br />
  238. <br />
  239. <input id="btnUpload" type="submit" value="Send it to the Server" fckLang="DlgLnkBtnUpload" />
  240. <script type="text/javascript">
  241. document.write( '<iframe name="UploadWindow" style="display: none" src="' + FCKTools.GetVoidUrl() + '"><\/iframe>' ) ;
  242. </script>
  243. </form>
  244. </div>
  245. </body>
  246. </html>