canvas-lms/lib/tasks
Paul Hinze 70b38563df Remove manual hacks from mediaelement js/css
Rather than running our script that stitches together mediaelement js
and css files and _then_ manually editing in our hacks, enhance the
build script to be able to pull specific customizations from local
files.

Use this new facility to stitch in our "upload subtitle" feature in
more cleanly.

Also normalize the whitespace in our hacks to match me.js tab style to
reduce the diff between our code and upstream.

Note that the diff when ignoring whitespace on
public/javascripts/vendor/mediaelement-and-player.js is only comments.

On the CSS side, we pull out the full screen subtitle font-size bump
into a separate file. We also update the target location for the
vendored CSS file in the build script.

Now `rake build_media_element_js` should be idempotent.

Test plan:

 - Verify the media player works for video and audio.
 - Verify that captions in full screen videos show with a large font

Change-Id: I698b0c3454c12bfa4efffc2d98ab9056d351220c
Reviewed-on: https://gerrit.instructure.com/38455
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Zach Pendleton <zachp@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Paul Hinze <paulh@instructure.com>
2014-08-04 19:04:16 +00:00
..
build_media_element_js.rake Remove manual hacks from mediaelement js/css 2014-08-04 19:04:16 +00:00
canvas.rake replace compass with node-sass 2014-08-04 15:28:29 +00:00
css.rake replace compass with node-sass 2014-08-04 15:28:29 +00:00
db_backend_migration.rake use the birth shard so that the default shard can be changed 2013-05-07 15:44:17 +00:00
db_load_data.rake fix initial setup without add_user 2014-07-02 02:17:18 +00:00
db_nuke.rake normalize use of Rails.env 2013-10-14 20:18:41 +00:00
docs.rake Update API docs to include namespaced Quizzes 2014-03-28 18:35:29 +00:00
hair_trigger.rake fix loading of hair_trigger gem rake tasks 2013-04-26 02:37:18 +00:00
icons.rake Support for fontcustom for canvas icons 2014-07-18 15:47:45 +00:00
js.rake update ic-ajax 2014-06-16 16:23:11 +00:00
parallel_exclude.rb fix intermittent parallel spec failures 2013-08-29 20:21:58 +00:00
parallelized.rake spec: rspec2 --tags for parallel_excluded specs 2014-04-03 08:04:52 +00:00
remove_schema_sig.rake Initial commit. 2011-01-31 18:57:29 -07:00
rspec.rake don't load rspec rake tasks if on production 2014-06-26 14:39:56 +00:00