You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#108983 Unable to upload file

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Rollmodl on Tuesday, 07 December 2021 19:41 GMT

Rollmodl
I am trying to upload an mp4 video file in Easy Discuss. I'm getting an "Unable to upload file" message. I'm using Amazon S3 for storage. Please advise.

Ryan
Are you able to upload the file in the JCE File Browser in the JCE Admin?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
Yes. I was able to upload in JCE Admin and Amazon S3. I deleted the file and tried uploading it to the front end again. I'm still getting the message but the file is showing in JCE Admin and Amazon.

Attachments

Ryan
Please send me a login - https://www.joomlacontenteditor.net/contact/site-login

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Ryan
I have fixed this on your site with an install of JCE Pro 2.9.17 beta - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
I uploaded and saw the Amazon link but nothing happens when I insert the video. The window is blank.

Ryan
Please install Amazon S3 Filesystem 2.2.6 - https://www.joomlacontenteditor.net/downloads/plugins/amazon-s3-filesystem

and JCE Pro 2.9.17 Beta 6 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

As Amazon S3 items are uploaded as "Private" by default, you might want to set the deafult ACL option in the Amazon S3 Filesystem parameters to "Public Read", as there is no option to set the ACL level when uploading in the Basic Dialog.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
My ACL was set to Public. I'll try it, thanks.

Attachments

Rollmodl
Sorry, when I insert the video nothing appears.

Ryan
The Media Manager requires the Media Support option to be enabled in Editor Profiles -> Features & Layout, which I have done on your site.

I have also then disabled all media types that it supports (IFrames, Audio, Object, Embed) except for HTML5 Video.

Uploading and inserting a video is now working as expected.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
Hello Ryan. It works, thanks! Is there a way to resize the player and remove the download button in the controls?

Attachments

Ryan
Is there a way to resize the player and remove the download button in the controls?
The media player is provided by the browser, and there isn't currently a cross-browser method for editing or removing individual parts of the player. Chromium based browsers (Chrome, Brave, Edge etc.) can use a controlsList attribute on the video tag to remove features from the player, eg:

<video src="https://www.joomlacontenteditor.net/video.mp4" controlsList="nodownload nofullscreen">
and it is possible to resize the player with css (added to your template stylesheet), eg:

video::-webkit-media-controls-enclosure {
    width: 50% !important;
}
but none of this works in other browser, such as Firefox.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
JW Player would be a good media player under Media Options. Maybe this can be added in the future for HTML videos. Thanks for your help.

Ryan
JW Player would be a good media player under Media Options.


JW Player is not free - https://www.jwplayer.com/pricing

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
Yes, I know. It requires a license. I'm saying it would be great to offer the ability to enter JW license info in Media Options.

Ryan
I have found an alternative media player - https://plyr.io/ - which I am making into a Joomla plugin.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
NIce!

Rollmodl
Any updates on the new player?

Ryan
Try this - https://github.com/widgetfactory/wf-plyr

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
It working great. Just two issues:

1. I removed "Speed" in the setting but it's still available in the player.
2. This one has nothing to do with the player but I'm not able to upload videos. I'm receiving the following message, "The server returned an invalid JSON response."

Ryan
2. This one has nothing to do with the player but I'm not able to upload videos. I'm receiving the following message, "The server returned an invalid JSON response."


Please send me a login - https://www.joomlacontenteditor.net/contact/site-login

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
Sent. By the way, I'm uploading to Amazon. Front end registered profiles are getting a HTTP 500 error.

Ryan
I'm assuming this is occurung when uploading video?

If so, my previous answer still applies. You need to enable Media Support in Editor Profiles -> Features & Layout for the Registered profile.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
[quotePost id="109670"]I'm assuming this is occurung when uploading video?

If so, my previous answer still applies. You need to enable Media Support in Editor Profiles -> Features & Layout for the Registered profile.
[/quotePost]

I checked and tried using a Super User and Registered account in my test forum but nothing.

https://thatvideomag.com/news-community/test-flight

Ryan
I checked and tried using a Super User and Registered account in my test forum but nothing.


This is working for me with the account you sent the login for. What size is the video you are attempting to upload? Can you upload smaller videos, eg: < 3mb?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
I'm trying to upload a video of 139MB (1 minute). I cleared my cache and I'm still getting the same error using an admin and demo account. See the attached images.



Attachments

Ryan
I'm trying to upload a video of 139MB (1 minute).


Can you upload a smaller video? I uploaded a video of 3.8MB and one of 30MB without error. Wondering if the error you are seeing is caused by a timeout.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
I upload a 41MB video and it worked. What do you suggest for larger files?

Ryan
I have just received the error when attempting to upload a 160MB file, but it seems to be server related, and does not provide any useful details.

I would suggest using FTP or an S3 client for very large files. It might be quicker and unlikely to produce and error.

I will do some local testing and see if I can reproduce it.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
The files are uploaded to Amazon S3 so I don't understand.

Ryan
[quotePost id="109687"]The files are uploaded to Amazon S3 so I don't understand.[/quotePost]

The file is uploaded to the server first, then moved to Amazon S3.

I also get an error trying to upload a large file using the JCE File Browser in the Joomla Admin, and when uploading using the Joomla Media Manager in the Joomla Admin.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rollmodl
It's a server issue from my end. Thanks.