diff --git a/VideoFrame.js b/VideoFrame.js index 936564f..01723e7 100644 --- a/VideoFrame.js +++ b/VideoFrame.js @@ -26,230 +26,294 @@ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTIO OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/** - * @class - * @classdesc Main VideoFrame Implementation. - * @param {Object} options - Configuration object for initialization. - */ -var VideoFrame = function(options) { - if (this === window) { return new VideoFrame(options); } - this.obj = options || {}; - this.frameRate = this.obj.frameRate || 24; - this.video = document.getElementById(this.obj.id) || document.getElementsByTagName('video')[0]; -}; +// Logic for determning