BigW Consortium Gitlab
Add support for inline videos in issue, MR and notes (on issue, commit, MR, and MR diff) ## What does this MR do? It adds support for inline videos in issue, MR and notes (on issue, commit, MR, and MR diff). Most of the work was done by @hayesr in !3508 but a few improvements were still missing. ## Why was this MR needed? To be able to play uploaded videos in GitLab! ## What are the relevant issue numbers? Closes #4142. ## Screenshots ### Video players ![Screen_Shot_2016-07-19_at_18.44.09](/uploads/e85e531b455a41c3e66b26b356abaafd/Screen_Shot_2016-07-19_at_18.44.09.png) ----- ![Screen_Shot_2016-07-19_at_18.44.29](/uploads/05f52a812760210d1eae86a7f8fc48bc/Screen_Shot_2016-07-19_at_18.44.29.png) ----- ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - Tests - [x] Test `VideoLinkFilter` - [x] Test in `spec/features/markdown_spec.rb` - [x] Improve `spec/uploaders/file_uploader_spec.rb` - [x] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5215
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
container_registry | Loading commit data... | |
emails | Loading commit data... | |
GoogleCodeProjectHosting.json | Loading commit data... | |
banana_sample.gif | Loading commit data... | |
blockquote_fence_after.md | Loading commit data... | |
blockquote_fence_before.md | Loading commit data... | |
ci_build_artifacts.zip | Loading commit data... | |
ci_build_artifacts_metadata.gz | Loading commit data... | |
dk.png | Loading commit data... | |
doc_sample.txt | Loading commit data... | |
domain_blacklist.txt | Loading commit data... | |
logo_sample.svg | Loading commit data... | |
mail_room_disabled.yml | Loading commit data... | |
mail_room_enabled.yml | Loading commit data... | |
markdown.md.erb | Loading commit data... | |
parallel_diff_result.yml | Loading commit data... | |
rails_sample.jpg | Loading commit data... | |
sanitized.svg | Loading commit data... | |
unsanitized.svg | Loading commit data... | |
video_sample.mp4 | Loading commit data... |