[英]How to connect Object Storage to a .php app in IBM Cloud (Bluemix)
我有一個Cloud Foundry PHP應用程序,並且已將其綁定到對象存儲Cloud Foundry服務。 在我的php應用程序中,我希望有一個簡單的視頻硬幣容器,但我希望實際的視頻文件存儲在Object Storage Cloud Foundry Service中。 我基本上想做這樣的事情:
<video width="320" height="240" controls autoplay>
<source src="my_video.MP4" type="video/mp4">
Sorry, your browser doesn't support the video element.
</video>
但是我不知道如何建立連接或到對象存儲Cloud Foundry服務中文件的源路徑是什么。
看起來Github上有一個工作示例。只需要指向一個鏈接即可。 https://github.com/christiancompton/php-objectstorage
甚至我也在努力實現同樣的目標。希望對您有所幫助
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.