service.videocore.js
в нетплеере тоже видел функцию с буффером, а толку?
в эмуляторе получаю ошибку
вопрос, как добраться до буфферинга?
Код:
this.setInitialBuffer = function(bytes){ var retValue = false; if (typeof ePlayer.SetInitialBuffer == 'function') { retValue = ePlayer.SetInitialBuffer(bytes); } else { alert('[AF service.videocore] Player plugin doesn\'t support SetInitialBuffer().'); } alert('[AF service.videocore] setInitialBuffer('+bytes+') returns ' + retValue); return retValue; } this.setTotalBufferSize = function(bytes){ var retValue = false; if (typeof ePlayer.SetTotalBufferSize == 'function') { retValue = ePlayer.SetTotalBufferSize(bytes); } else { alert('[AF service.videocore] Player plugin doesn\'t support SetTotalBufferSize().'); } alert('[AF service.videocore] setTotalBufferSize('+bytes+') returns ' + retValue); return retValue; } this.setPendingBuffer = function(bytes){ var retValue = false; if (typeof ePlayer.SetPendingBuffer == 'function') { retValue = ePlayer.SetPendingBuffer(bytes); } else { alert('[AF service.videocore] Player plugin doesn\'t support SetPendingBuffer().'); } alert('[AF service.videocore] setPendingBuffer('+bytes+') returns ' + retValue); return retValue; }
в эмуляторе получаю ошибку
Error Detail : TypeError: this.plugin.setTotalBufferSize is not a function
Комментарий