samvera-labs / ramp

Interactive, IIIF powered audio/video media player React components library. Styleguidist Docs: https://samvera-labs.github.io/ramp/
https://ramp.avalonmediasystem.org/
30 stars 5 forks source link

Embed media object, rather than file #168

Open elynema opened 1 year ago

elynema commented 1 year ago

Description

Currently, an embedded AV resource just offers users the opportunity to play 1 file. It does not allow navigation of sections. Would prefer to be able to embed an entire object, including the section details with ability to navigate sections and potentially some metadata as well. Include in player navigation between sections (previous/next) like youtube if possible.

Current embedded player

image.png

With sections in Avalon

image.png

Priority: labeled as a must have, but will require investigation to determine if feasible.

elynema commented 1 year ago

Would need to retain ability to embed at either the section or media object level.

Ability for users to advance through different sections in the player with buttons as a minimum; potentially some type of overlay that can display sections within the player itself. Make sure section title in player for current section displays somehow.

An enhancement would be adding ability to configure embeds. For example, users may want to include metadata in the embed (or not) or set video to auto-play (or not). See the configuration options when sharing a video on Vimeo as an example. Music Library does a lot of embedding; IULMIA has embeds on website; IU Press potentially also. Journal of cultural Anthropology has embedded audio (have use cases like auto-play, etc.).

If we are embedding objects, they might contain both audio and video. Should embeds just always render as a video embed?

This work is not required as part of replacing mediaelement.js in Avalon with Ramp, so will remove it from the broader epic. It is not a requirement for 7.7 release.