[非關] 請問HTML獵人

看板Hunter作者 (缺耳人)時間11年前 (2013/04/19 21:27), 編輯推噓0(006)
留言6則, 2人參與, 最新討論串1/1
各位獵人好 前些天有鳥獵人貼了些國外的live實境 但是一個網頁只能loading一台camera 讓我覺得有點不方便 就想說能不能把它都掛再同一個網頁上面 就開始去了解些基礎的html語法(我果然沒有程式天份 囧.....) 目前是成功可以將多個camera同時載入單一網頁上 但是礙於螢幕太小.... 一個page也只能看個兩個 其他就要用拉霸往下拉了 囧 想請問有沒有html獵人可以將載入的影片強制縮小比例的方式... 變成一個九宮格直接在一個頁面裡可以看全部的camera 小的非資工出身.. 所以語法用的很簡單 <head> <meta http-equiv="Content-Type" content="text/html; charset=big5" /> <title>無標題文件</title> </head> <body> <table width="100%" height="429" border="0"> <tr> <td width="50%">&nbsp; 魚鷹-媽媽Piret 爸爸Madis <iframe name="TOP1" src="http://pontu.eenet.ee/player/kalakotkas.html" width="775" height="590" marginwidth="1" marginheight="1" border="0" frameborder="0" scrolling="yes"></iframe> </td> <td width="50%">&nbsp; 魚鷹-爸爸Uldis, 媽媽Ulla <iframe name="TOP1" src="http://pontu.eenet.ee/player/zivju-erglis.html" width="775" height="590" marginwidth="1" marginheight="1" border="0" frameborder="0" scrolling="yes"></iframe> </td> </tr> </table> </body> <body> <table width="100%" height="429" border="0"> <tr> <td> &nbsp;<p>Black Stork</p> <iframe name="TOP1" src="http://pontu.eenet.ee/player/kurg.html" width="1100" height="620" marginwidth="1" marginheight="1" border="0" frameborder="0" scrolling="yes"></iframe> </td> </tr> </table> </body> <body> <table width="100%" height="429" border="0"> <tr> <td> &nbsp;Estonian Tawny Owl<p></p> <iframe name="TOP1" src="http://pontu.eenet.ee/player/kakk.html" width="1100" height="620" marginwidth="1" marginheight="1" border="0" frameborder="0" scrolling="yes"></iframe> </td> </tr> </table> </body> </html> 說實在的我只知道要將網址替換成我要的網址 然後設定載入大小 但小於影片尺寸則會出現拉霸的情況 感覺要將它縮小就要用到很艱深的語法 囧.... ps 小的解析度是1680*1050 所以魚鷹的影片何可以塞在同一行裡 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.231.203.160

04/19 22:28, , 1F
直接改iframe裡面的width height試試?
04/19 22:28, 1F

04/19 22:29, , 2F
oh...你是說try過這樣會出現scroll bar就是了...
04/19 22:29, 2F

04/19 22:30, , 3F
以你貼的eenet的連結為例的話...
04/19 22:30, 3F

04/19 22:30, , 4F
04/19 22:30, 4F

04/19 22:31, , 5F
試試看改這個jwplayer('player').setup({ 裡面的寬高
04/19 22:31, 5F

04/19 23:34, , 6F
感謝K大 我試試朝這方向研究看看 google的資料都看某 囧
04/19 23:34, 6F
文章代碼(AID): #1HSKOr9M (Hunter)