2012-03-30 123 views
0

我需要一個工作代碼,我可以從我的azure blob存儲流向jwplayer視頻,我試圖對自己,並由於跨域政策限制獲取錯誤無法運行播放列表。 我上傳了我的視頻,Azure和通過HTTP訪問://.blob.core.windows.net/gallery/abc流azure blob視頻JWPlayer

回答

0

聽起來好像你沒有在你的Azure存儲的$根級「clientaccesspolicy.xml」文件帳戶容器。

事情是這樣的:

<?xml version="1.0" encoding="UTF-8"?> 
-<access-policy> -<cross-domain-access> -<policy> -<allow-from http-request-headers="*" http-methods="*"> <domain uri="*"/> <domain uri="http://*"/> </allow-from> -<grant-to> <resource include-subpaths="true" path="/"/> </grant-to> </policy> </cross-domain-access> </access-policy> 
+0

哦 - 我的壞 - 在想着Silverlight的,因爲湯姆說你需要一個crossdomain.xml的。相同的想法,相同的位置。詳情在這裏:http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12541/crossdomain-file-loading-restrictions – 2012-03-31 00:47:04

+0

thanx的答案,它真的幫助 – MaxRecursion 2012-04-01 16:09:31