SalesforceLabs / VideoViewer

This lightning web component allows users to play video files natively in Salesforce. No need to download a video file to view it. There is also no need to transfer the video file to a third party service.
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000GCk6xUAD
BSD 3-Clause "New" or "Revised" License
24 stars 18 forks source link

Player shows an error if enhanced domain is enabled #13

Open oleg-mastriukov opened 2 years ago

oleg-mastriukov commented 2 years ago

Finally I could understand why in my scratch org a video player shows an error. If I turn off enhanced domain in the org, the player appears and works good, but if I turn on enhanced domain back, the player shows the error again. It looks like the component doesn't form the proper link to download the video if enhanced domain is enabled.

Related link: https://help.salesforce.com/s/articleView?id=sf.domain_name_url_format_changes_enable_enhanced.htm&type=5

oleg-mastriukov commented 2 years ago

The issue is fixed here: https://github.com/SalesforceLabs/VideoViewer/pull/14 @shrej could you check and merge this fix?