Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
September 5, 20222 yr Hey. So I have under advanced settings for No Download Options. For videos users are not able to download but for audio the download button is still there. I assume the No Download Option applies for Audio as well. Any idea?
September 5, 20222 yr Author Is it a remotely linked audio file, or is it an attached audio file? What browser?
September 7, 20222 yr Author @TBL_Alex - can you advise on the above questions, please? I'll be putting some time aside over the next few days to do some testing on this app ahead of a v2.2.0 release. Edited September 7, 20222 yr by Nathan Explosion
September 22, 20222 yr @Nathan Explosion Sorry I've been busy. It's a attached audio file and it's on a chrome browser.
September 22, 20222 yr Author Thanks, I suspected it would be a local attached file. The application currently has no effect on attached files - IPS is responsible for the player displayed (it's created at the time of upload - introduced in IPS 4.6) and I don't influence that player at all. However, as I did when IPS added native video for uploaded videos, I am going to be adding in a modification to allow settings to be applied to attached audio files too. That will be added when v2.2.0 is released (no ETA)
October 8, 20222 yr Why does the audio file appear as a video file? How to fix it? Thank you. https://primspinning.com/index.php?/topic/354-krasnoperka-s-berega/&do=findComment&comment=9220
October 8, 20222 yr Author What are your settings? I already know the answer but you providing your settings will allow me to explain it clearly for you. Edited October 8, 20222 yr by Nathan Explosion
October 8, 20222 yr Author Thank you. Because it is an attachment, my application isn't responsible for the video player - that is native functionality for uploaded video files, added by Invision several major versions ago. Why is it a video player instead of an audio player? Because Invision have .ogg files listed in their $videoExtensions variable in /system/File/File.php: /** * @brief File extensions for HTML5 compatible videos */ public static $videoExtensions = array( 'mp4', '3gp', 'mov', 'ogg', 'ogv', 'mpg', 'mpeg', 'flv', 'webm', 'wmv', 'avi', 'm4v' ); ...and they also have it listed in their $audioExtensions variable too: /** * @brief File extensions for HTML5 compatible audio */ public static $audioExtensions = array( 'mp3', 'ogg', 'wav', 'm4a' ); When a file is uploaded, Invision is checking it's type and then deciding what to do with it...and because it first finds ogg in the videoExtensions list, you get a video player. How to fix it? Go here or here and post about it - it would help to link to this post so that whoever reads it doesn't simply say "OH, disable this or delete that or contact the dev" For information - my application is only having an effect on the native player by turning the embedded video player (added by Invision) into a linked attachment because both the "Enforce settings to native IPS video" and "Enforce 'Download attachments' permission" settings are enabled (reason for using those is in the linked description of the second setting) Edited October 8, 20222 yr by Nathan Explosion
March 10, 20231 yr Author v2.2.0 is currently pending approval. NEW Added "Apply settings to native IPS audio" & "Enforce 'Download attachments' permission" settings on the 'Audio' tab. These settings mirror some of the functionality provided by the equivalent settings on the 'Video' tab. If a user doesn't have permission to download attachments then the IPS-embedded audio player will be converted to a normal attachment link. 'Preload' settings will be applied to IPS-embedded audio players. 'Disable right-click' functionality is now effective on attached audio files. CHANGES Minor language updates FIXES Fixed an issue when adding a Pages WYSIWYG block via the block manager would result in an 'Error', stopping you from configuring the block at that time. Fixed an issue where a Pages WYSIWYG block was no longer processed by the application if the block wasn't on a Pages page.
August 24, 20231 yr Hello, The mp4 video link I need to embed into a post can not be played in the post, but it can be played in the browser by pasting the link. Edited August 24, 20231 yr by sychn
August 24, 20231 yr Author Dude - it's the same detail you've provided in PM; you've not elaborated at all as requested. Check your PM please.