Skip to main content
Participant
April 26, 2017
Answered

CORS issue while using Adobe Connect Web Services via JavaScript

  • April 26, 2017
  • 1 reply
  • 1011 views

Summary of issue:

  • I am not able to use Adobe Connect Web Services to manage my hosted Adobe Connect account/content from a different website using JavaScript.

Type of computer I use:

  • Using Adobe Connect, hosted account
  • Windows 7 Professional
  • Browsers I tested with:
    • Internet Explorer 11.0.9600.18638
    • Firefox 52.0.2
    • Google Chrome 57.0.2987.133

Steps I've already taken to troubleshoot:

  • Attempted to perform simple "common-info" action using JavaScript, based on example on Adobe Connect's documentation
  • Scoured internet, Adobe documentation, forums, and YouTube on how to perform simple login web service example
  • Researched Cross-Origin Resource Sharing (CORS) which helped me build the XmlHttpRequest but I received "Access-Control-Allow-Origin" errors
  • Researched "Access-Control-Allow-Origin", but not sure how to add this header since I don't have access to Adobe server
  • Scoured the Adobe Connect admin interface for ways to add "Access-Control-Allow-Origin" header but did not find anything that helped
  • Tested my JavaScript on both HTTP and HTTPS, as well as tried from 2 different web domains
  • Most, if not all, errors result in the following errors in the console:

Can someone pretty-please provide any help, guidance, or advice?

    This topic has been closed for replies.
    Correct answer iheartflash

    So after much fumbling around I figured out a very solid solution to this problem which was to create HTML pages with embedded JavaScript and loading them onto the hosted Adobe Connect account "Content" folder, rather than trying to house the pages on another website.  For whatever reason I never thought to do it this way but it works!

    1 reply

    iheartflashAuthorCorrect answer
    Participant
    May 26, 2017

    So after much fumbling around I figured out a very solid solution to this problem which was to create HTML pages with embedded JavaScript and loading them onto the hosted Adobe Connect account "Content" folder, rather than trying to house the pages on another website.  For whatever reason I never thought to do it this way but it works!