mozilla / popcorn.webmaker.org

RETIRED
https://blog.mozilla.org/foundation-archive/mozilla-learning/product-update-for-appmaker-and-popcorn-maker/
MIT License
146 stars 116 forks source link

Duration of Youtube videos is wrong #610

Closed syl22-00 closed 8 years ago

syl22-00 commented 9 years ago

As explained in [https://github.com/mozilla/popcorn-js/issues/440](this issue on pocketsphinx-js repository), Youtube API v2 is deprecated, and duration retrieved with a call to that API (in public/src/util/mediatypes.js) is wrong, it always returns 236 seconds.

I proposed a valid way to retrieve the duration and [https://github.com/mozilla/popcorn-js/pull/441](opened a pull request in pocketsphinx-js). I can make one for that repository if that helps.