I like to extend the collectionviewer to my own needs, however I face some problems by doing so. Next the issues I found during development.
I like to have always the description info on the screen, not only when the info button is touched. Putting the media in a container and include the description gives errors while executing. Also adding the description to the media.front in stead of media.back in the .as file gives errors.
Does someone has a clue or an example?
I like to have a bigger media pop-up screen. I can do his by adding a scale parameter. However, it seems like each display always pops-up at fixed coordinates, I'am not able to change that in a way the pop-up stays in the middle of the screen. Now it overlaps my menu items in the bottom of the screen.
Is it possible to add a image to a sound fragment by adding an image to the set?
I want to show an image during the playout of the mp3 file in stead of the amplitude meter.
All idea's to make these issues work are welcome,
Can you elaborate on this requirement? Do you want to eliminate the back panel altogether and just have a front panel with nothing but text? If not, do you wish to constantly overlay the text on top of the media element?
The initial scale and positioning of the media viewer is determined by the dimensions of slots indicated by the 5 graphical rectangles. A graphical indicator highlights the projected position of the next selected item. The dimensions are driven by the position.png in the corresponding skins package. If you want to maintain that same system, the asset in the skins need to be updated. If you are okay with breaking that relationship, you can hard code values into the position and scale functions in the Row.as class.
Yes this is possible. You just need to add an image as a secondary file to your audio item. The collection viewer will detect it and apply it as the background media. The waveform is enabled by default so you can either attempt to expose the setting to the audio object through CML or, if you don't intend to use it for any audio element, simply set the waveform flag to false in the Audio.as class. Add this endpoint(https://ideumtest01.omeka.net) to your list in CML and select The Mars Volta item for an example.
Sorry for the late reply: Here are my findings:
- I indeed want to eliminate the backpanel and add the info together with the media at the frontpanel. Not as an overlay, but below the image or video.
- I can't find the Row.as file, it's not in my project and also not part of the SDK. Are you for sure it is Row.as?
- I dont intent to use the waveform at all, so I like to add an extra picture as background. However when I set 'public var waveform.Boolean = false' I got errors while the new presentation is started: Error #2007: Parameter child must be non-null' Does anyone have an idea what is going on?
And how can i add an extra media object, can I just adding a example.jpg line to sets.cml? are two media objects allowed?
Thanks in advance,
Regards Evert Huijben
I'm getting the impression we are not referencing the same "Collection Viewer". I have been assuming you are referencing the latest Collection Viewer which leverages a custom Omeka endpoint as an intuitive content management system. If you are not using this one, I highly recommend it since chances are it may support what you are trying to achieve or at least simplify it. Either way, can you please specify (or post a link) to the Collection Viewer you are attempting to adapt to verify we are on the same page? Is it just the basic CollectionViewer component bundled with the SDK?
Sorry for the confusing, I'am indeed using the Collectionviewer component in the SDK.
I'am using this example: https://github.com/ideum/open-exhibits-collection-viewer.
I'am busy to adapt this example to my own needs for my local museum.
This is the status for the issues I described.
- Now I always show the background which I have moved under the picture and removed the info button. The only disadvantage is that the whole media viewer is not in the center of the screen anymore.
- I have no solution for this yet, This can also resolve the disadvantage of my solution for 1.
- I have resolved this issue by converting my picture and mp3 file to a movie.
These are good work arounds, but if someone has better solutions for these three issues, I like to hear them.
In the meanwhile I resolved the issue with the position of the media viewer (issue 2).
When calling the media-viewer template you can add x and y coordinates to change the default position. The only thing is that the coordinates you enter should be relative to the default position, meaning that if you want to move up, you should enter a negative y position.
This topic is now closed. New replies are no longer allowed.
This topic is now archived. It is frozen and cannot be changed in any way.