Posts posted by Nathan Explosion
-
-
-
Edited by Nathan Explosion
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'
-
-
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.
-
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.
-
Edited by Nathan Explosion
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 by Nathan Explosion
Updated with steps to support Dropbox hosted files10 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 by Nathan Explosion
2 hours ago, Donald Meek said:ooking up i got a dice
well i got ONE die going cant get more than one yet not sure the syntax perhaps for the dice
1-12,1-12,1-12
seems i only get one die
but ok
As already noted....that is a bug that will be fixed in the next version, which is now my next target for release.
-
-
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.
-
-
-
-
-
Edited by Nathan Explosion
2 minutes ago, liquidfractal said:HI Nathan,
I've been getting some entries in my error logs that seem to have something to do with the HTML5 player. For example, trying to view a JPG image in my gallery posted a long time ago didn't work and threw this error, which IPS say is "probably caused by" the HTML5 player plugin:
TypeError: Argument 1 passed to DOMNode::removeChild() must be an instance of DOMNode, null given (0) #0 /home/XXX/public_html/init.php(448) : eval()'d code(39): DOMNode->removeChild(NULL) #1 /home/XXX/public_html/init.php(448) : eval()'d code(13): IPS\hook955->neavplayerparseDOM('') #2 /home/XXX/public_html/system/Content/Content.php(291): IPS\Content\hook956->content() #3 /home/XXX/public_html/applications/gallery/modules/front/gallery/view.php(240): IPS\_Content->truncated() #4 /home/XXX/public_html/system/Dispatcher/Controller.php(96): IPS\gallery\modules\front\gallery\_view->manage() #5 /home/XXX/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #6 /home/XXX/public_html/applications/gallery/modules/front/gallery/view.php(61): IPS\Content\_Controller->execute() #7 /home/XXX/public_html/system/Dispatcher/Dispatcher.php(146): IPS\gallery\modules\front\gallery\_view->execute() #8 /home/XXX/public_html/index.php(12): IPS\_Dispatcher->run() #9 {main}
You're running the beta of v1.1 of the plugin, so thanks for posting this. For the sake of avoiding confusion, please report issues with the beta to me via PM.
All others - this issue won't come up with the current released version.
-
-
Edited by Nathan Explosion
4 minutes ago, pequeno said:Thank you for your support.
One questión. In vídeos that works fine, is it posible to put a image from the video? Because vídeo apppears with white screen.
That is all down to the file itself, and the browser - the default behaviour of the html5 video tag (the plugin simply does that....adds the video tag around the file's link) is to perform a preload of the content it is to play...if the file contains the information, then an image (ie the very first frame of the video) will be displayed. If it doesn't, then white screen. Again, not an issue with the plugin itself.
-
-
-
14 minutes ago, pequeno said:
It will be applied to the videos that are already uploaded?
Yup - the plugin modifies the display of the links/attachments, as opposed to modifying them prior to submission, so it's backwards-compatible to items uploaded prior to the plugin installation. If you aren't seeing the player for an attachment, make sure the attachment's file extension is added to the plugin's video settings.
-
-
Edited by Nathan Explosion
26 minutes ago, Qubabos said:I dont need any refund, maybe we can sort this out in a later time
I noticed that internal images that are to big to fit the post in topic view have links to bigger, original size. After hide only links those images disappear from post with http 404 and "FileStorage" string in source post. And this happen for logged users, guests still see hidden message. Try yourself in this scenario. Hide only links, attach some big dimensions images to post and reload topic view.
I can't reproduce - hence why I requested what I did. If you wish to investigate at a later point, send me the requested details so I can take a closer look.
Update: may have reproduced what I think you are explaining. I'll fix what I've spotted and release an update in a couple of days....likely to include that other item you asked for via PM too.
-
-
(NE) HTML5 Audio/Video Player
in Marketplace
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.