@realsee/vreo 1.0.0-alpha.12 → 1.0.0-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- import{c,R as l,j as e,r,a as o,p as d,e as i}from"./default.39d4c79b.js";import{w as p}from"./znRoyv06SZQeqA7m.0057e8ae.js";import{R as u}from"./index.6bdd876b.js";import{V as m,A as v}from"./AppReact.d611d90c.js";const f={imageOptions:{size:1024},textureOptions:{size:64},onlyRenderIfNeeds:!0,antialias:!1,model:{},plugins:[]},x=c(f);function g(){const[t,n]=r.exports.useState(!1),a=t?o(x,{initialWork:d(p),ref:s=>Object.assign(window,{$five:s==null?void 0:s.five}),children:[e(u,{}),e(m,{children:e(v,{})})]}):e(i,{});return o(i,{children:[e("button",{style:{position:"absolute",zIndex:1e6,top:"36px",left:"36px"},onClick:()=>n(!t),children:t?"\u9500\u6BC1":"\u521B\u5EFA"}),a]})}l.render(e(r.exports.StrictMode,{children:e(g,{})}),document.getElementById("root"));
1
+ import{c,R as l,j as e,r,a as o,p as d,e as i}from"./default.d3519aaf.js";import{w as p}from"./znRoyv06SZQeqA7m.0057e8ae.js";import{R as u}from"./index.46a22509.js";import{V as m,A as v}from"./AppReact.e28c26ea.js";const f={imageOptions:{size:1024},textureOptions:{size:64},onlyRenderIfNeeds:!0,antialias:!1,model:{},plugins:[]},x=c(f);function g(){const[t,n]=r.exports.useState(!1),a=t?o(x,{initialWork:d(p),ref:s=>Object.assign(window,{$five:s==null?void 0:s.five}),children:[e(u,{}),e(m,{children:e(v,{})})]}):e(i,{});return o(i,{children:[e("button",{style:{position:"absolute",zIndex:1e6,top:"36px",left:"36px"},onClick:()=>n(!t),children:t?"\u9500\u6BC1":"\u521B\u5EFA"}),a]})}l.render(e(r.exports.StrictMode,{children:e(g,{})}),document.getElementById("root"));
@@ -1,4 +1,4 @@
1
- import{r as o,j as r,F as m,u as p,P as _,V as f,a as c,c as b,p as y,f as h}from"./default.39d4c79b.js";function x(){const[e,l]=o.exports.useState({width:0,height:0}),t=o.exports.useRef(null);return o.exports.useEffect(()=>{if(!t.current)return;l({width:window.innerWidth,height:window.innerHeight});const n=({width:d,height:a})=>l({width:d,height:a}),u=new ResizeObserver(d=>{const a=d[0],i=a.target.clientWidth,s=a.target.clientHeight;n({width:i,height:s})});return u.observe(t.current),()=>{t.current&&u.unobserve(t.current),u.disconnect()}},[]),r("div",{className:"ResponsiveFiveCanvas",ref:t,style:{width:"100%",height:"100%",position:"absolute",top:0,left:0,opacity:e.width===0||e.height===0?0:1},children:r(m,{width:e.width,height:e.height})})}const g={_signature:"RxzX9G4X3qL+vRMST3YBSHkxz1pNHsPHF222xo6fTygjT7QZRjy8aaD/YuCaZ6B/0tHGjpOTXwp7Xj0ginPOb+xUI4D+2QTbL5vNtWuamnaW0Ko1KMFmF9MWNY+80AAubmR9+SXp6hhNsmrQGdF83ZJiRz0q+c44DgrGD9bm3h0=",allow_hosts:["*"],animation_file_url:"",animation_picture_url:"",basic_code:"EpGyBg4xy3b1q3nK",business_id:"0",certificate:`-----BEGIN CERTIFICATE-----
1
+ import{r as o,j as r,F as m,u as p,P as _,V as f,a as c,c as b,p as y,f as h}from"./default.d3519aaf.js";function x(){const[e,l]=o.exports.useState({width:0,height:0}),t=o.exports.useRef(null);return o.exports.useEffect(()=>{if(!t.current)return;l({width:window.innerWidth,height:window.innerHeight});const n=({width:d,height:a})=>l({width:d,height:a}),u=new ResizeObserver(d=>{const a=d[0],i=a.target.clientWidth,s=a.target.clientHeight;n({width:i,height:s})});return u.observe(t.current),()=>{t.current&&u.unobserve(t.current),u.disconnect()}},[]),r("div",{className:"ResponsiveFiveCanvas",ref:t,style:{width:"100%",height:"100%",position:"absolute",top:0,left:0,opacity:e.width===0||e.height===0?0:1},children:r(m,{width:e.width,height:e.height})})}const g={_signature:"RxzX9G4X3qL+vRMST3YBSHkxz1pNHsPHF222xo6fTygjT7QZRjy8aaD/YuCaZ6B/0tHGjpOTXwp7Xj0ginPOb+xUI4D+2QTbL5vNtWuamnaW0Ko1KMFmF9MWNY+80AAubmR9+SXp6hhNsmrQGdF83ZJiRz0q+c44DgrGD9bm3h0=",allow_hosts:["*"],animation_file_url:"",animation_picture_url:"",basic_code:"EpGyBg4xy3b1q3nK",business_id:"0",certificate:`-----BEGIN CERTIFICATE-----
2
2
  MIIEMzCCAhsCCQDYAS/7ATZRmTANBgkqhkiG9w0BAQsFADCBkzELMAkGA1UEBhMC
3
3
  Q04xEDAOBgNVBAgMB0JlaWppbmcxEDAOBgNVBAcMB0JlaWppbmcxFDASBgNVBAoM
4
4
  C2xpYW5qaWEuY29tMRAwDgYDVQQLDAdSZWFsc2VlMREwDwYDVQQDDAhIYXJkd2Fy
@@ -1 +1 @@
1
- import{r as o,j as r,F as c}from"./default.39d4c79b.js";const d=(t,i=1e3/60)=>{let e=null;const n=t;return(...s)=>{e&&clearTimeout(e),e=setTimeout(()=>{n==null||n(...s),e&&clearTimeout(e),e=null},i)}};function a(){const[t,i]=o.exports.useState({width:document.body.clientWidth,height:document.body.clientHeight});return o.exports.useEffect(()=>{const e=d(()=>i({width:document.body.clientWidth,height:document.body.clientHeight}));return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),r(c,{width:t.width,height:t.height})}export{a as R};
1
+ import{r as o,j as r,F as c}from"./default.d3519aaf.js";const d=(t,i=1e3/60)=>{let e=null;const n=t;return(...s)=>{e&&clearTimeout(e),e=setTimeout(()=>{n==null||n(...s),e&&clearTimeout(e),e=null},i)}};function a(){const[t,i]=o.exports.useState({width:document.body.clientWidth,height:document.body.clientHeight});return o.exports.useEffect(()=>{const e=d(()=>i({width:document.body.clientWidth,height:document.body.clientHeight}));return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),r(c,{width:t.width,height:t.height})}export{a as R};
@@ -0,0 +1 @@
1
+ import{r as d,u as p,P as n,j as u,c as l,R as b,a as i,p as F}from"./default.d3519aaf.js";import{w as m}from"./znRoyv06SZQeqA7m.0057e8ae.js";import{R as C}from"./index.46a22509.js";const y={categoryId:"b35b2980-9394-42a4-8ccb-0d2d4c8634fa",categoryText:"b4aff456-9a94-46c8-6e15-13cfa540aed8",frontRequestId:"ffc05d41-e588-48dc-adb7-d20d350ea1b4",index:0,video:{duration:80525,start:0,end:106278,url:"//test-vr-public.realsee-cdn.com/vrframework/test/audio_merged/psHKdM20/aitalk_text/merged.mp4"},keyframes:[{uuid:"daf3e3a8-7b48-4df3-eec5-bdc2a1a1c1ba",type:"Prompter",start:0,end:3e3,parsed:!1,data:{text:"\u60A8\u597D\uFF0C\u6211\u662F\u60A8\u7684\u667A\u6167\u5BB6\u5EAD\u8BBE\u8BA1\u5E08"}},{uuid:"daf3e3a8-7b48-4df3-eec5-bdc2a1a1c123",type:"BgMusic",start:2e3,end:46e3,parsed:!1,data:{url:"//vrlab-static.ljcdn.com/release/web/see_you_again.cacdbda9.mp3"}},{uuid:"cbd4326c-3cb1-411e-348a-55a6fa42d6d0",type:"PanoEffect",start:3578,end:25939,parsed:!1,data:{twoVertexs:[{x:-3.216338116298317,y:1.221307932920801,z:-3.991326093673706},{x:-3.178751302976147,y:.09148991767376025,z:-3.991326093673706}],effect:"Distance"}},{uuid:"f8c115dc-eaba-41c3-bf17-913cff2ae90b",type:"PanoTag",start:5529,end:6939,parsed:!1,data:{text:"\u53EF\u7231\u7684\u5C0F\u732B\u732B",vertex:{x:-4.772462449445111,y:1.0707936469281911,z:-3.672135203740606},type:"Image",imgUrl:"//vrlab-public.ljcdn.com/release/seesay/tools/cat_run___92807913661bbb40d0bb9a801b582a07.gif"}},{uuid:"e3a3d9fe-9ae7-43e0-f0e2-bedd35aa2d19",type:"Prompter",start:3600,end:8700,parsed:!1,data:{text:"\u7F8E\u7684\u667A\u6167\u5BB6\u5EAD\u5168\u573A\u666F\u89E3\u51B3\u65B9\u6848\uFF0C\u6D1E\u6089\u751F\u6D3B\u672C\u8D28\uFF0C\u7528\u79D1\u6280\u670D\u52A1\u751F\u6D3B\u672C\u6E90"}},{uuid:"8c2a55a1-ebf7-443a-0eaa-7d2dd6b9efd6",type:"Prompter",start:9300,end:12e3,parsed:!1,data:{text:"\u5448\u73B0\u9AD8\u79D1\u6280\u548C\u6781\u81F4\u8BBE\u8BA1\u4E3A\u751F\u6D3B\u5E26\u6765\u7684\u4FBF\u5229"}},{uuid:"ceb7327a-d0e3-4bad-4faa-0a1e4f83205c",type:"Prompter",start:12600,end:15600,parsed:!1,data:{text:"\u4EE5\u53CA\u751F\u6D3B\u54C1\u8D28\u7684\u5927\u5E45\u63D0\u5347\uFF0C\u8BA9\u6211\u4EEC\u4E00\u8D77\u611F\u53D7\u4E00\u4E0B"}},{uuid:"6f7b3c65-bd87-4b24-91eb-e3182568308b",type:"Prompter",start:16200,end:19e3,parsed:!1,data:{text:"\u901A\u8FC7\u5C0F\u7F8E\u97F3\u7BB1\u53EF\u4EE5\u5B9E\u73B0\u5168\u5C4B\u667A\u80FD\u5BB6\u7535\u7684\u4E92\u8054\u4E92\u901A"}},{uuid:"d326d9e5-56fc-4f69-7b62-72a412745cb7",type:"Prompter",start:19600,end:21700,parsed:!1,data:{text:"\u56DE\u5230\u5BB6\u53EA\u8981\u8BF4\uFF1A\u201C\u5C0F\u7F8E\u5C0F\u7F8E\uFF0C\u89C2\u5F71\u6A21\u5F0F\u201D"}},{uuid:"19cc80e6-e03e-4457-deac-f6cfd17fc06f",type:"Prompter",start:22300,end:24900,parsed:!1,data:{text:"\u5168\u5C4B\u667A\u6167\u4E92\u8054\uFF0C\u4E3A\u60A8\u6253\u9020\u8212\u9002\u89C2\u5F71\u73AF\u5883"}},{uuid:"c05c2d60-23d9-4abc-d7e2-b7623bd80956",type:"Prompter",start:25500,end:28e3,parsed:!1,data:{text:"\u5168\u5C4B\u7A7A\u95F4\u5300\u6E29\uFF0C\u7F14\u9020\u8212\u9002\u4F53\u611F\u4EAB\u53D7"}},{uuid:"50144979-4e3c-4b78-6a71-9515ecd280a1",type:"Prompter",start:33600,end:37e3,parsed:!1,data:{text:"\u7279\u9009\u5BB6\u7535\u5339\u914D\u73B0\u4EE3\u7B80\u7EA6\u98CE\u683C\uFF0C\u5BB6\u5C45\u5BB6\u7535\u5916\u89C2\u9020\u578B\u9AD8\u5EA6\u878D\u5408"}},{uuid:"b1c378c1-50c1-44a1-aa7b-bc2001def7b3",type:"Prompter",start:41600,end:45600,parsed:!1,data:{text:"\u6E29\u6696\u5165\u7720\u96F6\u7B49\u5F85\u3002\u6574\u5C4B\u6DF1\u6D77\u7EA7\u9759\u97F3\uFF0C\u8212\u4EAB\u4E00\u591C\u597D\u7720"}},{uuid:"df7925cd-330e-4cf4-e035-87b0324e4d63",type:"Prompter",start:46200,end:49e3,parsed:!1,data:{text:"\u8D77\u5E8A\u573A\u666F\uFF0C\u81EA\u52A8\u6253\u5F00\u7A97\u5E18\u5F00\u542F\u6E05\u65B0\u97F3\u4E50"}},{uuid:"0cdda1c1-81f2-4694-ee42-a6bfc6df5b8f",type:"Prompter",start:49600,end:51600,parsed:!1,data:{text:"\u7A7A\u8C03\u8C03\u81F3\u8212\u9002\u7684\u6E29\u5EA6\uFF0C\u8D77\u5E8A\u96F6\u62D6\u5EF6"}},{uuid:"9daadd10-eb97-4a22-a0d1-d977ead082bd",type:"Prompter",start:56200,end:61e3,parsed:!1,data:{text:"\u4E00\u4F53\u5316\u7F8E\u5B66\u8170\u7EBF\u5904\u7406\u53CA\u7CBE\u5DE7\u5168\u7A7A\u95F4\u5BB6\u7535\u5D4C\u5165\uFF0C\u4FDD\u8BC1\u4E86\u6574\u5C4B\u88C5\u4FEE\u98CE\u683C\u7684\u7EDF\u4E00"}},{uuid:"d03322d9-f6e1-422d-673d-fe1fc888278e",type:"Prompter",start:61700,end:64e3,parsed:!1,data:{text:"\u7F8E\u7684\u8D85\u8584\u51B0\u7BB1\u3001\u91C7\u7528\u94C2\u91D1\u51C0\u5473\u4FDD\u9C9C\u6280\u672F"}},{uuid:"f81853fd-dae9-463f-41b0-35c1de6ee702",type:"Prompter",start:64777,end:69e3,parsed:!1,data:{text:"\u6297\u83CC\u7387\u8FBE99.9%\uFF0C\u6709\u6548\u5438\u9644\u5206\u89E3\u5F02\u5473\u5206\u5B50\uFF0C\u4FDD\u6301\u98DF\u6750\u65B0\u9C9C"}},{uuid:"48a1b5ed-f647-4d31-ff40-1a0f81c274b0",type:"Prompter",start:69700,end:73e3,parsed:!1,data:{text:"\u7F8E\u7684\u65B0\u9759\u5438\u62BD\u6CB9\u70DF\u673A\uFF0C\u98CE\u91CF\u6863\u4F4D\u968F\u70DF\u91CF\u81EA\u52A8\u8C03\u8282"}},{uuid:"7b43e6ee-9791-48b1-26f9-8caf33687a8c",type:"Prompter",start:73600,end:76e3,parsed:!1,data:{text:"\u9694\u7A7A\u6325\u624B\u5373\u53EF\u63A7\u5236\uFF0C\u65E0\u89E6\u63A7\u4E0D\u810F\u624B"}},{uuid:"6672b87c-797f-4b14-104d-7c0d3a9e1879",type:"Prompter",start:28700,end:33e3,parsed:!1,data:{text:"\u7535\u5F71\u770B\u56F0\u4E86\uFF0C\u8D70\u8FDB\u667A\u6167\u5367\u5BA4\uFF0C\u79C1\u4EAB\u606C\u9759\u7761\u610F"}},{uuid:"78f73012-2e53-4269-813e-e046d43180d9",type:"Prompter",start:52300,end:55600,parsed:!1,data:{text:"\u8D77\u5E8A\u540E\u6765\u5230\u7F8E\u7684\u667A\u6167\u53A8\u623F\uFF0C\u8F7B\u677E\u70F9\u996A\u5065\u5EB7\u65E9\u9910"}},{uuid:"a40dba5c-b4b4-410e-c89a-3733ded1decd",type:"CameraMovement",start:0,end:1783,parsed:!1,data:{effect:"Move",panoIndex:9,fov:110,mode:"Panorama",latitude:.003545632869,longitude:1.596554310922}},{uuid:"022d2eef-a2cd-4f48-acc5-243f9636c87e",type:"CameraMovement",start:2e3,end:7e3,parsed:!1,data:{effect:"Rotate",panoIndex:9,fov:110,mode:"Panorama",latitude:-.005783443945,longitude:.001986790616,rotateSpeed:.3,rotation:"Anticlockwise"}},{uuid:"98840a8c-95d8-4b33-8ff8-b972ccdb2fa5",type:"CameraMovement",start:14e3,end:16e3,parsed:!1,data:{effect:"Move",panoIndex:4,fov:110,mode:"Panorama",latitude:.01279953686,longitude:1.481968212275}},{uuid:"d878d2e6-9033-43b3-2160-80ee65a9eaa4",type:"CameraMovement",start:7400,end:13e3,parsed:!1,data:{effect:"Rotate",panoIndex:9,fov:110,mode:"Panorama",latitude:.003545632869,longitude:1.596554310922,rotateSpeed:.3,rotation:"Clockwise"}},{uuid:"76dd30ba-bd32-4387-67d8-8f62dfb5a7c7",type:"CameraMovement",start:17e3,end:22e3,parsed:!1,data:{effect:"Rotate",panoIndex:4,fov:90,mode:"Panorama",latitude:-.001081319126,longitude:2.883934666873,rotateSpeed:.5,rotation:"Clockwise"}},{uuid:"7db5e6d9-dba4-4742-fcff-38548300d222",type:"CameraMovement",start:32e3,end:34e3,parsed:!1,data:{effect:"Move",panoIndex:20,fov:90,mode:"Panorama",latitude:-.0028996846174637837,longitude:4.1821793934248355}},{uuid:"eeb70285-768c-4c6c-55f0-2de9fbe9a0a0",type:"CameraMovement",start:29e3,end:31e3,parsed:!1,data:{effect:"Move",panoIndex:19,fov:110,mode:"Panorama",latitude:-.0010813191259999994,longitude:4.7734504595473375}},{uuid:"a035ce2a-c732-4e06-2b6b-bc7f9fb88797",type:"CameraMovement",start:35e3,end:37e3,parsed:!1,data:{effect:"Move",panoIndex:14,fov:120,mode:"Panorama",latitude:.132597652022,longitude:4.870161936629}},{uuid:"17544c49-b40c-4a18-6068-d4e2e74d019f",type:"CameraMovement",start:52e3,end:53e3,parsed:!1,data:{effect:"Move",panoIndex:19,fov:110,mode:"Panorama",latitude:.0009172796201269253,longitude:6.215670431783156}},{uuid:"5f337390-322a-4656-0460-afe45982f989",type:"CameraMovement",start:54e3,end:55e3,parsed:!1,data:{effect:"Move",panoIndex:16,fov:110,mode:"Panorama",latitude:.0009172796201269253,longitude:6.215670431783156}},{uuid:"08db63c4-8288-41f1-dfbc-4a087eb0e486",type:"CameraMovement",start:56e3,end:57e3,parsed:!1,data:{effect:"Move",panoIndex:5,fov:110,mode:"Panorama",latitude:.011827472568909628,longitude:6.272039762018533}},{uuid:"76bfd9cf-aa4e-4179-fa7c-1be191683228",type:"CameraMovement",start:58800,end:61e3,parsed:!1,data:{effect:"Move",panoIndex:7,fov:80,mode:"Panorama",latitude:.013645838060373412,longitude:6.277908413120661}},{uuid:"eb7b3d3e-5f13-423d-8270-c4bfa4201d0b",type:"PanoTextLabel",start:71200,end:73200,parsed:!1,data:{text:"\u6863\u4F4D\u968F\u70DF\u91CF\u81EA\u52A8\u8C03\u8282",vertex:{x:-2.1652547611365116,y:1.612348936240625,z:-8.787925732476422},fontSize:14}},{uuid:"ec1b66fe-0b48-430a-c6d1-b5970885cd34",type:"UpdateVRPanorama",start:37469,end:46195,parsed:!1,data:{panoIndex:14,images:{up:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap9___36a831948bf8a1705122a8b75aecacc4.jpg",down:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap10___56dd2628134f33cd5102d0e882e2431d.jpg",right:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap7___4f08084162a33243bd069cc04b4717eb.jpg",left:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap8___a0d19f17435aa1f31658346acf202b2e.jpg",front:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap11___429e0df4244b7190e36fcc6e9fbf8414.jpg",back:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap12___05a12cbae902743fcaa505902acf7094.jpg"}}},{uuid:"1a92470f-8eb5-40aa-ddd7-c33bd0bd841a",type:"PanoTextLabel",start:22800,end:24800,parsed:!1,data:{text:"\u706F\u5149\u5DF2\u8C03\u8282",vertex:{x:-4.230046948477636,y:1.5154534444653844,z:-3.5916669368743896},fontSize:14}},{uuid:"b1ca0927-75c0-41fb-d7a7-77aaea13d435",type:"PanoTextLabel",start:25500,end:27500,parsed:!1,data:{text:"\u7A7A\u8C03\u6E29\u5EA6\u5DF2\u8C03\u8282",vertex:{x:-4.230046948477636,y:1.5154534444653844,z:-3.5916669368743896},fontSize:14}},{uuid:"ebf79b47-e7c9-48c8-923d-f1483fce8d67",type:"UpdateVRPanorama",start:46196,end:52e3,parsed:!1,data:{panoIndex:20,images:{up:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap15___6ab62d0f9e672597cbe58647d85d120a.jpg",down:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap16___5fc5a8d2ff8cb3111d63f25cfb9b27ff.jpg",right:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap13___3907c2c4417563b3b8c130fe9bcf4973.jpg",left:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap14___059ed372d61a26c51cdd6348f07baae8.jpg",front:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap17___61e6afb979b83d7888fa673af26625c2.jpg",back:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap18___143ce681e3e1c0b52f4d7ada97887bc6.jpg"}}},{uuid:"5ae5b05d-5172-4c72-2fe3-26c822e119d8",type:"UpdateVRPanorama",start:22331,end:28900,parsed:!1,data:{panoIndex:4,images:{up:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap3___4b407c2f34857065428a15394704578d.jpg",down:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap4___86e5d953a476094225c98e93d152fe7a.jpg",right:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap1___5d3c3f22e4988f354ba83edbcbe11f6b.jpg",left:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap2___8acdd1a2fc0460d3e67516ac32af311a.jpg",front:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap5___aa3a713cfe6d156815ce143c357b07b9.jpg",back:"http://vrlab-public.ljcdn.com/release/seesay/tools/CubeMap6___998755605fdc1afc940e91fa4cabc36b.jpg"}}},{uuid:"2f99ad34-0d5e-4ed9-f286-195ce90e6b7f",type:"CameraMovement",start:46200,end:47500,parsed:!1,data:{effect:"Move",panoIndex:20,fov:120,mode:"Panorama",latitude:.003753258008,longitude:4.033658317237}},{uuid:"f2904b1e-8590-4c1f-e676-e1f33133a9e3",type:"ModelVideo",start:22334.342321,end:28701,parsed:!1,data:{videoSrc:"http://vrlab-public.ljcdn.com/release/seesay/tools/202111221236___22e90ccb4cd839e38406dbbfdda92579.mp4",videoPosterSrc:"http://vrlab-public.ljcdn.com/release/seesay/tools/202111224.38.24___279089c2c3bf1bc42242f88c9e208813.png",vertexs:[{x:-4.000341101858312,y:1.4611518808707942,z:-3.6759935617232737},{x:-4.000492478074704,y:.736729814259069,z:-3.677603254910159},{x:-5.276990668782288,y:.7373509227063392,z:-3.6805491317687413},{x:-5.269476230459038,y:1.458844022600584,z:-3.6841883988044657}]}},{uuid:"75fe9b26-1c5e-4cd4-7893-196f3b457b48",type:"CameraMovement",start:71500,end:72500,parsed:!1,data:{effect:"Move",panoIndex:24,fov:85,mode:"Panorama",latitude:0,longitude:0}},{uuid:"22b0b5a3-58fb-4e1e-8eb8-5cd960a4777f",type:"CameraMovement",start:69600,end:70600,parsed:!1,data:{effect:"Move",panoIndex:24,fov:110,mode:"Panorama",latitude:-.0018581203405278045,longitude:.003942653601488821}},{uuid:"a75de2c9-7b1b-43d5-5fe4-132525ef8d35",type:"VideoEffect",start:73e3,end:76e3,parsed:!1,data:{videoSrc:"http://vrlab-public.ljcdn.com/release/seesay/tools/6afb013618c9ced1c1d4e0d193cad1ac___8079c0fbf8986560d02b145dcc8e8797.mov",panoIndex:24,direction:{x:0,y:0,z:-1},fov:85}},{uuid:"ff0ec7f3-06da-43ca-d0f1-f47c8d5a5745",type:"VideoEffect",start:62e3,end:67e3,parsed:!1,data:{videoSrc:"http://vrlab-public.ljcdn.com/release/seesay/tools/fridge6snew___7feaf5b4b3ff7622ee5c398e66d0b3dc.mp4",panoIndex:7,direction:{x:0,y:0,z:-1},fov:80}},{uuid:"95a47712-705b-4ecb-2665-8a5a0160e022",type:"Prompter",start:37800,end:41e3,parsed:!1,data:{text:"\u89E6\u53D1\u7761\u7720\u573A\u666F\uFF0C\u81EA\u52A8\u8C03\u51FA\u52A9\u7720\u706F\u5149\uFF0C\u5E76\u6253\u5F00\u7A7A\u8C03"}},{uuid:"637e0312-552b-498b-c5a4-6b902cc872fc",type:"Prompter",start:76700,end:80525,parsed:!1,data:{text:"\u5E0C\u671B\u60A8\u559C\u6B22\u8FD9\u5957\u7F8E\u7684\u667A\u6167\u5BB6\u5EAD\u89E3\u51B3\u65B9\u6848\uFF0C\u518D\u89C1"}}]};function E(){const e=d.exports.useRef(),f=p(),[t,s]=d.exports.useState("notReady");return d.exports.useEffect(()=>{if(e.current)return;const a=new n(f);e.current=a,s("ready"),a.on("paused",()=>s("paused")),a.on("playing",()=>s("playing")),Object.assign(window,{$player:a})},[]),u("div",{className:"btns",children:u("button",{onClick:async()=>{var a,r,c,o;t==="ready"&&((a=e.current)==null||a.show(),await((r=e.current)==null?void 0:r.load(y))),t!=="playing"?(c=e.current)==null||c.play():(o=e.current)==null||o.pause()},disabled:t==="notReady",children:t!=="playing"?"\u64AD\u653E":"\u6682\u505C"})})}const v={imageOptions:{size:1024},textureOptions:{size:64},onlyRenderIfNeeds:!0,antialias:!1,model:{},plugins:[]},B=l(v);b.render(u(d.exports.StrictMode,{children:i(B,{initialWork:F(m),ref:e=>Object.assign(window,{$five:e==null?void 0:e.five}),children:[u(C,{}),u(E,{})]})}),document.getElementById("root"));
@@ -1,4 +1,4 @@
1
- import{r as f,a as u,j as c,C as E,V as A,R as S,t as z,b as l,d as B,c as q,p as M}from"./default.39d4c79b.js";import{R}from"./index.6bdd876b.js";import{V as N,A as Q}from"./AppReact.d611d90c.js";const P={_signature:"FHtoUKA5slbYyf1sQkPtEhQEkWqu4eYAr/DQVCXi8WCP6U6MZ1LNaHFogorFDzsV7EXsFweVOzf7CL5AY/ckfyaBXdFzPWEpdG6/ycsZcdO8tOVHb+vtn90BZHtNRkoxxv/J2yjqZOdy0cb9Zyj0Ux54JeBNVennWFhf69cd6+w=",allow_hosts:["*"],base_url:"https://vrlab-public.ljcdn.com/release/auto3dhd/c6756c0c2ee42b76c8a958ef5ee7abc4/",certificate:`-----BEGIN CERTIFICATE-----
1
+ import{r as f,a as u,j as c,C as E,V as A,R as S,t as z,b as l,d as B,c as q,p as M}from"./default.d3519aaf.js";import{R}from"./index.46a22509.js";import{V as N,A as Q}from"./AppReact.e28c26ea.js";const P={_signature:"FHtoUKA5slbYyf1sQkPtEhQEkWqu4eYAr/DQVCXi8WCP6U6MZ1LNaHFogorFDzsV7EXsFweVOzf7CL5AY/ckfyaBXdFzPWEpdG6/ycsZcdO8tOVHb+vtn90BZHtNRkoxxv/J2yjqZOdy0cb9Zyj0Ux54JeBNVennWFhf69cd6+w=",allow_hosts:["*"],base_url:"https://vrlab-public.ljcdn.com/release/auto3dhd/c6756c0c2ee42b76c8a958ef5ee7abc4/",certificate:`-----BEGIN CERTIFICATE-----
2
2
  MIIEMzCCAhsCCQDYAS/7ATZRmTANBgkqhkiG9w0BAQsFADCBkzELMAkGA1UEBhMC
3
3
  Q04xEDAOBgNVBAgMB0JlaWppbmcxEDAOBgNVBAcMB0JlaWppbmcxFDASBgNVBAoM
4
4
  C2xpYW5qaWEuY29tMRAwDgYDVQQLDAdSZWFsc2VlMREwDwYDVQQDDAhIYXJkd2Fy
@@ -5,9 +5,9 @@
5
5
  <link href="//realsee.com/favicon.ico" type="image/x-icon" rel="icon" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>@realsee/vreo - Player -- DEBUG --</title>
8
- <script type="module" crossorigin src="./assets/examples.37a1b117.js"></script>
9
- <link rel="modulepreload" href="./assets/default.39d4c79b.js">
10
- <link rel="stylesheet" href="./assets/default.fc662b9f.css">
8
+ <script type="module" crossorigin src="./assets/examples.abe8af2e.js"></script>
9
+ <link rel="modulepreload" href="./assets/default.d3519aaf.js">
10
+ <link rel="stylesheet" href="./assets/default.17872c62.css">
11
11
  <link rel="stylesheet" href="./assets/examples.dac4a6fe.css">
12
12
  </head>
13
13
  <body>
@@ -5,12 +5,12 @@
5
5
  <link href="//realsee.com/favicon.ico" type="image/x-icon" rel="icon" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>@realsee/vreo - Player -- DEBUG --</title>
8
- <script type="module" crossorigin src="./assets/dynamic.2499f21d.js"></script>
9
- <link rel="modulepreload" href="./assets/default.39d4c79b.js">
8
+ <script type="module" crossorigin src="./assets/dynamic.8128cfc1.js"></script>
9
+ <link rel="modulepreload" href="./assets/default.d3519aaf.js">
10
10
  <link rel="modulepreload" href="./assets/znRoyv06SZQeqA7m.0057e8ae.js">
11
- <link rel="modulepreload" href="./assets/index.6bdd876b.js">
12
- <link rel="modulepreload" href="./assets/AppReact.d611d90c.js">
13
- <link rel="stylesheet" href="./assets/default.fc662b9f.css">
11
+ <link rel="modulepreload" href="./assets/index.46a22509.js">
12
+ <link rel="modulepreload" href="./assets/AppReact.e28c26ea.js">
13
+ <link rel="stylesheet" href="./assets/default.17872c62.css">
14
14
  <link rel="stylesheet" href="./assets/index.9331038f.css">
15
15
  </head>
16
16
  <body>
@@ -5,11 +5,11 @@
5
5
  <link href="//realsee.com/favicon.ico" type="image/x-icon" rel="icon" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>@realsee/vreo - Player -- DEBUG --</title>
8
- <script type="module" crossorigin src="./assets/react.627e3da3.js"></script>
9
- <link rel="modulepreload" href="./assets/default.39d4c79b.js">
10
- <link rel="modulepreload" href="./assets/index.6bdd876b.js">
11
- <link rel="modulepreload" href="./assets/AppReact.d611d90c.js">
12
- <link rel="stylesheet" href="./assets/default.fc662b9f.css">
8
+ <script type="module" crossorigin src="./assets/react.3cefbcef.js"></script>
9
+ <link rel="modulepreload" href="./assets/default.d3519aaf.js">
10
+ <link rel="modulepreload" href="./assets/index.46a22509.js">
11
+ <link rel="modulepreload" href="./assets/AppReact.e28c26ea.js">
12
+ <link rel="stylesheet" href="./assets/default.17872c62.css">
13
13
  <link rel="stylesheet" href="./assets/index.9331038f.css">
14
14
  <link rel="stylesheet" href="./assets/react.2ee8565f.css">
15
15
  </head>
@@ -5,11 +5,11 @@
5
5
  <link href="//realsee.com/favicon.ico" type="image/x-icon" rel="icon" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>@realsee/vreo - Player -- DEBUG --</title>
8
- <script type="module" crossorigin src="./assets/main.3d99cb14.js"></script>
9
- <link rel="modulepreload" href="./assets/default.39d4c79b.js">
8
+ <script type="module" crossorigin src="./assets/main.12cb9ce9.js"></script>
9
+ <link rel="modulepreload" href="./assets/default.d3519aaf.js">
10
10
  <link rel="modulepreload" href="./assets/znRoyv06SZQeqA7m.0057e8ae.js">
11
- <link rel="modulepreload" href="./assets/index.6bdd876b.js">
12
- <link rel="stylesheet" href="./assets/default.fc662b9f.css">
11
+ <link rel="modulepreload" href="./assets/index.46a22509.js">
12
+ <link rel="stylesheet" href="./assets/default.17872c62.css">
13
13
  <link rel="stylesheet" href="./assets/index.9331038f.css">
14
14
  </head>
15
15
  <body>
@@ -77,14 +77,14 @@ function Wave(props) {
77
77
  content = /*#__PURE__*/_react["default"].createElement(KeyframeWaveContent, {
78
78
  wave: wave
79
79
  });
80
- } else if (canPlayVp9) {
80
+ } else if (canPlayHevc) {
81
81
  content = /*#__PURE__*/_react["default"].createElement(VideoWaveContent, {
82
- format: "vp9",
82
+ format: "hevc",
83
83
  wave: wave
84
84
  });
85
- } else if (canPlayHevc) {
85
+ } else if (canPlayVp9) {
86
86
  content = /*#__PURE__*/_react["default"].createElement(VideoWaveContent, {
87
- format: "hevc",
87
+ format: "vp9",
88
88
  wave: wave
89
89
  });
90
90
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/vreo",
3
- "version": "1.0.0-alpha.12",
3
+ "version": "1.0.0-alpha.14",
4
4
  "description": "Vreo (VR Video 缩写) 是基于如视三维渲染引擎 Five 和 用户界面构建库 React 实现的如视 3D 空间剧本播放器。",
5
5
  "keywords": [
6
6
  "realsee",
@@ -36,7 +36,6 @@
36
36
  "@babel/preset-env": "^7.16.4",
37
37
  "@babel/preset-react": "^7.16.0",
38
38
  "@babel/preset-typescript": "^7.16.0",
39
- "@realsee/dnalogel": "^2.1.0-alpha.18",
40
39
  "@realsee/five": "5.0.0-alpha.149",
41
40
  "@types/offscreencanvas": "^2019.6.4",
42
41
  "@types/react": "^17.0.37",
@@ -52,6 +51,7 @@
52
51
  "vite": "^2.6.14"
53
52
  },
54
53
  "dependencies": {
54
+ "@realsee/dnalogel": "^2.1.0-alpha.29",
55
55
  "@tweenjs/tween.js": "18.6.4",
56
56
  "classnames": "^2.3.1",
57
57
  "mobx": "^6.3.7",
@@ -54,7 +54,6 @@ const isMicroMessenger = /microMessenger/i.test(userAgent);
54
54
  const canPlayHevc = isAppleDevice || isSafari;
55
55
  const canPlayVp9 = typeof MediaSource !== 'undefined' && MediaSource.isTypeSupported("video/webm; codecs=vp9");
56
56
 
57
-
58
57
  export function Wave(props?: { appearance?: WaveAppearance }) {
59
58
 
60
59
  const wave = React.useMemo(() => {
@@ -69,10 +68,10 @@ export function Wave(props?: { appearance?: WaveAppearance }) {
69
68
  let content: ReactNode = null;
70
69
  if (isMicroMessenger) {
71
70
  content = <KeyframeWaveContent wave={wave} />
72
- } else if (canPlayVp9) {
73
- content = <VideoWaveContent format="vp9" wave={wave} />
74
71
  } else if (canPlayHevc) {
75
72
  content = <VideoWaveContent format="hevc" wave={wave} />
73
+ } else if (canPlayVp9) {
74
+ content = <VideoWaveContent format="vp9" wave={wave} />
76
75
  } else {
77
76
  content = <KeyframeWaveContent wave={wave} />
78
77
  }
@@ -312,7 +312,7 @@
312
312
 
313
313
  .vreo-prompter-text {
314
314
  position: absolute;
315
- height: 0;
315
+ height: 0px;
316
316
  display: flex;
317
317
  align-items: center;
318
318
  justify-content: center;
@@ -335,7 +335,6 @@
335
335
  }
336
336
 
337
337
  .vreo-prompter-innerText {
338
- position: absolute;
339
338
  font-weight: bold;
340
339
  font-size: 14px;
341
340
  word-break: break-all;