baseplayer unit tests
The future plan is for all players to derive from baseplayer. This means base player is going to need some fantastic and thorough testing.
For example, ticket #503 was not found sooner because we were not using that part of the code anywhere. So we should have tests for all properties and functions on the media object that we are emulating.
extractContainerValues was never being called, needs a test in baseplayers to test it is a function, and that it works as expected.
Other things like dispatchEvent, addEventListener, getBoundingClientRect, timeupdate, pause, play, and getStyle also need tests that they are functions, and that they work.
Comments and changes to this ticket
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Popcorn.js is an HTML5 video framework that lets you bring elements of the web into your videos.
Popcorn.js is a project of Web Made Movies, Mozilla's Open Video Lab.