AEM Version Used
Solved! Go to Solution.
Hi @Bimmi_Soi ,
Thanks for the reply, I was checking the same in dev environment and I see that the viewers used in /apps/dam/components/scene7/dynamicmedia/clientlibs/dynamicmedia/js/init.js is picking http as the domain name instead of https when in WCMMode disabled which is resulting in mixed content error and as viewers are not loaded , video isn't loaded in disabled mode
Whereas it picks the https in publish URL. This component doesn't seem to have Java file as well
Any light on how it is picking up the domains for the viewers
Reagards,
Vidya AV
Ideally it should work in all the mode.
Can you please check what is the url getting created on wcmmode=disabled and compare it with other modes , also please check the network tab.
And check the media in Dynamic media console also there your-media and your-media-AVS both files should be published. If not please try publishing those.
Thanks!
Hi @Bimmi,
I see that the code is different in preview and editor mode is different
In Normal URL
<div id="dynamicmedia_58304372" data-current-page="/content/cio-sites/us/en/home" data-page-locale="en" data-asset-path="accenturestage/test_dynamic_media-AVS" data-asset-name="test_dynamic_media.mp4" data-asset-type="videoavs" data-viewer-type="VideoViewer" data-viewer-path="/etc/dam/viewers/s7viewers/" data-imageserver="/is/image/" data-videoserver="/is/content/" data-contenturl="/is/content" data-dms7 class="s7dm-dynamic-media">
With WCMModeDisabled
<div id="dynamicmedia_58304372" data-current-page="/content/cio-sites/us/en/home" data-page-locale="en" data-asset-path="accenturestage/test_dynamic_media-AVS" data-asset-name="test_dynamic_media.mp4" data-asset-type="videoavs" data-viewer-type="VideoViewer" data-viewer-path="http://s7d1.scene7.com/s7viewers/" data-imageserver="http://s7d1.scene7.com/is/image/" data-videoserver="http://s7d1.scene7.com/is/content/" data-contenturl="http://s7d1.scene7.com/is/content/" data-wcmdisabled data-dms7 class="s7dm-dynamic-media">
Div formed is this
Video plays in normal URL but not in WCMMode Disabled
Regards,
Vidya AV
Views
Replies
Total Likes
In Editor mode URL formed is this:
http://localhost:4502/is/content/<<config_name>>/test_dynamic_media-0x720-3000k
Where as IN WCMMode Disabled URL formed is
With the following error
/*jsonp*/s7jsonError({"message":"Missing Video File","title":"Missing Video File"},"222787778");
actually test_dynamic_media-AVS should be used. Can you check in your dynamic media console if test_dynamic_media-AVS file is published or not.
Views
Replies
Total Likes
Hi @Bimmi_Soi ,
Thanks for the reply, I was checking the same in dev environment and I see that the viewers used in /apps/dam/components/scene7/dynamicmedia/clientlibs/dynamicmedia/js/init.js is picking http as the domain name instead of https when in WCMMode disabled which is resulting in mixed content error and as viewers are not loaded , video isn't loaded in disabled mode
Whereas it picks the https in publish URL. This component doesn't seem to have Java file as well
Any light on how it is picking up the domains for the viewers
Reagards,
Vidya AV
How are you creating the url.
Go to /conf/global/settings/cloudconfigs/dmscene7/jcr:content and check the value of property publishServer on author and publisher.
Ideally the property should have the value something like https://s7d1.scene7.com , that is with https.
If the values are different on author and publisher try to reconfigure the cloudconfig on that environment.
Hope this helps.
Thanks
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies