[問題] object tag get current time

看板Ajax作者 (hadoop)時間12年前 (2013/08/22 13:27), 編輯推噓0(003)
留言3則, 1人參與, 最新討論串1/1
我用object做一個媒體播放 我要做一個按鈕 按下去可以get目前播放的秒數 我的javascript程式碼 http://ideone.com/6Kzt3q 我的current time function好像抓不到我的影音數據 執行後有alert出來 但內容是underfined 麻煩高手解惑 感謝 改currentposition後的程式碼 http://ideone.com/1iWLaM (78行 我用下面網址所提供的方法) 執行按下aaa button完全沒有反應.........不知道是什麼問題 這是我參考的資料 http://msdn.microsoft.com/en-us/library/windows/desktop/dd562645(v=vs.85).aspx 麻煩高手請教... 該怎麼做修改 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 210.95.175.21

08/22 16:08, , 1F
CurrentPosition
08/22 16:08, 1F
※ 編輯: dremel 來自: 123.193.209.213 (08/24 00:13)

08/24 14:37, , 2F
var mediaElement=document.getElementById("SLVIDEO");
08/24 14:37, 2F

08/24 14:37, , 3F
alert(mediaElement.CurrentPosition);
08/24 14:37, 3F
文章代碼(AID): #1I5Q5EiS (Ajax)
文章代碼(AID): #1I5Q5EiS (Ajax)