Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Modern UI] Video Lightbox #9296

Merged
merged 3 commits into from
Jul 19, 2021

Conversation

cconard96
Copy link
Contributor

Q A
Bug fix? yes
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -

Needed for screenshot plugin which has the ability to create and attach screen recordings directly from the ticket timeline. This will allow users and technicians to view these recordings directly from the timeline rather than forcing the user to download the video or having to open it in a new tab in order to view it.

Images and videos may be present in the same gallery.
Videos in the timeline have a placeholder "thumbnail" using fas fa-video. I don't think having a proper thumbnail will be possible without a library like php-ffmpeg.

This PR also has a fix for having multiple galleries on the same page. Each gallery had the same id previously which caused issues at least with properly closing the gallery.

@orthagh orthagh merged commit 84fe11b into glpi-project:feat/modern-ui Jul 19, 2021
orthagh pushed a commit that referenced this pull request Jul 19, 2021
* Add video lightbox support

* Fix missing controls

* Fix deny dragging HTML content
cedric-anne pushed a commit that referenced this pull request Jul 22, 2021
* Add video lightbox support

* Fix missing controls

* Fix deny dragging HTML content
cedric-anne pushed a commit that referenced this pull request Jul 23, 2021
* Add video lightbox support

* Fix missing controls

* Fix deny dragging HTML content
cedric-anne pushed a commit that referenced this pull request Aug 4, 2021
* Add video lightbox support

* Fix missing controls

* Fix deny dragging HTML content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants