Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Collective access config file
# --------------------------------------------------------------------------------
media_overlay = {
images = {
mimetypes = {image/gif, image/jpeg, image/tiff, image/png, image/x-dcraw, image/x-psd, image/x-dpx, image/jp2, image/x-adobe-dng, image/x-dcraw, application/dicom},
display_version = tilepic,
alt_display_version = large,
viewer_width = 100%, viewer_height = 100%,
download_version = original,
viewer = TileViewer,
#use_universal_viewer_for_image_list_length_at_least = 3
#use_mirador_for_image_list_length_at_least = 3
},
video = {
mimetypes = {video/x-flv, video/mpeg, video/quicktime, video/x-ms-asf, video/x-ms-wmv, application/x-shockwave-flash, video/x-matroska, video/avi, video/x-dv},
display_version = h264_hi,
viewer_width = 100%, viewer_height = 100%,
poster_frame_version = mediumlarge,
alt_display_version = large,
download_version = original,
viewer = VideoJS
},
video_h264_original = {
mimetypes = { video/mp4 },
display_version = original,
viewer_width = 100%, viewer_height = 100%,
poster_frame_version = mediumlarge,
alt_display_version = large,
download_version = original,
viewer = VideoJS
},
quicktimevr = {
mimetypes = {x-world/x-qtvr},
display_version = original,
alt_display_version = large,
viewer_width = 820, viewer_height = 520,
download_version = original,
viewer = QTVR
},
audio = {
mimetypes = {audio/mpeg, audio/x-aiff, audio/x-wav, audio/mp4, audio/x-flac},
display_version = mp3,
alt_display_version = large,
viewer_width = 600, viewer_height = 32,
poster_frame_version = mediumlarge,
download_version = original,
viewer = MediaElement
},
pdf = {
mimetypes = {application/pdf},
display_version = tilepic,
alt_display_version = mediumlarge,
width = 100%, height = 100%,
download_version = original,
viewer = Mirador
},
documents = {
mimetypes = {application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-excel,
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.presentation},
display_version = tilepic,
alt_display_version = large,
viewer_width = 820, viewer_height = 520,
poster_frame_version = mediumlarge,
download_version = original,
viewer = Mirador
},
postscript = {
mimetypes = {application/postscript},
display_version = original,
alt_display_version = large,
viewer_width = 820, viewer_height = 520,
poster_frame_version = mediumlarge,
download_version = original,
viewer = Mirador
},
text = {
mimetypes = {text/xml},
display_version = original,
alt_display_version = large,
download_version = original,
viewer = Mirador
},
3d = {
mimetypes = {application/stl, application/surf, text/prs.wavefront-obj},
# change display_version to ctm if you have OpenCTM installed
display_version = original,
viewer_width = 820, viewer_height = 520,
download_version = original ,
viewer = ThreeJS
},
3d_ply = {
mimetypes = {application/ply},
# change display_version to ctm if you have OpenCTM installed
display_version = original,
viewer_width = 820, viewer_height = 520,
download_version = original ,
viewer = ThreeJS
},
360 = {
mimetypes = {application/spincar},
display_version = original,
viewer_width = 800, viewer_height = 800,
download_version = original,
viewer = Spin360
},
binary = {
mimetypes = {application/octet-stream},
display_version = large,
viewer_width = 800, viewer_height = 800,
download_version = original,
viewer = TileViewer
}
}
# --------------------------------------------------------------------------------
media_editor = {
images = {
mimetypes = {image/gif, image/jpeg, image/tiff, image/png, image/x-dcraw, image/x-psd, image/x-dpx, image/jp2, image/x-adobe-dng, image/x-dcraw, application/dicom},
display_version = tilepic,
alt_display_version = large,
viewer_width = 100%, viewer_height = 100%,
download_version = original,
viewer = TileViewer
},
video = {
mimetypes = {video/x-flv, video/mpeg, video/quicktime, video/x-ms-asf, video/x-ms-wmv, application/x-shockwave-flash, video/x-matroska, video/avi, video/x-dv},
display_version = h264_hi,
viewer_width = 100%, viewer_height = 95%,
poster_frame_version = mediumlarge,
alt_display_version = large,
download_version = original,
viewer = VideoJS
},
video_h264_original = {
mimetypes = { video/mp4 },
display_version = original,
viewer_width = 100%, viewer_height = 96%,
poster_frame_version = mediumlarge,
alt_display_version = large,
download_version = original,
viewer = VideoJS
},
quicktimevr = {
mimetypes = {x-world/x-qtvr},
display_version = original,
alt_display_version = large,
viewer_width = 820, viewer_height = 520,
download_version = original,
viewer = QTVR
},
audio = {
mimetypes = {audio/mpeg, audio/x-aiff, audio/x-wav, audio/mp4, audio/x-flac},
display_version = mp3,
alt_display_version = large,
viewer_width = 600, viewer_height = 32,
poster_frame_version = mediumlarge,
download_version = original,
viewer = MediaElement
},
pdf = {
mimetypes = {application/pdf},
display_version = large,
alt_display_version = mediumlarge,
width = 580, height = 450,
download_version = original,
viewer = Mirador
},
documents = {
mimetypes = {application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-excel,
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.presentation},
display_version = pdf,
alt_display_version = large,
viewer_width = 820, viewer_height = 520,
poster_frame_version = mediumlarge,
download_version = original,
viewer = Mirador
},
postscript = {
mimetypes = {application/postscript},
display_version = original,
alt_display_version = large,
viewer_width = 820, viewer_height = 520,
poster_frame_version = mediumlarge,
download_version = original,
viewer = Mirador
},
text = {
mimetypes = {text/xml},
display_version = original,
alt_display_version = large,
download_version = original,
viewer = Mirador
},
3d = {
mimetypes = {application/stl, application/surf},
# change display_version to ctm if you have OpenCTM installed
display_version = original,
viewer_width = 820, viewer_height = 520,
download_version = original,
viewer = ThreeJS
},
3d_ply = {
mimetypes = {application/ply},
# change display_version to ctm if you have OpenCTM installed
display_version = original,
viewer_width = 820, viewer_height = 520,
download_version = original,
viewer = ThreeJS
},
360 = {
mimetypes = {application/spincar},
display_version = original,
viewer_width = 100%, viewer_height = 100%,
download_version = original,
viewer = Spin360
},
binary = {
mimetypes = {application/octet-stream},
display_version = large,
viewer_width = 800, viewer_height = 800,
download_version = original,
viewer = TileViewer
}
}
# --------------------------------------------------------------------------------
annotation_editor = {
video = {
mimetypes = {video/x-flv, video/mpeg, video/quicktime, video/x-ms-asf, video/x-ms-wmv, application/x-shockwave-flash, video/x-matroska, video/avi, video/x-dv},
display_version = h264_hi,
viewer_width = 500, viewer_height = 375,
poster_frame_version = mediumlarge,
alt_display_version = large,
download_version = original,
viewer = VideoJS
},
video_h264_original = {
mimetypes = { video/mp4 },
display_version = original,
viewer_width = 500, viewer_height = 375,
poster_frame_version = mediumlarge,
alt_display_version = large,
download_version = original,
viewer = VideoJS
},
quicktimevr = {
mimetypes = {x-world/x-qtvr},
display_version = original,
alt_display_version = large,
viewer_width = 500, viewer_height = 375,
download_version = original,
viewer = QTVR
},
audio = {
mimetypes = {audio/mpeg, audio/x-aiff, audio/x-wav, audio/mp4, audio/x-flac},
display_version = mp3,
alt_display_version = large,
viewer_width = 500, viewer_height = 32,
poster_frame_version = mediumlarge,
download_version = original,
viewer = MediaElement
},
360 = {
mimetypes = {application/spincar},
display_version = original,
viewer_width = 100%, viewer_height = 100%,
download_version = original,
viewer = Spin360
},
binary = {
mimetypes = {application/octet-stream},
display_version = large,
viewer_width = 800, viewer_height = 800,
download_version = original,
viewer = TileViewer
}
}
# --------------------------------------------------------------------------------
image_center_editor = {
images = {
mimetypes = {image/jpeg, image/tiff, image/png, image/x-dcraw, image/x-psd, image/x-dpx, image/jp2, image/x-adobe-dng, image/x-dcraw, image/gif, application/dicom},
display_version = mediumlarge,
viewer = TileViewer
}
}
# --------------------------------------------------------------------------------
default_viewers = {
images = {
mimetypes = {image/gif, image/jpeg, image/tiff, image/png, image/x-dcraw, image/x-psd, image/x-dpx, image/jp2, image/x-adobe-dng, image/x-dcraw, application/dicom},
viewer = TileViewer
},
video = {
mimetypes = {video/mp4, video/x-flv, video/mpeg, video/quicktime, video/x-ms-asf, video/x-ms-wmv, application/x-shockwave-flash, video/x-matroska, video/avi, video/x-dv},
viewer = VideoJS
},
quicktimevr = {
mimetypes = {x-world/x-qtvr},
viewer = QTVR
},
audio = {
mimetypes = {audio/mpeg, audio/x-aiff, audio/x-wav, audio/mp4, audio/x-flac},
viewer = MediaElement
},
pdf = {
mimetypes = {application/pdf,application/postscript,application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-excel,
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.presentation},
viewer = Mirador
},
text = {
mimetypes = {text/xml},
viewer = Mirador
},
3d = {
mimetypes = {application/stl, application/surf,application/ply},
viewer = ThreeJS
},
370 = {
mimetypes = {application/spincar},
viewer = Spin360
},
binary = {
mimetypes = {application/octet-stream},
viewer = TileViewer
}
}
# --------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.