Closed (outdated)
Project:
MediaElement
Version:
7.x-1.1
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2011 at 08:10 UTC
Updated:
9 Jul 2018 at 17:15 UTC
Jump to comment: Most recent
Comments
Comment #1
lyricnz commentedPerhaps you should explain a bit more about what colorbox is, and why/how this should be in MediaElement (vs Colorbox itself). This module really just provides a widget, the control of whatever it uses a popup/overlay seems like something ... more than that?
Comment #2
infines commentedColorbox is an overlay module that pops up above the page when triggered by an event, usually by clicking a link. If I requested this in the colorbox issue queue they would most likely just change the project issue to this module.
Adding colorbox support in the MediaElement module as a display format would allow the user to usually select Colorbox-Media ElementAudio/Video.
If the colorbox module added support for every module it would have a ridiculous work load to maintain. It makes more sense that the modules add it in themselves.
Colorbox support also provides pretty design and function to websites and being able to load media in a colorbox without leaving the page is a feature a lot of websites use.
Comment #3
lyricnz commentedWhat markup must be emitted to trigger Colorbox? I vaguely recall that Lightbox2 (similar thing) required you to add a CSS class to some element...
Comment #4
infines commentedI think the class is colorbox-load and then you have to do some stuff with the url too.... heres the documentation
http://drupalcode.org/project/colorbox.git/blob/refs/heads/7.x-1.x:/READ...
Heres the module:
http://drupal.org/project/colorbox
Comment #5
lyricnz commentedWell, the thing is, right now MediaElement is entirely an in-page player, isn't it? So there's no real obvious link that would open a popup/layer, and display the player in that. *shrug* Perhaps you can come up with a Proof of Concept?
Comment #6
aniebel commentedWe have done this using Media, MediaElement, Colorbox and Views Colorbox Trigger:
The tokens were fields added prior to the Colorbox Trigger field, of course, so that they would be available.
Comment #7
jnettikOld ticket. Closing.