Youtube player throwing errors in butter
This bug required a few specific things to be done in order for the bug to appear (this is all in butter btw):
- Create a new project with the video source being a youtube
- Save this project (giving it a title in order to save)
- Refreshing the page and re-opening the project you just
- Again go and save the video (not changing the title, description, or video source)
Once this is done an error will be thrown to the tone of "this.video.getPlayerState() is not a function" and causes the video to continuously try and load but never actually finish.
You can give this a try here: http://scotland.proximity.on.ca/dseif/butter/ as in the current butter tree I dont think the youtube stuff has landed yet.
I have a fix up for this, which basically checks the type of
getPlayerState and if it is not a function, and if not, sets the
data to this.readyState instead.
I'm going to assign this to Bobby for review as he saw the bug in action this morning.
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.