You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On .wav file uploading it shows content type as 'audio/wav' in direct upload. After active_storage_attachments create, mimemagic gem updates the content type as audio/x-wav. And the same file previewing in chrome.
But after changing to marcel it saves the content type as 'audio/vnd.wave'. While debugging, active_storage / blob / identifiable updates the content types. And 'audio/vnd.wave' not previewed in chrome, but safari allows previewing.
So, tried to comment the lines to update on active_storage/blob/identifiable. It updates the content type as audio/x-wav and allows it to preview in Chrome.
I am using active storage(5.2.5)
On .wav file uploading it shows content type as 'audio/wav' in direct upload. After active_storage_attachments create, mimemagic gem updates the content type as audio/x-wav. And the same file previewing in chrome.
But after changing to marcel it saves the content type as 'audio/vnd.wave'. While debugging, active_storage / blob / identifiable updates the content types. And 'audio/vnd.wave' not previewed in chrome, but safari allows previewing.
So, tried to comment the lines to update on active_storage/blob/identifiable. It updates the content type as audio/x-wav and allows it to preview in Chrome.
Tried to add configuration in application.rb
But unable to preview the audio/vnd.wave extension files in chrome.
Do I need to update any configurations to preview the .wav extension file in Chrome?
Hope understand my issue. Please help me to identify the issue.
The text was updated successfully, but these errors were encountered: