使用Flowplayer除錯和捕獲錯誤

2021-10-05 14:14:18 字數 2149 閱讀 1312

使用jquery使用flowplayer嵌入電影

debug: true
200 stream not found, netstream.play.streamnotfound, clip: '[clip]

201, unable to load stream or clip file, connection failed> netconnectionurl is not defined, clip: '[clip] 'null''

$f.fireevent ["onbeforeload"]

flowpl....min.js (line 24)

$f.fireevent ["onload", "influxis", null, null, null, null]

flowpl....min.js (line 24)

$f.fireevent ["onload", "controls", null, null, null, null]

flowpl....min.js (line 24)

$f.fireevent ["onload", "play", null, null, null, null]

flowpl....min.js (line 24)

$f.fireevent ["onload", "player", null, null, null, null]

flowpl....min.js (line 24)

$f.fireevent ["onbeforebegin", 0, object , null, null, null]

flowpl....min.js (line 24)

$f.fireevent ["onbeforepluginevent", "controls", "onbeforehidden", null, null, null]

flowpl....min.js (line 24)

$f.fireevent ["onpluginevent", "controls", "onhidden", null, null, null]

flowpl....min.js (line 24)

$f.fireevent ["onconnect", 0, null, null, null, null]

flowpl....min.js (line 24)

$f.fireevent ["onbegin", 0, object , null, null, null]

flowpl....min.js (line 24)

$f.fireevent ["onmetadata", 0, object , null, null, null]

flowpl....min.js (line 24)

$f.fireevent ["onstart", 0, object , null, null, null]

flowpl....min.js (line 24)

$f.fireevent ["onresized", 0, null, null, null, null]

flowpl....min.js (line 24)

$f.fireevent ["onbufferfull", 0, null, null, null, null]

flowpl....min.js (line 24)

$f.fireevent ["onresized", 0, null, null, null, null]

在flowplayer中捕獲錯誤並向使用者顯示訊息的示例。

//on player object

onerror: function()

這是flowplayer中不同錯誤**的簡要說明。

100

外掛程式初始化失敗

200

未發現流**

201

無法載入流或剪輯檔案

202

剪輯中指定的提供程式未載入

300

301

無法載入外掛程式

302

呼叫外掛程式外部方法時出錯

303

載入樣式表或背景等資源失敗

from:

串列埠除錯精靈的使用和串列埠程式除錯技巧

串列埠除錯精靈的使用和串列埠程式除錯技巧 51微控制器有乙個全雙工的序列通訊口,所以微控制器和電腦之間可以方便地進行串列埠通訊。進行序列通訊時要滿足一定的條件,比如電腦的串列埠是rs232電平的,而微控制器的串列埠是ttl電平的,兩者之間必須有乙個電平轉換電路,我們採用了專用晶元max232進行轉換...

使用Xdebug除錯和優化PHP程式

xdebug是乙個開放源 的php程式偵錯程式 即乙個debug工具 可以用來跟蹤,除錯和分析php程式的執行狀況。xdebug現在的最新版本是xdebug 2.0.0beta6,支援php4 php5。為什麼需要debugger?很多php程式設計師除錯使用echo print r var dum...

使用跟蹤和除錯進行條件編譯

當在開發過程中除錯應用程式時,跟蹤和除錯輸出都會出現在 visual studio 的 輸出 視窗中。不過,若要在已部署的應用程式中包含跟蹤功能,則必須在啟用trace編譯器指令的情況下編譯已插入檢測點的應用程式。這樣就可以將跟蹤 編譯成應用程式的發布版本。如果未啟用trace指令,將在編譯過程中忽...