• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CC Animate How To Publish VR Panorama To Website

New Here ,
Jan 20, 2019 Jan 20, 2019

Copy link to clipboard

Copied

I have made my first VR Panorama from an AI file 5669 X 566px size.

I would like to publish this to my website but the sizing is difficult to contain. The <canvas> tag is generated through JavaScript and resizes when the browser window is adjusted. I try to wrap this tag with my own <div> starting immediately and ending inside the <body> but it is attached or prepended outside this added element.

I also attempted to adjust the CSS through the Chrome inspection tools but it is not working.

How can I contain and publish the exported <canvas> inside a container of my size choice for my website?

publish-adobe-cc-vr-panorama.png

screenshot-abobe-animate-attempted-resize.png

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 22, 2019 Jan 22, 2019

Copy link to clipboard

Copied

See if this tutorial will help. Create VR Panoramic and 360 content |

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 22, 2019 Jan 22, 2019

Copy link to clipboard

Copied

Thanks Nick, but this does not help. I also saw these:


WebGL-glTF export (standard and extended) |

Learn how to useauthor and publish Virtual Reality content in Animate

They don't help either.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 19, 2022 Oct 19, 2022

Copy link to clipboard

Copied

Did we get any answers for this? In general I can't even get the VR projects to play just from the published html folder. The only way I get a VR project to play is via the TEST feature within Adobe Animate. Any tips would help...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 19, 2022 Oct 19, 2022

Copy link to clipboard

Copied

you generally can't test local canvas files because of browser cross-domain complaints.

 

to confirm that's the issue, open your browser's developer tools > console

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 22, 2022 Oct 22, 2022

Copy link to clipboard

Copied

LATEST
It has been years since I posted the original question and no I didn't get it working exactly as I wanted with the sizing.

Answering the second part of your comment/question. If you want to view the generated html VR file you will need some type of local virtual server. I have retested this on my old VR project and it still works for me.

This is the easiest way (that I found):

1) Put the generated folder on your desktop

2) Download Visual Studio Code https://code.visualstudio.com/download (I think this is the best product Microsoft have ever made)

3) Install and open MS Code. In the left side bar click on extensions and search for 'Live Server' (by Ritwick Dey). Add the extension.

4) Now we need the generated VR folder to be an MS Code project so we can launch 'Live Server' to view the html file and dependencies. I'm on Mac so this trailing requirement may not be required for PC. Follow this thread:

5) Launch/open 'Terminal' (on Mac CMD + spacebar, search terminal, hit Enter)

6) Type cd ~/Desktop hit Enter. Should show something like
macbookpro@Your-Name Desktop % (you are on Desktop directory)

7) Type cd Project (or whatever the folder name is), hit Enter. Should show something like
macbookpro@Your-Name Project % (you are in your folder directory)

8) Type code . (this will open the project in MS code)

9) In MS Code open the root html file in the project. Click the 'Go Live' text in the bottom bar (see attached image)

10) You will see the created interactive project in your browser. hold down left mouse click and drag to change 360-degree position.
If you don't see it the next step might be helpful.

Optional for debugging
11) Open a new Chrome browser 'tab' right click select 'Inspect' > choose 'Console', copy the url from the other window. Something like http://127.0.0.1:5501/vr-panorama.html . I open the Inspection window first before loading the VR package as something seems to be blocking this feature

I hope this helps. Let us know if this works for you?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines