Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Jean-Philippe Posted November 30, 2017 Posted November 30, 2017 Hi, The plugin work fine, but ... there is a strange bug : when the plugin is active, in all posts of our forums, links to gallery's images are broken when the plugin is desactivated, eveything is OK This bug has been detected by IPS support team which suggest to desactivate the plugin. If you can't reproduce this strange behavior, I can send you more details by PM Regards Jean-Philippe
Nathan Explosion Posted November 30, 2017 Author Posted November 30, 2017 I'll test the released version against a cloud demo later today....shouldn't be difficult to fix.
Jean-Philippe Posted December 1, 2017 Posted December 1, 2017 Bug fixed ! Thank you for the VERY quick and efficient support ! Nathan Explosion 1
Nathan Explosion Posted December 1, 2017 Author Posted December 1, 2017 I'll release v1.0.4 later today - it will include the 'preload' functionality that I mentioned earlier in the topic too. Metor 1
ProSkill Posted December 3, 2017 Posted December 3, 2017 Anyway to make this so that it only applies to certain forums?
Nathan Explosion Posted December 3, 2017 Author Posted December 3, 2017 I'll look into it...won't be too difficult at all.
Nathan Explosion Posted December 8, 2017 Author Posted December 8, 2017 I was planning on releasing v1.1 next (which would allow the functionality of the plugin to extend to Pages/Calendar/Announcements/Blogs) but there are a number of issues that I need to overcome before I can release it (namely, not having access to the likes of Blogs & Gallery to ensure that the functionality works/doesn't impact those applications) I still plan to get that one out there, but it's going to take a little longer than originally planned. I now plan to release a new version which will expand the functionality to Pages/Calendar/Announcements, with a follow-up version expanding the functionality to Blogs. In the meantime, I've backported other items that I planned to include in v 1.1 and am releasing v1.0.5 to get those new features out. So....... What's new in version 1.0.5 added ability to control the preloading of video/audio files added ability to control which forums in which the video/audio players are displayed added ability to allow the video player to be resized within the browser window (up to the size of the maximum width defined in settings) removed the maximum height video setting, as it is not used any more (video maintains aspect ratio on display/resize) Important: There have been some reports recently of other apps/plugins seeing settings disappear/resetting after some time or on app/plugin updates, so please review your plugin settings after updating.
pequeno Posted December 8, 2017 Posted December 8, 2017 1 hour ago, Nathan Explosion said: I was planning on releasing v1.1 next (which would allow the functionality of the plugin to extend to Pages/Calendar/Announcements/Blogs) but there are a number of issues that I need to overcome before I can release it (namely, not having access to the likes of Blogs & Gallery to ensure that the functionality works/doesn't impact those applications) I still plan to get that one out there, but it's going to take a little longer than originally planned. I now plan to release a new version which will expand the functionality to Pages/Calendar/Announcements, with a follow-up version expanding the functionality to Blogs. In the meantime, I've backported other items that I planned to include in v 1.1 and am releasing v1.0.5 to get those new features out. So....... What's new in version 1.0.5 added ability to control the preloading of video/audio files added ability to control which forums in which the video/audio players are displayed added ability to allow the video player to be resized within the browser window (up to the size of the maximum width defined in settings) removed the maximum height video setting, as it is not used any more (video maintains aspect ratio on display/resize) Important: There have been some reports recently of other apps/plugins seeing settings disappear/resetting after some time or on app/plugin updates, so please review your plugin settings after updating. Thank you @Nathan Explosion Good update, works fine for me. Let me make a request. Is it possible put a text or link after or before the video player? It is to put a link to the F.A.Q in my case. It could be a new feature or it's not much to ask, if you tell me how to edit the .php file to put it. Nathan Explosion 1
Nathan Explosion Posted December 8, 2017 Author Posted December 8, 2017 No PHP file editing required - you can edit the template for the video/audio display: Just add your link above the <video> or <audio> tag in the respective templates. pequeno 1
pequeno Posted December 8, 2017 Posted December 8, 2017 Oh! Sorry, I was trying to edit the file neavplayer_content.php Good solution. Thanks for your excellent support!
TheSkyLounge.tv Posted December 9, 2017 Posted December 9, 2017 @Nathan Explosion So you're telling me that I could upload my .mp4 to Dropbox...link it in our forum, and this will provide our visitor with a playable video!? SJ77 1
SJ77 Posted December 9, 2017 Posted December 9, 2017 would be super cool if this worked with downloads app. Heres what I am thinking. Someone uploads a video to downloads app and user who downloads video can just watch it right on the site without having to save to their computer. would be hand especially for people with apple phones who can never see the videos
Nathan Explosion Posted December 9, 2017 Author Posted December 9, 2017 (edited) 10 hours ago, TheSkyLounge.tv said: @Nathan Explosion So you're telling me that I could upload my .mp4 to Dropbox...link it in our forum, and this will provide our visitor with a playable video!? In theory, yes. But I've just tested it out and it appears that dropbox don't allow remote embedding....I'll test again later, but it looks like a 'no' right now. Update: I've determined how a dropbox url can be modified to allow hotlinking. There's no change needed to plugin to actually support this but below is what you would need to do now to have it work. Further update: I've just spent a couple of minutes putting in a little function to do the manipulation needed, so that will be in the next update I release (v1.0.6) Example url provided by Dropbox when creating a share link is: https://www.dropbox.com/s/aewhi52igjvxp18/video1.mp4?dl=0 Remove ?dl=0 from the url Change www to dl Submit post Without the url manipulation: With the url manipulation: 8 hours ago, superj707 said: would be super cool if this worked with downloads app. Heres what I am thinking. Someone uploads a video to downloads app and user who downloads video can just watch it right on the site without having to save to their computer. would be hand especially for people with apple phones who can never see the videos At some point in the future, maybe. I don't own, or plan to own, a license for Downloads so for the moment it's a 'no' Edited December 9, 2017 by Nathan Explosion Updated with steps to support Dropbox hosted files
ProSkill Posted December 10, 2017 Posted December 10, 2017 (edited) What does pre-load videos mean? I'd like to make it so that embedded videos from third-party sites show up and play, however, I don't want upload video attachments to auto-play because where there are 10 to 15 videos per page it slows the page and server down as it tries to play all of the the videos at once. Edit: I figured it out. Once again thank you, this plugin is great! Edited December 10, 2017 by ProSkill Nathan Explosion 1
Nathan Explosion Posted December 11, 2017 Author Posted December 11, 2017 (edited) On 10/12/2017 at 7:56 PM, ProSkill said: What does pre-load videos mean? I'd like to make it so that embedded videos from third-party sites show up and play, however, I don't want upload video attachments to auto-play because where there are 10 to 15 videos per page it slows the page and server down as it tries to play all of the the videos at once. Edit: I figured it out. Once again thank you, this plugin is great! For others reading this: preload ≠ autoplay. Preload functionality for the html5 video and audio tag basically tells the browser whether to automatically load the content ready for viewing/listening. There are three possible settings, and they are documented in the plugin settings. Autoplay will automatically begin playing the content after the page loads, and I will not be adding this functionality to the plugin purely for the reason stated above by ProSkill Edited December 28, 2017 by Nathan Explosion
Nathan Explosion Posted December 11, 2017 Author Posted December 11, 2017 What's new in version 1.0.6 added an advanced setting to allow administrators to modify a remote url in the event that the target site doesn't allow hotlinking via that url, but does via another url. Example: Dropbox shared links are in the format of https://www.dropbox.com/s/stuff/filename.mp4?dl=0, which cannot be hotlinked however, the url https://dl.dropbox.com/s/stuff/filename.mp4 can be hotlinked.
Metor Posted December 13, 2017 Posted December 13, 2017 (edited) if you browse a topic video as guest the media only shows as a link with no video though @Nathan Explosion using 4.2.3 using opera browser. Edited December 13, 2017 by Monstris
Nathan Explosion Posted December 13, 2017 Author Posted December 13, 2017 (edited) Provide a link to your post then, which makes it easier to see the 'issue'.... Reason I put 'issue' like that is simple: if the video is an attachment then there is no point showing the player. Why? Click the link to find out...Guests cannot view attachments in 4.2.x: If it's a remote link then that is different. Hence - provide a link to the post so I can see the 'issue' Edited December 13, 2017 by Nathan Explosion
Metor Posted December 13, 2017 Posted December 13, 2017 (edited) 25 minutes ago, Nathan Explosion said: Hence - provide a link to the post so I can see the 'issue' Using localhost only at the moment 25 minutes ago, Nathan Explosion said: Reason I put 'issue' like that is simple: if the video is an attachment then there is no point showing the player. Why? Click the link to find out...Guests cannot view attachments in 4.2.x: You can give guests permission to download files/attachments though which I enabled. it just looks like this when download permission is enabled and you are logged out. Edited December 13, 2017 by Monstris
Nathan Explosion Posted December 13, 2017 Author Posted December 13, 2017 OK - I'll take a closer look tomorrow afternoon. Metor 1
Metor Posted December 13, 2017 Posted December 13, 2017 Thanks I appreciate it. yeah so only the webm links show when you enable it in settings but the video player code is not showing. If I knew how plugins work in this script I would fix it myself but would take ages lol.
Nathan Explosion Posted December 13, 2017 Author Posted December 13, 2017 Just now, Monstris said: Thanks I appreciate it. yeah so only the webm links show when you enable it in settings but the video player code is not showing. If I knew how plugins work in this script I would fix it myself but would take ages lol. No need - once I've taken a closer look then I can fix it. Totally forgot about the 'Download attachments' permission that was available, so I'll just refine things to adhere to that instead of the simple guests check that is being done in this case. Busy all day tomorrow (normal work) so afternoon is the earliest I can take a look. Metor 1
TheSkyLounge.tv Posted December 14, 2017 Posted December 14, 2017 On 12/9/2017 at 1:07 AM, Nathan Explosion said: In theory, yes. But I've just tested it out and it appears that dropbox don't allow remote embedding....I'll test again later, but it looks like a 'no' right now. Update: I've determined how a dropbox url can be modified to allow hotlinking. There's no change needed to plugin to actually support this but below is what you would need to do now to have it work. Further update: I've just spent a couple of minutes putting in a little function to do the manipulation needed, so that will be in the next update I release (v1.0.6) Example url provided by Dropbox when creating a share link is: https://www.dropbox.com/s/aewhi52igjvxp18/video1.mp4?dl=0 Remove ?dl=0 from the url Change www to dl Submit post Without the url manipulation: With the url manipulation: At some point in the future, maybe. I don't own, or plan to own, a license for Downloads so for the moment it's a 'no' Holy moly!
Nathan Explosion Posted December 14, 2017 Author Posted December 14, 2017 16 hours ago, Nathan Explosion said: No need - once I've taken a closer look then I can fix it. Totally forgot about the 'Download attachments' permission that was available, so I'll just refine things to adhere to that instead of the simple guests check that is being done in this case. Busy all day tomorrow (normal work) so afternoon is the earliest I can take a look. OK, having taken a look I'll get an update out over the weekend to sort this element out.
Nathan Explosion Posted December 14, 2017 Author Posted December 14, 2017 11 hours ago, TheSkyLounge.tv said: Holy moly! The most recent release of the plugin has that manipulation all built in, so users won't have to perform it each time - they just drop (excuse the pun) in the Dropbox link and the plugin will take care of it all, with a nice BIG warning about usage....basically, if in doubt then reach out for support.
Recommended Posts