We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use jquery getScript() to load the API at run time when needed, the script is loaded and the adobe_dc_view_sdk.ready event is fired.
adobe_dc_view_sdk.ready
An unhandled javascript exception occurs: TypeError: Cannot read properties of undefined (reading 'src') at loadSDKScript
TypeError: Cannot read properties of undefined (reading 'src') at loadSDKScript
https://jsfiddle.net/redtopia/o3m689sg/6/ (view the console to see the exception)
The following fiddle fixes the issue by loading the script with vanilla javascript
https://jsfiddle.net/redtopia/Lyqdj2zm/6/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behaviour
Use jquery getScript() to load the API at run time when needed, the script is loaded and the
adobe_dc_view_sdk.ready
event is fired.Actual Behaviour
An unhandled javascript exception occurs:
TypeError: Cannot read properties of undefined (reading 'src') at loadSDKScript
Sample Code that illustrates the problem
https://jsfiddle.net/redtopia/o3m689sg/6/ (view the console to see the exception)
The following fiddle fixes the issue by loading the script with vanilla javascript
https://jsfiddle.net/redtopia/Lyqdj2zm/6/
The text was updated successfully, but these errors were encountered: