0
當用戶訪問平板電腦/ iPad上的某個頁面時,我試圖使用KRPano html5全景查看器。在桌面上,我使用閃光燈觀衆和它的作品沒有問題:ipad上的krpano html5查看器
embedpano({ swf: "/Files/Flash/krpano.swf", xml: "/Files/Flash/view.xml", target: "panview", id: "krpanoSWFObject", width: 1920, height: 1100, vars: settings });
這裏爲settings
是:
var settings = {};
settings["sphere"] = ImgSrc; // ImgSrc is a variable which contains the source of the image
settings["view.hlookat"] = 0.0;
settings["view.vlookat"] = 0.0;
settings["view.fov"] = 90;
settings["view.fovmin"] = 0;
settings["view.fovmax"] = 150;
所以,我試圖設置html5: "auto"
,html5: "only"
和html5: "prefer"
,但沒有運氣,當它在iPad上運行時。
那麼有誰知道該怎麼辦?將是一個巨大的幫助...