简体   繁体   English

JCR(Java内容存储库)是否存储视频?

[英]Does JCR (java content repository) store videos?

Does JCR (java content repository) store videos ? JCR(Java内容存储库)是否存储视频? The reason I am asking, I saw one of the open source cms called Hippo and they embed videos from vimeo in their website rather than having stored it on content repository. 我问的原因是,我看到了一个名为Hippo的开源cms,他们将来自vimeo的视频嵌入其网站中,而不是将其存储在内容存储库中。

I appreciate any input. 感谢您的投入。

Thanks, Sri 谢谢,斯里

Yes this is possible to do. 是的,这是可以做到的。 In fact JCR can store binary data including videos,images, documents etc...Then,you will need just to read the content of the binary and stream it in a video reader. 实际上,JCR可以存储二进制文件数据,包括视频,图像,文档等。然后,您只需要读取二进制文件的内容并将其流式传输到视频阅读器中即可。 You can watch a simple usage on eXo Platform they are using JCR as their storage and they are providing a video player on their Social streams and their JCR browser (Content Explorer) 您可以在eXo平台上观看简单的用法,他们使用JCR作为存储,并且在其社交流和JCR浏览器(内容浏览器)上提供了视频播放器

Embedding videos from online services can be useful to avoid the bandwidth and infrastructure costs of streaming videos yourself. 嵌入在线服务中的视频对于避免自己流式传输视频的带宽和基础架构成本很有用。 That being said, as Ali says JCR can store any binary, but you'll need to check the performance of a given JCR implementation against your use cases to make an informed decision. 话虽如此,正如Ali所说,JCR可以存储任何二进制文件,但是您需要根据用例检查给定JCR实现的性能,以做出明智的决定。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM