Commit Graph

43 Commits

Author SHA1 Message Date
calzoneman 7fee1414e2 Use VideoJSPlayer for vimeo workaround 2015-06-28 09:42:21 -07:00
calzoneman 27a50cb702 Add YouTube v3 API
YouTube v2 is still supported as a fallback, but will log a warning
message to the error log as v2 is expected to be closed shortly after
April 20, 2015.

See also:
http://youtube-eng.blogspot.com/2015/03/dude-are-you-still-on-youtube-api-v2.html
2015-03-27 18:44:46 -05:00
calzoneman 5cde74cbd4 Fix potential cause for playlist timer problem 2015-01-22 16:53:36 -06:00
Calvin Montgomery bf70d2760b Log when a video is added 2015-01-03 16:03:15 -05:00
Calvin Montgomery 9deff9bdb1 Change charset for certain fields to utf8mb4
The underlying cause of #419 is the default utf8 collation in MySQL/MariaDB, which only supports the base plane of Unicode (\u0000-\uffff).  By changing the collation to utf8mb4_general_ci, stuff like ban reasons and profile text may have emoji and other non-base-plane Unicode.

The charset for playlist titles is NOT changed, and non-base-plane characters are replaced by question marks.  This is because switching to utf8mb4 would make the primary key too long.
2014-12-14 21:53:25 -05:00
calzoneman b587da6701 Several fixes
- User playlists should now list correctly (fixed a race condition)
  - Livestream types can autoplay (no longer stuck at currentTime = -3)
  - Playlist items with NaN duration do not break user playlist saving
  - ffmpeg support can handle live media (e.g. icecast)
  - Invalid volume is sanitized and an error message is added
  - JWPlayer displays correctly for both HTML5 and Flash
  - JWPlayer volume synchronization is fixed
  - <audio> and <video> tags are scaled correctly with .embed-responsive-item
2014-12-02 22:21:52 -06:00
calzoneman 4505ca19da Auto unpause after leader is removed 2014-10-07 23:01:36 -05:00
calzoneman e13e695077 Allow limiting # items per user 2014-10-06 11:32:25 -05:00
Calvin Montgomery 59dd733219 Fix null reference bug 2014-08-02 19:15:49 -07:00
Calvin Montgomery 84a07030d0 Disallow cloning playlist if user doesn't have seeplaylist permission 2014-08-02 19:12:09 -07:00
Calvin Montgomery d9f5c551e3 Fix TypeError due to race condition 2014-07-20 19:36:29 -07:00
Calvin Montgomery 79bb6a96cd Fix exception 2014-07-14 21:13:45 -07:00
Calvin Montgomery 1e38b05800 Fix minor issue 2014-07-13 11:15:56 -07:00
Calvin Montgomery b6a1dd8cb3 Send onMediaChange (fixes voteskip stuff) 2014-07-11 21:09:28 -07:00
Calvin Montgomery f36d2b0258 Add onPreChangeMedia and improve refreshing 2014-07-09 21:46:45 -07:00
Calvin Montgomery 3f959087af Initial improvements to playback system 2014-07-09 21:20:14 -07:00
Calvin Montgomery e87ddb473b Require user permission to run channel js 2014-07-01 20:11:54 -07:00
Calvin Montgomery 523bdfe065 Handle #377 2014-06-17 19:11:41 -07:00
Calvin Montgomery 8152008466 Crash fix 2014-06-15 16:34:32 -07:00
Calvin Montgomery 0102b92730 Fix wrong variable reference 2014-06-15 12:51:39 -07:00
Calvin Montgomery 7f4e2a8882 Fix a few issues 2014-06-12 20:29:12 -07:00
Calvin Montgomery ac10f05f21 Update ffmpeg loader to work with newer fluent-ffmpeg; fix playlists 2014-06-07 21:25:48 -07:00
Calvin Montgomery 63e60e65f0 Fix meta clearing on playlist save 2014-06-07 13:00:23 -07:00
Calvin Montgomery 5d5bdfc069 Various fixes for raw file playback 2014-06-07 10:45:52 -07:00
Calvin Montgomery 6dde745784 Better error handling, add support for mp3/ogg-vorbis 2014-06-05 22:02:51 -07:00
Calvin Montgomery 1d1630fb50 Implement raw file queues 2014-06-03 21:21:00 -07:00
Calvin Montgomery f2769e5062 Start adding file playback queue support 2014-06-01 11:43:18 -07:00
Calvin Montgomery 862a7d876d Fix #372 2014-05-31 22:13:53 -07:00
Calvin Montgomery 1917baa4c3 Fix unregistered channels and jwplayer custom timing 2014-05-26 13:02:03 -07:00
Calvin Montgomery 3cae0b0e57 Prevent server from infinite looping when google docs refresh fails 2014-05-24 11:06:46 -07:00
Calvin Montgomery f3eb999a76 Refactor channel packing 2014-05-23 23:09:36 -07:00
Calvin Montgomery ca5ad87414 Fix google docs autorefresh 2014-05-22 20:04:43 -07:00
Calvin Montgomery f3dae85b99 Add more useful error logging to google docs refresh 2014-05-22 19:36:01 -07:00
Erik baa8af58bc hopefully fix #366 delete causing change media 2014-05-22 10:28:58 -04:00
Erik d42fc2eabf fix typo 2014-05-22 02:37:04 -04:00
Erik e19acd2d63 fix enforcement of media limit 2014-05-22 02:35:52 -04:00
Calvin Montgomery 7dde8cffe9 Hopefully fix playlist issues 2014-05-21 20:27:49 -07:00
Calvin Montgomery a3469378aa Minor fix 2014-05-21 20:18:27 -07:00
Calvin Montgomery 46b288d6ee Fixes 2014-05-21 08:42:09 -07:00
Calvin Montgomery f5528c766f only execute callback if it's not undefined 2014-05-20 22:32:26 -07:00
Calvin Montgomery 705b8ce10a Fix vimeo workaround 2014-05-20 20:56:42 -07:00
Calvin Montgomery 39090fbe40 Fix check for channel being registered 2014-05-20 20:48:19 -07:00
Calvin Montgomery 9ea48f58cf Merge refactoring into 3.0 2014-05-20 19:30:14 -07:00