Replies: 4 comments 5 replies
-
Note that Asset Compute, which is very (hopefully completely) decoupled from AEM, does exactly that. Alex Klimetschek would have all the required information. |
Beta Was this translation helpful? Give feedback.
-
note, that each file will have a different ID. the extension is not part of the blob key, and the blob key is content encoded. so I would not use the same ID for the example here, otherwise it's confusing. |
Beta Was this translation helpful? Give feedback.
-
See also https://github.com/adobe/helix-asset-ingestor/issues/8 |
Beta Was this translation helpful? Give feedback.
-
After some more web research, I think HLS is ultimately way to go. It appears to provide everything for streaming to the greatest variety of modern browsers and devices, and supports a master playlist with different dimensions so the browser can decide to up- or downgrade based on bandwidth. Sources: |
Beta Was this translation helpful? Give feedback.
-
Problem
Today, authors can upload videos and animations as MP4 using the Helix Slack Bot and reference them as links in the source document. The block code is responsible for turning the link into a
video
andsource
element:turns into
If they want to provide multiple variants, e.g. for streaming to different devices, lower quality for slower bandwidths etc, they have to create all the variants themselves using desktop or cloud-based tools and upload each variant separately, keep track of the resulting URLs and then provide a bunch of links in the source document. The complexity of the resulting video element is on the block developer. Gathering all "video-like" links in a block/context and turning them into
source
elements in a singlevideo
element is tedious and error-prone:There's also no easy way to specify different quality images based on media queries without making the block content in the source really complex and technical.
Proposed solution
Helix should absorb a lot of the complexity that comes with videos:
video
element they need, e.g.:/media_0123456789.mp4
(default, possibly capped at a maximum bandwidth)/media_0123456789.webm
(WebM for streaming to Android)/media_0123456789.m3u8
(HLS for streaming to iOS, containing references to single.ts
chunks under the same media ID).low
and/or.medium
selector, so developers could taylorsource
elements withsrcset
attributes combined withmedia
queries to their specific use cases (short autoplaying animations, long streaming tutorials, etc).Next up: Helix Pipeline
As a future enhancement, once we've gathered sufficient experience and confidence, similar to what we do for images rendered as
picture
s, we could have the Helix Pipeline render a reasonablevideo
element which the developer could further decorate to their liking, e.g.References
Beta Was this translation helpful? Give feedback.
All reactions